Skip to content

Commit 191e075

Browse files
authored
Try using pre-build magic
Removed redundant build steps for HTML documentation.
1 parent 5f68cbf commit 191e075

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ build:
1414
- git fetch --unshallow || true
1515
- git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' || true
1616
- git fetch --all --tags || true
17-
build:
18-
html:
19-
- cd doc && make html
20-
- mkdir -p $READTHEDOCS_OUTPUT/html/
21-
- cp -r doc/build/html/* $READTHEDOCS_OUTPUT/html/
17+
pre_build:
18+
# ensure that all builds have necessary jupyterlite files
19+
- cd doc && make html
2220

2321
# Build documentation in the "docs/" directory with Sphinx
2422
sphinx:

0 commit comments

Comments
 (0)