Skip to content

Commit 48f973f

Browse files
authored
Merge pull request #1022 from xylar/fix-sphinx-multiversion
More fixes to sphinx multiversion
2 parents 04abf48 + 48ddd5e commit 48f973f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# MPAS-Analysis
2-
[![Build Status](https://dev.azure.com/MPAS-Dev/MPAS-Analysis%20testing/_apis/build/status/MPAS-Dev.MPAS-Analysis?branchName=develop)](https://dev.azure.com/MPAS-Dev/MPAS-Analysis%20testing/_build/latest?definitionId=2&branchName=develop)
32

43
Analysis for simulations produced with Model for Prediction Across Scales
54
(MPAS) components and the Energy Exascale Earth System Model (E3SM), which
@@ -28,7 +27,7 @@ used those components.
2827

2928
## Documentation
3029

31-
[https://mpas-dev.github.io/MPAS-Analysis/latest/](https://mpas-dev.github.io/MPAS-Analysis/latest/)
30+
[https://mpas-dev.github.io/MPAS-Analysis/develop/](https://mpas-dev.github.io/MPAS-Analysis/develop/)
3231

3332
## Installation for users
3433

@@ -290,7 +289,7 @@ to be generated and is set up properly.
290289

291290
## Generating Documentation
292291

293-
Create a development environment as described above in "Installation for
292+
Create a development environment as described above in "Installation for
294293
developers". Then run:
295294
To generate the `sphinx` documentation, run:
296295
```

docs/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,12 @@
219219

220220
github_doc_root = 'https://github.com/rtfd/recommonmark/tree/master/doc/'
221221

222+
html_sidebars = {
223+
"**": [
224+
"versions.html",
225+
],
226+
}
227+
222228
# -- Options sphinx-multiversion -------------------------------------------
223229
# Include tags like "tags/1.0.0" -- 1.7.2 doesn't build
224230
smv_tag_whitelist = r'^(?!1.7.2)\d+\.\d+.\d+$'

0 commit comments

Comments
 (0)