Skip to content

python-sidebar/python_rtd_theme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork of the official readthedocs/sphinx_rtd_theme repo.

work in progress...

Original repo

About this Fork

Goal is to...

  • create a pip installable theme that users can download locally

Steps to use once complete:

  • Checkout the official Python docs
  • Edit cpython/Doc/config.py Sphinx Configuration file to reference this new python_rtd_theme
  • Then build the official Python Docs locally, get a website with a true TOC ("Table of Contents") sidebar.

Related Repos

Product

Official Docs with TOC Sidebar:





Original readme below this line





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 edit your conf.py file's html_theme setting:

html_theme = "sphinx_rtd_theme"

See also:

Supported browsers
Officially supported and tested browser/operating system combinations
Supported dependencies
Supported versions of Python, Sphinx, and other dependencies.
Example documentation
A full example of this theme output, with localized strings enabled.

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.

About

Fork of the "Sphinx theme for readthedocs.org".

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Sass 46.5%
  • HTML 20.9%
  • JavaScript 15.6%
  • Python 13.2%
  • Dockerfile 2.3%
  • Shell 0.9%
  • Makefile 0.6%