File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 6767version_label = 'the latest development code'
6868
6969# List of versions to populate version picker dropdown menu
70- version_list = ["latest " , "release-clm5.0" ]
70+ version_list = ["master " , "release-clm5.0" ]
7171
7272# version_label is not a standard sphinx variable, so we need some custom rst to allow
7373# pages to use it. We need a separate replacement for the bolded version because it
@@ -197,4 +197,5 @@ def setup(app):
197197
198198html_context ["versions" ] = []
199199for this_version in version_list :
200- html_context ["versions" ].append ([this_version , f"../../../versions/{ this_version } /html" ])
200+ # Note: with 4 pardir operators, link in version selector will be broken locally but work on the Web 🤷
201+ html_context ["versions" ].append ([this_version , f"../../../../versions/{ this_version } /html" ])
You can’t perform that action at this time.
0 commit comments