Skip to main content

Addon for Plone

Project description

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

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, …)

Changes log

2.0 (2013-02-07)

  • eggified using sphinxjp.themecore

1.1 (unreleased)

  • Adding graphics to the admonition markups [glenfant]

  • Working around a Sphinx + Pygments bug (?) when Pygments is stuck higlighting a code. [glenfant]

  • Warn IE6 users they’d better use anything else that’s available today (a third millenium browser) [glenfant]

  • More sexy styling [glenfant]

  • https links are considered externals too [glenfant]

1.0 (unreleased)

  • Initial release, supports Sphinx 0.6.5 and up. [glenfant]

Project details


Release history Release notifications | RSS feed

This version

2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx.plonetheme-2.0.zip (96.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page