Skip to content

Commit 3a4b3f0

Browse files
committed
Fix active version match string
1 parent dcb0e07 commit 3a4b3f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
'navbar_end': ['navbar-icon-links', 'theme-switcher'],
228228
'switcher': {
229229
'json_url': 'https://unidata.github.io/MetPy/pst-versions.json',
230-
'version_match': 'dev' if 'dev' in version else version,
230+
'version_match': 'dev' if 'dev' in version else f'v{version}',
231231
},
232232
}
233233

0 commit comments

Comments
 (0)