diff options
Diffstat (limited to 'docs/Makefile')
| -rw-r--r-- | docs/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile index 704c458..c12361e 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -13,8 +13,12 @@ help: @echo " apidoc to build api docs" apidoc: - mkdir -p api/ - sphinx-apidoc ../pyecsca/ -f -e -o api/ + mkdir -p api/codegen/ + sphinx-apidoc ../pyecsca/ --ext-autodoc -f -e -o api/ + sed -i "s/automodule:: /automodule:: pyecsca./g" api/*.rst + sphinx-apidoc ../../pyecsca-codegen/pyecsca/ --ext-autodoc -f -e -o api/codegen/ + sed -i "s/automodule:: /automodule:: pyecsca./g" api/codegen/*.rst + echo " codegen/codegen" >> api/modules.rst .PHONY: help apidoc Makefile |
