Skip to content

Commit 63803c5

Browse files
committed
Fix Read the Docs build: use build.jobs instead of build.commands
Using build.commands completely overrides the build process, preventing Sphinx from generating HTML output. Switch to build.jobs.pre_build to extend the build process while keeping the default Sphinx build.
1 parent 0ebc818 commit 63803c5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.readthedocs.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ build:
44
os: ubuntu-24.04
55
tools:
66
python: "3.10"
7-
commands:
8-
- rm -f docs/multibase.rst docs/modules.rst
9-
- python -m sphinx.ext.apidoc -o docs/ multibase
7+
jobs:
8+
pre_build:
9+
- rm -f docs/multibase.rst docs/modules.rst
10+
- python -m sphinx.ext.apidoc -o docs/ multibase
1011

1112
sphinx:
1213
configuration: docs/conf.py

0 commit comments

Comments
 (0)