dynamo/docs
Keiven C 381c428c11
refactor: change TensorRT-LLM metrics prefix from trtllm: to trtllm_ (#4269)
Signed-off-by: Keiven Chang <keivenchang@users.noreply.github.com>
Co-authored-by: Keiven Chang <keivenchang@users.noreply.github.com>
2025-11-13 09:44:37 -08:00
..
_extensions docs: Convert github alerts to sphinx admonitions (#1483) 2025-06-30 15:41:14 -04:00
_includes docs: move all md files from components to docs (#3440) 2025-10-10 03:39:26 +00:00
_sections refactor: consolidate Observability files (e.g. OTEL docker-compose, md files) (#4173) 2025-11-10 20:19:34 +00:00
_static docs: Add sphinx-theme based userguides (#528) 2025-05-21 22:41:34 +08:00
agents docs: address Harry/VDR feedback + fixing broken links across repository (#3802) 2025-10-22 19:56:24 -04:00
api/nixl_connect docs: reorganizing documentation to make things clearer (#3658) 2025-10-16 23:59:59 +00:00
backends refactor: change TensorRT-LLM metrics prefix from trtllm: to trtllm_ (#4269) 2025-11-13 09:44:37 -08:00
benchmarks feat: DynamoPlanner profiler to use hf_id for AIConfigurator 0.4.0 (#4167) 2025-11-10 23:17:42 +00:00
design_docs refactor: move backend deploy, launch and slurm files from components to examples (#3849) 2025-10-31 13:09:46 -04:00
development chore: Remove static mode (#4235) 2025-11-11 19:25:12 +00:00
examples docs: fail build on warnings and fix existing warns (#3342) 2025-10-01 12:48:31 -04:00
fault_tolerance docs: address Harry/VDR feedback + fixing broken links across repository (#3802) 2025-10-22 19:56:24 -04:00
frontends docs: Cleanup KServe GRPC docs (#4081) 2025-11-04 01:37:09 +00:00
guides chore: move jail stream readme (#3509) 2025-10-29 20:13:40 +00:00
images feat: Add CPU metrics to Grafana Dynamo Dashboard (#3908) 2025-10-27 22:43:21 +00:00
kubernetes feat: update operator installation recommendations (#4270) 2025-11-13 17:12:50 +00:00
kvbm chore: enlarge default KVBM leader-worker timeout and better wording (#4283) 2025-11-13 00:42:21 +00:00
multimodal docs: address Harry/VDR feedback + fixing broken links across repository (#3802) 2025-10-22 19:56:24 -04:00
observability refactor: change TensorRT-LLM metrics prefix from trtllm: to trtllm_ (#4269) 2025-11-13 09:44:37 -08:00
performance refactor: move backend deploy, launch and slurm files from components to examples (#3849) 2025-10-31 13:09:46 -04:00
planner feat: DynamoPlanner profiler to use hf_id for AIConfigurator 0.4.0 (#4167) 2025-11-10 23:17:42 +00:00
reference chore: Remove static mode (#4235) 2025-11-11 19:25:12 +00:00
router docs: disagg router docs update (#4093) 2025-11-05 05:34:29 +00:00
Makefile docs: fail build on warnings and fix existing warns (#3342) 2025-10-01 12:48:31 -04:00
README.md docs: Adding redirects (#3965) 2025-10-29 17:41:14 -04:00
conf.py docs: Adding redirects to correct PR 3658 moves (#3985) 2025-10-30 21:59:05 +00:00
exclusions.txt docs: Add sphinx-theme based userguides (#528) 2025-05-21 22:41:34 +08:00
generate_docs.py fix: resolve regex library warnings (#1237) 2025-05-28 08:48:05 -04:00
hidden_toctree.rst refactor: consolidate Observability files (e.g. OTEL docker-compose, md files) (#4173) 2025-11-10 20:19:34 +00:00
index.rst docs: Cleanup KServe GRPC docs (#4081) 2025-11-04 01:37:09 +00:00
project.json docs: Adding elements required for version switcher (#3521) 2025-10-17 12:38:28 -04:00
repositories.txt docs: Add sphinx-theme based userguides (#528) 2025-05-21 22:41:34 +08:00
versions1.json docs: updating version picker JSON file for 0.7.0 (#4211) 2025-11-10 08:53:48 -08:00

README.md

orphan
true

Building Documentation

This directory contains the documentation source files for NVIDIA Dynamo.

Prerequisites

  • Python 3.11 or later
  • uv package manager

Build Instructions

This approach builds the docs without requiring the full project dependencies (including ai-dynamo-runtime):

# One-time setup: Create docs environment and install dependencies
uv venv .venv-docs
uv pip install --python .venv-docs --group docs

# Generate documentation
uv run --python .venv-docs --no-project docs/generate_docs.py

The generated HTML will be available in docs/build/html/.

Option 2: Using Full Development Environment

If you already have the full project dependencies installed (i.e., you're actively developing the codebase), you can use uv run directly:

uv run --group docs docs/generate_docs.py

This will use your existing project environment and add the docs dependencies.

Option 3: Using Docker

Build the docs in a Docker container with all dependencies isolated:

docker build -f container/Dockerfile.docs -t dynamo-docs .

The documentation will be built inside the container. To extract the built docs:

# Run the container and copy the output
docker run --rm -v $(pwd)/docs/build:/workspace/dynamo/docs/build dynamo-docs

# Or create a container to copy files from
docker create --name temp-docs dynamo-docs
docker cp temp-docs:/workspace/dynamo/docs/build ./docs/build
docker rm temp-docs

This approach is ideal for CI/CD pipelines or when you want complete isolation from your local environment.

Directory Structure

  • docs/ - Documentation source files (Markdown and reStructuredText)
  • docs/conf.py - Sphinx configuration
  • docs/_static/ - Static assets (CSS, JS, images)
  • docs/_extensions/ - Custom Sphinx extensions
  • docs/build/ - Generated documentation output (not tracked in git)

Redirect Creation

When moving or renaming files a redirect must be created.

Redirect entries should be added to the redirects dictionary in conf.py. For detailed information on redirect syntax, see the sphinx-reredirects usage documentation.

Dependency Management

Documentation dependencies are defined in pyproject.toml under the [dependency-groups] section:

[dependency-groups]
docs = [
    "sphinx>=8.1",
    "nvidia-sphinx-theme>=0.0.8",
    # ... other doc dependencies
]

Troubleshooting

Build Warnings

The build process treats warnings as errors. Common issues:

  • Missing toctree entries: Documents must be referenced in a table of contents
  • Non-consecutive headers: Don't skip header levels (e.g., H1 → H3)
  • Broken links: Ensure all internal and external links are valid

Missing Dependencies

If you encounter import errors, ensure the docs dependencies are installed:

uv pip install --python .venv-docs --group docs

Viewing the Documentation

After building, open docs/build/html/index.html in your, or use Python's built-in HTTP server:

cd docs/build/html
python -m http.server 8000
# Then visit http://localhost:8000 in your browser