Unverified Commit 5fb661a5 authored by Andrew Schilling's avatar Andrew Schilling Committed by GitHub
Browse files

docs: Adding elements required for version switcher (#3521)


Signed-off-by: default avatarAndrew Schilling <aschilling@nvidia.com>
parent 5e8dec70
......@@ -9,6 +9,7 @@ import sys
project = "NVIDIA Dynamo"
copyright = "2024-2025, NVIDIA CORPORATION & AFFILIATES"
author = "NVIDIA"
release = "latest"
# -- General configuration ---------------------------------------------------
......@@ -58,9 +59,30 @@ exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "build"]
# -- Options for HTML output -------------------------------------------------
html_theme = "nvidia_sphinx_theme"
html_static_path = ["_static"]
html_extra_path = ["project.json", "versions1.json"]
html_theme_options = {
"collapse_navigation": False,
"github_url": "https://github.com/ai-dynamo/dynamo",
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/ai-dynamo/dynamo",
"icon": "fa-brands fa-github",
}
],
"switcher": {
"json_url": "../versions1.json",
"version_match": release,
},
"extra_head": {
"""
<script src="https://assets.adobedtm.com/5d4962a43b79/c1061d2c5e7b/launch-191c2462b890.min.js" ></script>
"""
},
"extra_footer": {
"""
<script type="text/javascript">if (typeof _satellite !== "undefined") {_satellite.pageBottom();}</script>
"""
},
"navbar_start": ["navbar-logo"],
"primary_sidebar_end": [],
}
......
{"name": "NVIDIA Dynamo", "version": "latest"}
\ No newline at end of file
[
{
"preferred": true,
"version": "latest",
"url": "https://docs.nvidia.com/dynamo/latest/"
},
{
"version": "0.5.1",
"url": "https://docs.nvidia.com/dynamo/archive/0.5.1/"
},
{
"version": "0.5.0",
"url": "https://docs.nvidia.com/dynamo/archive/0.5.0/"
},
{
"name": "0.4.1",
"version": "0.4.1",
"url": "https://docs.nvidia.com/dynamo/archive/0.4.1/"
},
{
"name": "0.4.0",
"version": "0.4.0",
"url": "https://docs.nvidia.com/dynamo/archive/0.4.0/"
},
{
"name": "0.3.2",
"version": "0.3.2",
"url": "https://docs.nvidia.com/dynamo/archive/0.3.2/"
},
{
"name": "0.3.1",
"version": "0.3.1",
"url": "https://docs.nvidia.com/dynamo/archive/0.3.1/"
},
{
"name": "0.3.0",
"version": "0.3.0",
"url": "https://docs.nvidia.com/dynamo/archive/0.3.0/"
},
{
"name": "0.2.1",
"version": "0.2.1",
"url": "https://docs.nvidia.com/dynamo/archive/0.2.1/"
},
{
"name": "0.2.0",
"version": "0.2.0",
"url": "https://docs.nvidia.com/dynamo/archive/0.2.0/"
}
]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment