diff options
| author | J08nY | 2019-12-21 16:41:20 +0100 |
|---|---|---|
| committer | J08nY | 2019-12-21 16:41:20 +0100 |
| commit | 5044b150a38c4701de816dbe62f16532ce6d5d66 (patch) | |
| tree | e1f0ff72c58677921f0691af5611b88d700d498f /docs/Makefile | |
| parent | f55dcac64125508d0454d17fe54ab87bb7816930 (diff) | |
| download | pyecsca-5044b150a38c4701de816dbe62f16532ce6d5d66.tar.gz pyecsca-5044b150a38c4701de816dbe62f16532ce6d5d66.tar.zst pyecsca-5044b150a38c4701de816dbe62f16532ce6d5d66.zip | |
Update Sphinx config, add codegen to it.
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 |
