mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
refs #1346. Add new default theme.
- Rename 'default' theme to 'classic'. - rename `themes/default` to `themes/classic` - add new `themes/default` theme that derives from 'classic' theme for compatibility. - setup.py depends to 'alabaster' and 'rtd' theme. - theming.py import and run `alabaster.get_path()` to append path for alabaster theme. - theming.py also import and run `sphinx_rtd_theme.get_html_theme_path()` to append path. - sphinx-quickstart will generate `html_theme = 'alabaster'`. - If user use 'default', sphinx emit notice (WARNING) suggestion to use 'alabaster' or use 'classic'. - add documentation for new alabaster and readthedoc theme and link to original pages: - https://pypi.python.org/pypi/alabaster - https://pypi.python.org/pypi/sphinx_rtd_theme
This commit is contained in:
BIN
doc/themes/alabaster.png
vendored
Normal file
BIN
doc/themes/alabaster.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
Reference in New Issue
Block a user