From e77898a98bdce39183eb0e44594d8a37945504d4 Mon Sep 17 00:00:00 2001 From: Lekcyjna <309016@uwr.edu.pl> Date: Fri, 6 Oct 2023 18:03:23 +0200 Subject: [PATCH] Add generating API for transactron. --- docs/api.md | 5 +++-- scripts/build_docs.sh | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/api.md b/docs/api.md index ab2def980..5daa246b7 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1,5 +1,6 @@ # API ```{eval-rst} -.. include:: modules.rst -``` \ No newline at end of file +.. include:: modules-coreblocks.rst +.. include:: modules-transactron.rst +``` diff --git a/scripts/build_docs.sh b/scripts/build_docs.sh index 74cd6d1f0..6f58a5a6b 100755 --- a/scripts/build_docs.sh +++ b/scripts/build_docs.sh @@ -59,5 +59,6 @@ fi $ROOT_PATH/scripts/core_graph.py -p -f mermaid $DOCS_DIR/auto_graph.rst sed -i -e '1i\.. mermaid::\n' -e 's/^/ /' $DOCS_DIR/auto_graph.rst -sphinx-apidoc -o $DOCS_DIR $ROOT_PATH/coreblocks/ +sphinx-apidoc --tocfile modules-coreblocks -o $DOCS_DIR $ROOT_PATH/coreblocks/ +sphinx-apidoc --tocfile modules-transactron -o $DOCS_DIR $ROOT_PATH/transactron/ sphinx-build -b html -W $DOCS_DIR $BUILD_DIR