Skip to content

Commit

Permalink
Update version switcher
Browse files Browse the repository at this point in the history
Update the version switcher to capture the proper tags
  • Loading branch information
mgrover1 authored Jan 4, 2024
1 parent 234cc92 commit ba7df6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@
html_theme_options = {
'navbar_start': ['navbar-logo', 'version-switcher'],
'switcher': {
'json_url': 'https://raw.githubusercontent.com/mgrover1/cmweather/add-version-switcher/docs/source/_static/pst-versions.json',
'version_match': 'dev' if 'dev' in version else f'v{version}',
'json_url': 'https://cmweather.readthedocs.io/en/latest/_static/pst-versions.json',
'version_match': 'dev' if 'dev' in version else 'stable',
},
}

Expand Down

0 comments on commit ba7df6b

Please sign in to comment.