diff options
author | shimizukawa <shimizukawa@gmail.com> | 2015-02-23 22:51:30 +0900 |
---|---|---|
committer | shimizukawa <shimizukawa@gmail.com> | 2015-02-24 01:01:54 +0900 |
commit | 68021b0bd3174a488b965e7425a39a1add806a75 (patch) | |
tree | be2e537172f0e0082ca4e4fcfd3ef1e7003ff6f8 /sphinx/quickstart.py | |
parent | b0d40ea22cf2a88e8418dd2c20e7b4f0b3ed6f8b (diff) | |
download | sphinx-git-68021b0bd3174a488b965e7425a39a1add806a75.tar.gz |
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
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r-- | sphinx/quickstart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index 0155ec1cc..88b128d40 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -177,7 +177,7 @@ todo_include_todos = %(ext_todo)s # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'alabaster' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the |