mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-13 22:18:36 +08:00
Signed-off-by: nv-guomingz <137257613+nv-guomingz@users.noreply.github.com> Signed-off-by: Wangshanshan <30051912+dominicshanshan@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| source | ||
| Doxygen | ||
| make.bat | ||
| Makefile | ||
| README.md | ||
| requirements.txt | ||
Docs
This directory contains the stuff for building static html documentations based on sphinx.
Build the docs
Firstly, install the sphinx:
apt-get install python3-sphinx doxygen python3-pip graphviz
Secondly, install the packages:
python3 -m pip install -r ./requirements.txt
And then, make the docs:
doxygen Doxygen # build C++ docs
make html
And the finally the generated html pages will locate in the build/html directory.
Preview the docs locally
The basic way to preview the docs is using the http.serve:
cd build/html
python3 -m http.server 8081
And you can visit the page with your web browser with url http://localhost:8081.