Skip to content

Commit e8a0086

Browse files
authored
Fix sphinx-apidoc command in Read the Docs build (#32)
Install Sphinx first and use python -m sphinx.ext.apidoc instead of sphinx-apidoc command which is not available in PATH during build commands.
1 parent da44b07 commit e8a0086

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.readthedocs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ build:
55
tools:
66
python: "3.10"
77
commands:
8+
- python -m pip install sphinx
89
- rm -f docs/multibase.rst docs/modules.rst
9-
- sphinx-apidoc -o docs/ multibase
10+
- python -m sphinx.ext.apidoc -o docs/ multibase
1011

1112
sphinx:
1213
configuration: docs/conf.py

0 commit comments

Comments
 (0)