Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Pylons Sphinx themes for documentation styling.

Project Description

Pylons Sphinx Themes

This repository is a Python package that contains Sphinx themes for Pylons
related projects. This project is based on
[Pylons Sphinx Theme](
(singular), but uses a package implementation instead of git submodules and
manual steps.

To use a theme in your Sphinx documentation, follow this guide.

Edit your project's ````
1. Add ``pylons-sphinx-themes`` to your project's requirements in its
````. Here's an example from Pyramid.

docs_extras = [
'Sphinx >= 1.2.3',
'pylons-sphinx-themes >= 0.3',

Edit your Sphinx documentation's ````
1. Near the top, add the following.

import pylons_sphinx_themes

2. Activate the theme.

html_theme = 'pyramid'
html_theme_path = pylons_sphinx_themes.get_html_themes_path()

3. If you were previously using the git submodule method to use the Pylons
theme, then comment or delete the block of code under the following

# Add and use Pylons theme
if 'sphinx-build' in ' '.join(sys.argv): # protect against dumb importers

4. (Optional) Set a canonical root URL.

html_theme_options = dict(

The URL points to the root of the documentation, and requires a trailing

The following themes exist.

- **pylons** - the generic Pylons Project documentation theme
- **pyramid** - the specific Pyramid documentation theme
- **pylonsfw** - the specific Pylons Framework documentation theme

Release History

History Node


History Node


History Node


History Node


History Node


History Node


History Node


This version
History Node


History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(135.0 kB) Copy SHA256 Hash SHA256
Source None Apr 16, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers