Skip to content

Commit

Permalink
Add generating API for transactron. (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
lekcyjna123 authored Oct 7, 2023
1 parent a1556d5 commit 15c1e02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# API

```{eval-rst}
.. include:: modules.rst
```
.. include:: modules-coreblocks.rst
.. include:: modules-transactron.rst
```
3 changes: 2 additions & 1 deletion scripts/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 15c1e02

Please sign in to comment.