Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

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

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.

Files for sphinx.plonetheme, version 2.0
Filename, size File type Python version Upload date Hashes
Filename, size sphinx.plonetheme-2.0.zip (96.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page