Skip to content

Commit 69aa823

Browse files
committed
o notebook has metadata that hardcodes the kernel name - use nbstripout
1 parent e31cd3c commit 69aa823

2 files changed

Lines changed: 83 additions & 5890 deletions

File tree

docs/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ def __getattr__(cls, name):
7171
# jupyter_execute_notebooks = "off"
7272
# nb_execution_mode = "off"
7373

74+
# Disable notebook execution on Read the Docs to avoid missing kernel errors
75+
on_rtd = os.environ.get("READTHEDOCS") == "True"
76+
if on_rtd:
77+
jupyter_execute_notebooks = "off"
78+
nb_execution_mode = "off"
79+
nbsphinx_execute = "never"
7480

7581
extlinks = {
7682
"issue": ("https://github.com/uxarray/uxarray/issues/%s", "GH"),

0 commit comments

Comments
 (0)