Skip to content

Commit

Permalink
Use sphinx_westernx_theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeboers committed Jun 9, 2015
1 parent 08dcc80 commit 4363199
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,14 @@

# -- Options for HTML output ---------------------------------------------------

local_theme_path = os.path.abspath('../../docs/_themes/westernx')
if os.path.exists(local_theme_path):
sys.path.append(local_theme_path)
html_theme_path = [local_theme_path]
try:
import sphinx_westernx_theme
html_theme_path = sphinx_westernx_theme.get_html_path()
html_theme = 'westernx'
html_theme_options = {
'index_logo': None,
}
else:
except ImportError:
html_theme = 'default'

# The name for this set of Sphinx documents. If None, it defaults to
Expand Down

0 comments on commit 4363199

Please sign in to comment.