Skip to content

Commit 10caa66

Browse files
docs: Fixing version switcher issues (#885)
Signed-off-by: Andrew Schilling <[email protected]>
1 parent 3044e0b commit 10caa66

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

docs/conf.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
project = "NeMo-Curator"
3030
project_copyright = "2025, NVIDIA Corporation"
3131
author = "NVIDIA Corporation"
32-
release = "0.0.1"
32+
release = "0.25.7"
3333

3434
# -- General configuration ---------------------------------------------------
3535
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
@@ -289,12 +289,19 @@
289289

290290
html_theme_options = {
291291
"switcher": {
292-
"json_url": "./versions1.json",
292+
"json_url": "../versions1.json",
293293
"version_match": release,
294294
},
295295
# Configure PyData theme search
296296
"search_bar_text": "Search NVIDIA docs...",
297297
"navbar_persistent": ["search-button"], # Ensure search button is present
298+
"icon_links": [
299+
{
300+
"name": "GitHub",
301+
"url": "https://github.com/NVIDIA-NeMo/Curator",
302+
"icon": "fa-brands fa-github",
303+
}
304+
],
298305
"extra_head": {
299306
"""
300307
<script src="https://assets.adobedtm.com/5d4962a43b79/c1061d2c5e7b/launch-191c2462b890.min.js" ></script>

docs/versions1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
33
"preferred": true,
4-
"version": "25.7",
5-
"url": "../25.7"
4+
"version": "0.25.7",
5+
"url": "../0.25.7"
66
}
77
]

0 commit comments

Comments
 (0)