Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A sphinx extension for designing beautiful, screen-size responsive web components.

License

NotificationsYou must be signed in to change notification settings

executablebooks/sphinx-design

Github-CICoverage StatusPyPI

A sphinx extension for designing beautiful, view size responsive web components.

Created with inspiration fromBootstrap (v5),Material Design andMaterial-UI design frameworks.

Usage

Simply pip installsphinx-design and add the extension to yourconf.py:

extensions= ["sphinx_design"]

Supported browsers

  • Chrome >= 60
  • Firefox >= 60
  • Firefox ESR
  • iOS >= 12
  • Safari >= 12
  • Explorer >= 12

(Mirrors:https://github.com/twbs/bootstrap/blob/v5.0.2/.browserslistrc)

Theme support

View the documentation in multiple themes:

Comparison to sphinx-panels

This package is an iteration onsphinx-panels and intends to replace it.SeeMigrating from sphinx-panels for more information.

Development

It is recommended to usetox to run the tests and document builds.Runtox -va to see all the available tox environments.

To run linting, formatting and SASS compilation, usepre-commit.pre-commit run --all css will run the SASS compiler, for which you will neednode andnpm installed,or you can directly runnpm run css.

TODO

  • note design goal; to be flexible, but limit the amount of directive nesting required.This factors in to
    • card header/footer syntax? (don't really want to have to use separate directives for these, hence^^^/+++ syntax)
    • auto-wrapgrid-item andtab-item, if not already insidegrid ortab-set?

grids items cannot contain headers; is this in anyway possible with docutils structure?

naming of directives/roles: standard prefix?

why are cards setup with "word-wrap: break-word;"?

handle latex

Use autoprefixer when compiling SASS (seehttps://getbootstrap.com/docs/5.0/getting-started/browsers-devices/#supported-browsers)

horizontal card (grid row inside card, picture on left)

subtitle for card (seehttps://material.io/components/cards#anatomy)

About

A sphinx extension for designing beautiful, screen-size responsive web components.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors20


[8]ページ先頭

©2009-2025 Movatter.jp