dynamo/docs
Harrison Saturley-Hall cd2389baef
chore: pre-0.6.0 activities (#3592)
Signed-off-by: Harrison Saturley-Hall <hsaturleyhal@nvidia.com>
2025-10-13 17:45:19 -04:00
..
API/nixl_connect feat: Add Encode Worker and NIXL support to trtllm multimodal flow (#2452) 2025-08-29 10:20:14 -07: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 docs: move all md files from components to docs (#3440) 2025-10-10 03:39:26 +00:00
_static docs: Add sphinx-theme based userguides (#528) 2025-05-21 22:41:34 +08:00
architecture chore: consolidations of KvPushRouter bindings and usage examples (#3543) 2025-10-11 05:47:25 +00:00
backends docs: Fix typos and remove incomplete section from vllm multinode doc (#3588) 2025-10-13 19:36:57 +00:00
benchmarks fix: profilier bug fixes and doc improvements (#3530) 2025-10-09 14:47:26 -07:00
components/router docs: move all md files from components to docs (#3440) 2025-10-10 03:39:26 +00:00
deploy/metrics docs: Clean index.rst (#2104) 2025-07-25 18:17:50 +00:00
examples docs: fail build on warnings and fix existing warns (#3342) 2025-10-01 12:48:31 -04:00
guides feat: OTEL Exporter and Tempo Visualization (#3307) 2025-10-13 18:39:09 +00:00
images docs: exporting metrics in k8s (dep-302) (#2271) 2025-08-08 18:19:20 +00:00
kubernetes feat: improve CRD documentation (#3504) 2025-10-11 15:15:40 +00:00
runtime fix: link to point to bindings/python/README.md (#2186) 2025-07-30 16:16:03 +00:00
Makefile docs: fail build on warnings and fix existing warns (#3342) 2025-10-01 12:48:31 -04:00
README.md docs: move doc build dependencies to pyproject.toml (#3453) 2025-10-07 11:55:49 -07:00
conf.py docs: Simplify sphinx build and table of contents on webpage (#2519) 2025-08-25 23:36:31 +00:00
dynamo_glossary.md docs: Update dynamo_glossary.md (#2082) 2025-07-29 08:18:13 -07: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 docs: Add tool calling usage guide (#2866) 2025-10-10 11:41:53 -07:00
index.rst docs: add Planner Quickstart doc (#3358) 2025-10-03 18:49:28 +00:00
repositories.txt docs: Add sphinx-theme based userguides (#528) 2025-05-21 22:41:34 +08:00
support_matrix.md chore: pre-0.6.0 activities (#3592) 2025-10-13 17:45:19 -04: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)

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