TensorRT-LLMs/docs
2025-04-16 14:42:50 +08:00
..
source TensorRT-LLM v0.18.2 release (#3611) 2025-04-16 14:42:50 +08:00
Doxygen Update TensorRT-LLM Release branch (#1445) 2024-04-12 17:59:19 +08:00
make.bat Updates for release/0.5.0 2023-10-15 21:26:20 +08:00
Makefile Updates for release/0.5.0 2023-10-15 21:26:20 +08:00
README.md refresh 0.5.0 release branch with the latest revision 2023-10-18 22:18:19 +08:00
requirements.txt TensorRT-LLM v0.18 release (#3231) 2025-04-02 17:01:16 +08:00

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.