sphinx.themes.plone is a collection of Sphinx <http://sphinx-doc.org/>
themes for the Plone <http://plone.org>
documentation project.
The different themes are used on docs.plone.org <https://docs.plone.org/>
_, but are not limited for this purpose.
It might be used for all Plone Package Documentations, or even private use case but than without the Plone Logo and Footer (respect the License).
sphinxtheme.plone comes with own themes for
Install sphinxtheme.plone with buildout::
[buildout]
parts=
sphinx
[sphinx]
recipe=zc.recipe.egg
eggs=
Sphinx
sphinxtheme.plone
Install sphinxtheme.plone with pip:
pip install Sphinx sphinxtheme.plone
or add it to a requirements.txt and run
pip install -r requirements.txt
.. CAUTION::
*You should never use a checkout of the theme package for applying a theme to your documentations.*
Never touch this package to adjust configuration or customize parts, there is no need for that.
Read the documentation please: http://docs.plone.org/...
Edit the "conf.py" configuration file to point to the plone themes::
# At the top.
import sphinxtheme.plone
# ...
# Activate the theme path:
html_theme_path = sphinxtheme.plone.get_html_theme_path()
# Activate the theme like this:
html_theme = 'plone_org_4'
Additional switches for the theme, see detailed documentation. For the current docs.plone.org, always set the following (this should be done in the conf.py of the related papyrus branch):
always_show_version_switcher = True always_show_language_switcher = True selected_version = the version of the docs that should come preselected in the dropdown, so 5, 4 or 3
.. _licence:
®
logo are registered trademarks of the Plone Foundation, registered in the United States and other countries.