Skip to content

Commit 8efd2e9

Browse files
committed
docs: identify this branch's docs as 0.18.2 and fix the version picker
core_v0.18.2 was tagged and its docs published to /0.18.2/, but release and project.json were never bumped past 0.18.0, so that tree identifies itself as 0.18.0 and the switcher, which matches on release, highlights the wrong entry. Bump both to 0.18.2, add the 0.16.1, 0.17.1 and 0.18.2 entries, and mark 0.18.2 preferred: the picker had no preferred entry at all, so the theme had no stable version to anchor on. Entries link to versioned paths rather than the /latest/ alias, which moves on each release. Signed-off-by: oliver könig <okoenig@nvidia.com>
1 parent 36f9d71 commit 8efd2e9

3 files changed

Lines changed: 20 additions & 4 deletions

File tree

‎docs/conf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
project = "Megatron Core"
2828
copyright = "2026, NVIDIA Corporation"
2929
author = "NVIDIA Corporation"
30-
release = "0.18.0"
30+
release = "0.18.2"
3131

3232
# -- General configuration ---------------------------------------------------
3333
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

‎docs/project.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
{"name": "megatron-lm", "version": "0.18.0"}
1+
{"name": "megatron-lm", "version": "0.18.2"}
22

‎docs/versions1.json‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,31 @@
55
"url": "https://docs.nvidia.com/megatron-core/developer-guide/nightly/"
66
},
77
{
8-
"name": "0.18.0 (latest)",
8+
"name": "0.18.2 (latest)",
9+
"version": "0.18.2",
10+
"url": "https://docs.nvidia.com/megatron-core/developer-guide/0.18.2/",
11+
"preferred": true
12+
},
13+
{
14+
"name": "0.18.0",
915
"version": "0.18.0",
10-
"url": "https://docs.nvidia.com/megatron-core/developer-guide/latest/"
16+
"url": "https://docs.nvidia.com/megatron-core/developer-guide/0.18.0/"
17+
},
18+
{
19+
"name": "0.17.1",
20+
"version": "0.17.1",
21+
"url": "https://docs.nvidia.com/megatron-core/developer-guide/0.17.1/"
1122
},
1223
{
1324
"name": "0.17.0",
1425
"version": "0.17.0",
1526
"url": "https://docs.nvidia.com/megatron-core/developer-guide/0.17.0/"
1627
},
28+
{
29+
"name": "0.16.1",
30+
"version": "0.16.1",
31+
"url": "https://docs.nvidia.com/megatron-core/developer-guide/0.16.1/"
32+
},
1733
{
1834
"name": "0.16.0",
1935
"version": "0.16.0",

0 commit comments

Comments
 (0)