Update .gitea/workflows/action.yaml
This commit is contained in:
@@ -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