File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 115
115
# Version match must match the 'version' key in version_swticher.json
116
116
pattern = re .compile (r'^[0-9]+\.[0-9]+' )
117
117
version_match = pattern .search (version )
118
- if version_match :
119
- version_match = version_match .group () + ".x"
120
- elif 'dev' in version :
121
- version_match = "dev"
122
- else :
118
+ if 'dev' in version :
123
119
version_match = version
120
+ elif version_match :
121
+ version_match = version_match .group () + ".x"
124
122
125
123
# Material theme options (see theme.conf for more information)
126
124
html_theme_options = {
129
127
# pydata theme version switcher config
130
128
'navbar_end' : ['version-switcher' , 'navbar-icon-links' ],
131
129
'switcher' : {
132
- 'json_url' : 'https://jni.github.io/skan /dev/_static/version_switcher.json' ,
130
+ 'json_url' : 'https://skeleton-analysis.org /dev/_static/version_switcher.json' ,
133
131
'version_match' : version_match ,
134
132
},
135
133
# Set you GA account ID to enable tracking
You can’t perform that action at this time.
0 commit comments