dynamo/docs
orangeng 98eb6b7e03
docs: Fix service name in port-forward command (#5527)
Signed-off-by: Orange Ng <ngquanhao@outlook.com>
Co-authored-by: Neal Vaidya <nealv@nvidia.com>
2026-02-09 16:04:34 -08:00
..
_extensions refactor: optimize regex patterns in docs scripts (#5777) 2026-02-09 17:20:03 +00:00
_includes docs: fix SGLang docs links (docs.sglang.ai → docs.sglang.io) (#5894) 2026-02-03 04:29:57 +00:00
_sections docs: clean up toctree navigation and add disaggregated serving guide (#6024) 2026-02-06 13:20:36 -06:00
_static docs: Add sphinx-theme based userguides (#528) 2025-05-21 22:41:34 +08:00
agents chore: jamba based parsers (#4776) 2025-12-08 21:12:18 +00:00
api/nixl_connect docs: cleanup of docs refactor for components, integrations, and features (#6019) 2026-02-05 19:50:17 -08:00
backends feat: text to image vLLM Omni (#5912) 2026-02-09 18:19:27 -05:00
benchmarks docs: cleanup of docs refactor for components, integrations, and features (#6019) 2026-02-05 19:50:17 -08:00
components chore: enable local indexers by default, and use normal event plane by default (not jetstream) (#5941) 2026-02-08 20:48:02 +00:00
design_docs chore: enable local indexers by default, and use normal event plane by default (not jetstream) (#5941) 2026-02-08 20:48:02 +00:00
development refactor: Move --migration-limit flag from backend to frontend (#5918) 2026-02-06 20:50:55 +00:00
diagrams docs: improve Fern sidebar titles, add guide subtitles, and replace ASCII diagrams with D2 (#6069) 2026-02-09 22:11:33 +00:00
examples docs: fail build on warnings and fix existing warns (#3342) 2025-10-01 12:48:31 -04:00
fault_tolerance refactor: Move --migration-limit flag from backend to frontend (#5918) 2026-02-06 20:50:55 +00:00
features docs: clean up toctree navigation and add disaggregated serving guide (#6024) 2026-02-06 13:20:36 -06:00
images docs: clean up toctree navigation and add disaggregated serving guide (#6024) 2026-02-06 13:20:36 -06:00
integrations chore: enable local indexers by default, and use normal event plane by default (not jetstream) (#5941) 2026-02-08 20:48:02 +00:00
kubernetes docs: Fix service name in port-forward command (#5527) 2026-02-09 16:04:34 -08:00
mocker chore: enable local indexers by default, and use normal event plane by default (not jetstream) (#5941) 2026-02-08 20:48:02 +00:00
observability docs: clean up toctree navigation and add disaggregated serving guide (#6024) 2026-02-06 13:20:36 -06:00
performance docs: clean up toctree navigation and add disaggregated serving guide (#6024) 2026-02-06 13:20:36 -06:00
reference refactor: Move --migration-limit flag from backend to frontend (#5918) 2026-02-06 20:50:55 +00:00
templates docs: clean up toctree navigation and add disaggregated serving guide (#6024) 2026-02-06 13:20:36 -06:00
Makefile chore: update all copyright headers in repo to 2026 (#5130) 2026-01-02 22:08:23 +00:00
README.md docs: Adding redirects (#3965) 2025-10-29 17:41:14 -04:00
conf.py docs: cleanup of docs refactor for components, integrations, and features (#6019) 2026-02-05 19:50:17 -08:00
exclusions.txt chore: update all copyright headers in repo to 2026 (#5130) 2026-01-02 22:08:23 +00:00
generate_docs.py refactor: optimize regex patterns in docs scripts (#5777) 2026-02-09 17:20:03 +00:00
hidden_toctree.rst feat: text to image vLLM Omni (#5912) 2026-02-09 18:19:27 -05:00
index.rst docs: clean up toctree navigation and add disaggregated serving guide (#6024) 2026-02-06 13:20:36 -06:00
project.json docs: consolidate multimodal docs (#4842) 2025-12-16 02:08:58 +00:00
repositories.txt docs: Add sphinx-theme based userguides (#528) 2025-05-21 22:41:34 +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