From 436d96d5404bbc48e82bb083e1dce2f40641d0a9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 Aug 2025 21:33:42 +0000 Subject: [PATCH 1/2] Initial plan From ee6509290450dd8268e11555083edeb212c15d78 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 Aug 2025 21:38:19 +0000 Subject: [PATCH 2/2] Fix version dropdown menu by copying nv-versions.json files Co-authored-by: leofang <5534781+leofang@users.noreply.github.com> --- cuda_bindings/docs/build_docs.sh | 1 + cuda_core/docs/build_docs.sh | 1 + cuda_python/docs/build_docs.sh | 1 + 3 files changed, 3 insertions(+) diff --git a/cuda_bindings/docs/build_docs.sh b/cuda_bindings/docs/build_docs.sh index d5c00c386cf..c4e959fd752 100755 --- a/cuda_bindings/docs/build_docs.sh +++ b/cuda_bindings/docs/build_docs.sh @@ -35,6 +35,7 @@ SPHINXOPTS="-j 4 -d build/.doctrees" make html # to support version dropdown menu cp ./versions.json build/html +cp ./nv-versions.json build/html # to have a redirection page (to the latest docs) cp source/_templates/main.html build/html/index.html diff --git a/cuda_core/docs/build_docs.sh b/cuda_core/docs/build_docs.sh index a604239c8f9..efc70c81708 100755 --- a/cuda_core/docs/build_docs.sh +++ b/cuda_core/docs/build_docs.sh @@ -31,6 +31,7 @@ SPHINXOPTS="-j 4 -d build/.doctrees" make html # to support version dropdown menu cp ./versions.json build/html +cp ./nv-versions.json build/html # to have a redirection page (to the latest docs) cp source/_templates/main.html build/html/index.html diff --git a/cuda_python/docs/build_docs.sh b/cuda_python/docs/build_docs.sh index 8b306143bf4..97be962a1a9 100755 --- a/cuda_python/docs/build_docs.sh +++ b/cuda_python/docs/build_docs.sh @@ -35,6 +35,7 @@ SPHINXOPTS="-j 4 -d build/.doctrees" make html # to support version dropdown menu cp ./versions.json build/html +cp ./nv-versions.json build/html # to have a redirection page (to the latest docs) cp source/_templates/main.html build/html/index.html