Skip to content

Commit

Permalink
MNT: Fix versioned docs
Browse files Browse the repository at this point in the history
Need to turn on the version selector in the docs.
  • Loading branch information
dopplershift committed Mar 28, 2018
1 parent 2897d4c commit 0a80ab9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ def setup(app):
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {'canonical_url': 'https://unidata.github.io/siphon/latest/'}
if 'sphinx_rtd_theme' in vars() and sphinx_rtd_theme.__version__ == '0.2.5b1.post1':
html_theme_options['versions'] = {'latest': '../latest', 'dev': '../dev'}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
Expand Down

0 comments on commit 0a80ab9

Please sign in to comment.