diff options
| author | Georg Brandl <georg@python.org> | 2013-09-17 07:51:30 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2013-09-17 07:51:30 +0200 |
| commit | 006ae219d096a51fec27183a169d490ebf284dc4 (patch) | |
| tree | c01aeccffee7aae40fc2f24ed3341a2f9fa038cb /doc/theming.rst | |
| parent | 22caa022fa5d7c66bf1dfcf7ce93245226af08c8 (diff) | |
| download | sphinx-006ae219d096a51fec27183a169d490ebf284dc4.tar.gz | |
Small doc fixes for setuptools change.
Diffstat (limited to 'doc/theming.rst')
| -rw-r--r-- | doc/theming.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/theming.rst b/doc/theming.rst index 771dfb96..73ec9f27 100644 --- a/doc/theming.rst +++ b/doc/theming.rst @@ -46,9 +46,10 @@ file :file:`blue.zip`, you can put it right in the directory containing html_theme = "blue" html_theme_path = ["."] -The third form provides your theme path dynamically to Sphinx if ``setuptools`` -installed. You can provide ``sphinx_themes`` entry_points section in your setup.py -and write get_path function in this case that return path of themes:: +The third form provides your theme path dynamically to Sphinx if the +``setuptools`` package is installed. You can provide an entry point section +called ``sphinx_themes`` in your setup.py file and write a ``get_path`` function +that has to return the directory with themes in it:: // in your 'setup.py' @@ -74,6 +75,7 @@ and write get_path function in this case that return path of themes:: .. versionadded:: 1.2 'sphinx_themes' entry_points feature. + .. _builtin-themes: Builtin themes |
