Commit 51126eb
authored
Add
* DOC: Add html-noplot recipe to doc/Makefile
And we also tweak `make view` so that the built documentation opens regardless of whether it was built with make html or make html-noplot
* FIX: Pin sphinx-gallery
in MNE-BIDS doc/conf.py we have:
```
sphinx_gallery_conf["within_subsection_order"] = "mne_bids.utils._example_sorter"
```
But AFAICT this functionality wasn't workign prior to sphinx-gallery/sphinx-gallery#1391 , which was included in the release of sphinx-agallery v0.19 (released Feb 12 2025).
https://sphinx-gallery.github.io/stable/changes.html#v0-19-0
Given that v0.19 was released less than 1 year ago, I think it is reasonable to assume that devs/contributors might have a sphinx-gallery version < 0.19 installed locally, in which case building the mne-bids docuemntation will fail, but the reason/solution won't be explicit.
So I think that it is best to be explicit about the minimum required sphinx-gallery version we require to be able to successfully build our docs.html-noplot recipe to doc/Makefile (#1468)1 parent 9c550e1 commit 51126eb
2 files changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
26 | 37 | | |
27 | 38 | | |
28 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments