Skip to content

Commit

Permalink
Add build docs script
Browse files Browse the repository at this point in the history
  • Loading branch information
pjanevskiTT committed Sep 16, 2024
1 parent 5042999 commit fdca2d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ TODO

## Build docs

In order to build docs `TT_UMD_HOME` needs to be set to root of tt-umd project.
In order to build docs environment variable `TT_UMD_HOME` needs to be set to root of tt-umd project.

After that you can run [`build_docs.sh`](build_docs.sh)
After that you can run [`run_build_docs.sh`](run_build_docs.sh)

In `docs` directory you will find `doxygen_build` directory with multiple formats of the docs.
9 changes: 9 additions & 0 deletions docs/run_build_docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
if [[ -z "$TT_UMD_HOME" ]]; then
echo "Must provide TT_UMD_HOME in environment" 1>&2
exit 1
fi

echo "Building tt-umd docs..."

cd $TT_UMD_HOME
doxygen Doxyfile

0 comments on commit fdca2d8

Please sign in to comment.