The Wayback Machine - https://web.archive.org/web/20200603143119/https://github.com/readthedocs/sphinx_rtd_theme
Skip to content
Sphinx theme for readthedocs.org
CSS HTML JavaScript Python
Branch: master
Clone or download

Latest commit

Latest commit 48a9c21 May 22, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create CODE_OF_CONDUCT.md (#562) Feb 2, 2018
.tx Update transifex usage May 6, 2020
bin Add a bit more error logging to preinstall check Jul 26, 2019
docs Address issue with dl.simple definition lists May 7, 2020
sphinx_rtd_theme Bump to next release, 0.5.0rc2 or greater May 6, 2020
src fix list style on nested lists May 20, 2020
tests Adds testing and hopefully a final fix for the empty toctree issue Mar 6, 2017
.gitattributes Fix line endings (#709) Dec 18, 2018
.gitignore Remove Modernizr, keep html5shiv (Webpack edition) Oct 25, 2019
.readthedocs.yml Replace with requirements file, RTD doesn't handle these patterns well. Jul 25, 2019
.travis.yml Drop travis docs project, we're already building them 27 times May 5, 2020
Apache-License-2.0.txt Bundle Roboto Slab as a real web font (not just ttf) (#642) May 24, 2018
LICENSE Replace the name 'Dave Snider' with RTD (#572) Mar 19, 2018
MANIFEST.in Merge branch 'master' into master Mar 7, 2019
OFL-License.txt Change Lato font to webfont (version 2.015) (#639) May 24, 2018
README.rst Docs: Fix use of code console Oct 23, 2019
babel.cfg Updated Babel configurations Apr 17, 2018
package-lock.json Release 0.5.0rc1 May 6, 2020
package.json Bump to next release, 0.5.0rc2 or greater May 6, 2020
setup.cfg Bump to next release, 0.5.0rc2 or greater May 6, 2020
setup.py Bump to next release, 0.5.0rc2 or greater May 6, 2020
tox.ini Just drop Sphinx 1.5, the translator exception is not due to this theme May 5, 2020
webpack.common.js
webpack.dev.js Make webpack dev server config to be more useful May 2, 2020
webpack.prod.js Run webpack js through Prettier JS formatter Jul 26, 2019

README.rst

Read the Docs Sphinx Theme

Pypi Version Build Status License Documentation Status

This Sphinx theme was designed to provide a great reader experience for documentation users on both desktop and mobile devices. This theme is used primarily on Read the Docs but can work with any Sphinx project. You can find a working demo of the theme in the theme documentation

Installation

This theme is distributed on PyPI and can be installed with pip:

$ pip install sphinx-rtd-theme

To use the theme in your Sphinx project, you will need to add the following to your conf.py file:

import sphinx_rtd_theme

extensions = [
    ...
    "sphinx_rtd_theme",
]

html_theme = "sphinx_rtd_theme"

For more information read the full documentation on installing the theme

Configuration

This theme is highly customizable on both the page level and on a global level. To see all the possible configuration options, read the documentation on configuring the theme.

Contributing

If you would like to help modify or translate the theme, you'll find more information on contributing in our contributing guide.

You can’t perform that action at this time.