Added new HTML theme `haiku`, inspired by the Haiku OS user guide.

This commit is contained in:
Georg Brandl
2010-01-07 14:16:53 +01:00
parent c3782af6d0
commit 368ecbb0fd
12 changed files with 459 additions and 2 deletions

View File

@@ -69,6 +69,10 @@ Builtin themes
| | |
| *traditional* | *nature* |
+--------------------+--------------------+
| |haiku| | |
| | |
| *haiku* | |
+--------------------+--------------------+
.. |default| image:: themes/default.png
.. |sphinxdoc| image:: themes/sphinxdoc.png
@@ -76,6 +80,7 @@ Builtin themes
.. |agogo| image:: themes/agogo.png
.. |traditional| image:: themes/traditional.png
.. |nature| image:: themes/nature.png
.. |haiku| image:: themes/haiku.png
Sphinx comes with a selection of themes to choose from.
@@ -161,6 +166,17 @@ These themes are:
* **nature** -- A greenish theme. There are currently no options beyond
*nosidebar*.
* **haiku** -- A theme without sidebar inspired by the `Haiku OS user guide
<http://www.haiku-os.org/docs/userguide/en/contents.html>`_. The following
options are supported:
- **full_logo** (true or false, default false): If this is true, the header
will only show the :confval:`html_logo`. Use this for large logos. If this
is false, the logo (if present) will be shown floating right, and the
documentation title will be put in the header.
- **textcolor**, **headingcolor**, **linkcolor**, **visitedlinkcolor**,
**hoverlinkcolor** (CSS colors): Colors for various body elements.
* **traditional** -- A theme resembling the old Python documentation. There are
currently no options beyond *nosidebar*.