Andy Mikhailenko  committed deef172

Update docs to play nice with ReadTheDocs theme

  • Participants
  • Parent commits 77adb61

Comments (0)

Files changed (1)

File docs/

 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-html_theme = 'nature'
+# see
+on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
+if on_rtd:
+    html_theme = 'default'
+    html_theme = 'nature'
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the