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