Skip to content

Commit

Permalink
Update README.rst with instruction how to build documentation.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Tyzenhauz <[email protected]>
  • Loading branch information
totyz committed Jul 7, 2022
1 parent eadb11f commit 9a0cdf8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,19 @@ Documentation for this project is placed in the ``doc`` directory.
:class: highlight
cd doc
pip install -r requirements-doc.txt
make html
xdg-open build/html/index.html
or run script which builds documentation in docker container (nothing except docker engine is required):


.. parsed-literal::
:class: highlight
cd doc
./build_doc_in_docker.sh
The documentation will be generated in ``doc/build/html``.
To view the documentation, open ``doc/build/html/index.html`` in a web browser.
Expand Down
2 changes: 1 addition & 1 deletion doc/build_doc_in_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ elif [ $# -eq 1 ]; then
pip install -r requirements-doc.txt
sphinx-build -M html . build
chown -R $USER_ID:$GRP_ID build
fi
fi

0 comments on commit 9a0cdf8

Please sign in to comment.