sphinx.plonetheme

Addon for Plone


Keywords
sphinx, theme
License
GPL-2.0+
Install
pip install sphinx.plonetheme==2.0

Documentation

sphinx.plonetheme

About

This is a theme for Sphinx that provides a nice plone.org like HTML output.

Installation

Make environment with easy_install:

$ easy_install sphinxjp.themes.impressjs

Or using buildout:

[buildout]
parts=
    sphinx

[sphinx]
recipe=zc.recipe.egg
eggs=
    Sphinx
    sphinx.plonetheme

setup conf.py with:

extensions = ['sphinxjp.themecore']
html_theme = 'plonetheme'
# Opensearch support with Plone icon
html_use_opensearch = 'http://my.site.tld/mydoc'
...
# Have a disqus setting for this site to have visitors feedback?
# (register at http://disqus.com/)
html_theme_options = {
   'disqus_name': 'the_disqus_site_shortname'
}

and run:

$ make html

Requirement

Libraries:

  • Python 2.6 or later (not support 3.x)
  • Sphinx 1.0.x or later.

Tested with...

  • Firefox 3
  • Safari 4
  • Chrome 5
  • Opera 10

Contributing

Fork or being part of the plone collective organization:

https://github.com/collective/sphinx.plonetheme

The demo/ folder is the Sphinx I use to test this theme. You may add more Sphinx constructs to test the Plone Sphinx theme here.

More doc about Sphinx theming can be found from here.

Credits

Copyright and license

Hem, I'm not a lawyer, so all I have to say is that everyone is granted to use the files here in any Sphinx documentation. These files come with no support or any guaranty.

This theme includes the Plone logo that is a registered trademark of the Plone foundation. See http://plone.org/foundation/logo/the-plone-logo/

This theme includes free graphics from http://www.psdgraphics.com/

As a consequence of the copyright of the included media, you cannot use this Sphinx theme for a commercial documentation.

Todo

  • Merge all in one CSS file such we don't depend on 'default.css' any more.
  • Testing and styling HTML generated by standard extensions (Code API, doctests, ...)