diff --git a/.github/actions/build-docs/action.yml b/.github/actions/build-docs/action.yml index ca4822e..8400c21 100644 --- a/.github/actions/build-docs/action.yml +++ b/.github/actions/build-docs/action.yml @@ -33,8 +33,4 @@ runs: shell: bash run: | cd docs - if [ "${{ inputs.treat-warnings-as-errors }}" = "true" ]; then - sphinx-build -b html -W --keep-going source build/html - else - sphinx-build -b html source build/html - fi + make html diff --git a/docs/source/conf.py b/docs/source/conf.py index a687be3..406c718 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -50,7 +50,7 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "**/.ipynb_checkpoints"] # nbsphinx configuration -nbsphinx_execute = "never" # Don't execute notebooks during build +nbsphinx_execute = "always" # Execute notebooks during build # -- Options for HTML output ------------------------------------------------- diff --git a/docs/source/tutorials.rst b/docs/source/tutorials.rst index 4b448a9..fed41de 100644 --- a/docs/source/tutorials.rst +++ b/docs/source/tutorials.rst @@ -5,5 +5,6 @@ Here are a few tutorials to help you get started. .. toctree:: :maxdepth: 1 + :glob: - tutorials/example_tutorial.ipynb + tutorials/*