Skip to content

Commit 3949e18

Browse files
romanlutzCopilot
andauthored
FIX: RTD build - add --html flag so static index.html is generated (#1825)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4fca6cb commit 3949e18

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.readthedocs.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ build:
1818
- python build_scripts/gen_api_md.py
1919
build:
2020
html:
21-
- cd doc && jupyter-book build --all
21+
# --all builds frontmatter exports (PDF, per doc/myst.yml); --html is
22+
# required to produce the static HTML site (_build/html/index.html)
23+
# that RTD serves. Mirrors the Makefile's docs-build-all target.
24+
- cd doc && jupyter-book build --all --html
2225
- mkdir -p $READTHEDOCS_OUTPUT/html
23-
- cp -r doc/_build/site/* $READTHEDOCS_OUTPUT/html/
26+
- cp -r doc/_build/html/* $READTHEDOCS_OUTPUT/html/

0 commit comments

Comments
 (0)