Update .gitea/workflows/action.yaml
This commit is contained in:
1 parent
4f0f261e96
commit
19b4373377
1 file changed
+2
-2
@@ -112,10 +112,10 @@ jobs:
|
||||
|
||||
# prefer the sphinx-apidoc CLI if available; otherwise try module fallback
|
||||
if command -v sphinx-apidoc > /dev/null 2>&1; then
|
||||
sphinx-apidoc -o modules/ ../src --separate --module-first --force --remove-old
|
||||
sphinx-apidoc -o modules/ ../daq/src --separate --module-first --force --remove-old
|
||||
else
|
||||
# module fallback: some Sphinx installs expose the module at sphinx.ext.apidoc
|
||||
python -m sphinx.ext.apidoc -o modules/ ../src --separate --module-first --force --remove-old
|
||||
python -m sphinx.ext.apidoc -o modules/ ../daq/src --separate --module-first --force --remove-old
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user