Commits

Aleš Erjavec committed bcf9fe1

Fixed a KeyError exception when building documentation.

  • Participants
  • Parent commits 934d596

Comments (0)

Files changed (1)

File docs/conf.py

 
 # The theme to use for HTML and HTML Help pages.  Major themes that come with
 # Sphinx are currently 'default' and 'sphinxdoc'.
-if os.environ['SPHINX_HTML_THEME'] == 'orange_web_theme':
+if os.environ.get('SPHINX_HTML_THEME', None) == 'orange_web_theme':
     html_theme = os.environ['SPHINX_HTML_THEME']
 else:
     html_theme = 'orange_theme'