Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ jobs:
run: make -C docs html SPHINXOPTS="-W --keep-going"
- name: Add .nojekyll to the build
run: touch docs/_build/html/.nojekyll
# The deploy below is force_orphan, so it replaces the whole site. Refuse
# to publish a build that did not actually produce one.
- name: Verify the build produced a site
run: |
set -e
test -s docs/_build/html/index.html
test -s docs/_build/html/auto_examples/index.html
echo "$(find docs/_build/html -name '*.html' | wc -l) HTML pages built"
- name: Upload documentation artifact
uses: actions/upload-artifact@v6
with:
Expand Down
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
"../examples/zapline",
"../examples/asr",
"../examples/spectrum_interpolation",
# Trailing wildcard: a new examples/ subdirectory sorts to the end
# instead of failing the whole docs build with a ConfigError.
"*",
]
),
"within_subsection_order": FileNameSortKey,
Expand Down
Loading