Skip to content

Instantly share code, notes, and snippets.

@whophil
Last active April 11, 2016 15:52
Show Gist options
  • Save whophil/0ffc09310cf054af5f54d498279a352d to your computer and use it in GitHub Desktop.
Save whophil/0ffc09310cf054af5f54d498279a352d to your computer and use it in GitHub Desktop.
Configuration for Sphinx readthedocs html theme.
# requires sphinx_rtd_theme to be installed on the build machine
# $ pip install sphinx_rtd_theme
import sphinx_rtd_theme
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment