@@ -205,12 +205,12 @@ html_context['version'] = current_version
205
205
html_context['versions'] = list()
206
206
for version in versions:
207
207
if ((version) == ('main')):
208
- html_context['versions'].append( (version + ' branch (unstable)', '/doc/ ' +version+ '/') )
208
+ html_context['versions'].append( (version + ' branch (unstable)', '/' +version+ '/') )
209
209
else:
210
210
if (version not in release_list):
211
- html_context['versions'].append( (version + ' branch (unreleased)', '/doc/ ' +version+ '/') )
211
+ html_context['versions'].append( (version + ' branch (unreleased)', '/' +version+ '/') )
212
212
else:
213
- html_context['versions'].append( (version, '/doc/ ' +version+ '/') )
213
+ html_context['versions'].append( (version, '/' +version+ '/') )
214
214
215
215
html_sidebars = {
216
216
'**': [
@@ -220,8 +220,8 @@ html_sidebars = {
220
220
221
221
# POPULATE LINKS TO OTHER FORMATS/DOWNLOADS
222
222
html_context['downloads'] = list()
223
- html_context['downloads'].append( ('pdf', '/doc/ ' +download_version+ '/pdf/' +project+ '-' +download_version+ '.pdf') )
224
- html_context['downloads'].append( ('epub', '/doc/ ' +download_version+ '/epub/' +project+ '-' +download_version+ '.epub') )
223
+ html_context['downloads'].append( ('pdf', '/' +download_version+ '/pdf/' +project+ '-' +download_version+ '.pdf') )
224
+ html_context['downloads'].append( ('epub', '/' +download_version+ '/epub/' +project+ '-' +download_version+ '.epub') )
225
225
226
226
# -- Options for PDF output -------------------------------------------------
227
227
0 commit comments