From e9bba3fad94d0e2136ff6f2bb7038067bae79ed7 Mon Sep 17 00:00:00 2001 From: J08nY Date: Wed, 12 May 2021 23:15:41 +0200 Subject: Fix Sphinx build with new Sphinx. --- docs/Makefile | 6 +++--- docs/_modules.rst | 10 ++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 docs/_modules.rst (limited to 'docs') 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 -- cgit v1.3.1