Skip to content

Commit

Permalink
Fix notebook execution
Browse files Browse the repository at this point in the history
  • Loading branch information
teutoburg committed Nov 20, 2024
1 parent 27edd7a commit f83d203
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ build:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
- git clone https://github.com/AstarVienna/irdb.git docs/source/examples/inst_pkgs
- git clone --depth 1 https://github.com/AstarVienna/irdb.git docs/source/examples/inst_pkgs
- find docs/source/examples/inst_pkgs -name \*.ipynb -type f -print -delete
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
Expand Down
4 changes: 4 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@
#
html_theme = "sphinx_book_theme"
nb_execution_mode = "auto"
nb_execution_timeout = 120 # seconds
nb_merge_streams = True
# nb_execution_raise_on_error = True # eventually do this to catch errors
nb_execution_excludepatterns = ["examples/inst_pgks/**/*.ipynb"] # does this even work??

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down

0 comments on commit f83d203

Please sign in to comment.