Skip to content

Commit 00aa8af

Browse files
authored
Fix doc build issues (#605)
1 parent fe01019 commit 00aa8af

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defaults:
88
shell: bash -l {0}
99
jobs:
1010
build_docs:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Install Conda environment with Micromamba

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@
6464
linkcheck_anchors = False
6565
linkcheck_ignore = [] # type: ignore
6666

67-
execution_timeout = -1
68-
jupyter_execute_notebooks = "off"
67+
nb_execution_timeout = -1
68+
nb_execution_mode = "off"
6969
if "EXECUTE_NB" in os.environ:
7070
print("\033[93;1mWill run Jupyter notebooks!\033[0m")
71-
jupyter_execute_notebooks = "force"
71+
nb_execution_mode = "force"
7272

7373
# Settings for myst-parser
7474
myst_enable_extensions = [

docs/contributing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ After a change wait for the build to finish and then refresh your browser and th
5757
If you make a change to the python code then you will need to restart the notebook kernel to have it take effect.
5858

5959

60+
(documentation)=
6061
## Documentation
6162

6263
Our documentation is built with [Sphinx](https://www.sphinx-doc.org) from the notebooks in the `docs` folder. It contains both Markdown files and Jupyter notebooks.

0 commit comments

Comments
 (0)