aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/Makefile6
-rw-r--r--docs/_modules.rst10
2 files changed, 13 insertions, 3 deletions
diff --git a/docs/Makefile b/docs/Makefile
index fc64f11..cdf5beb 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -14,9 +14,9 @@ help:
apidoc:
mkdir -p api/
- sphinx-apidoc ../pyecsca/ --implicit-namespaces --ext-autodoc -M -f -e -o api/
- sphinx-apidoc ../../pyecsca-codegen/pyecsca/ --implicit-namespaces --ext-autodoc -M --no-toc -f -e -o api/
- echo " pyecsca.codegen" >> api/modules.rst
+ sphinx-apidoc ../pyecsca/ --implicit-namespaces --ext-autodoc --no-toc -M -f -e -o api/
+ sphinx-apidoc ../../pyecsca-codegen/pyecsca/ --implicit-namespaces --ext-autodoc --no-toc -M -f -e -o api/
+ cp _modules.rst api/modules.rst
.PHONY: help apidoc Makefile
diff --git a/docs/_modules.rst b/docs/_modules.rst
new file mode 100644
index 0000000..ec37f15
--- /dev/null
+++ b/docs/_modules.rst
@@ -0,0 +1,10 @@
+pyecsca
+=======
+
+.. toctree::
+ :maxdepth: 4
+
+ pyecsca.ec
+ pyecsca.misc
+ pyecsca.sca
+ pyecsca.codegen