Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1c03383

Browse files
Copilotleofang
andauthored
Fix version dropdown menu by copying nv-versions.json files (NVIDIA#886)
* Initial plan * Fix version dropdown menu by copying nv-versions.json files Co-authored-by: leofang <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: leofang <[email protected]>
1 parent a6100d6 commit 1c03383

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

cuda_bindings/docs/build_docs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ SPHINXOPTS="-j 4 -d build/.doctrees" make html
3535

3636
# to support version dropdown menu
3737
cp ./versions.json build/html
38+
cp ./nv-versions.json build/html
3839

3940
# to have a redirection page (to the latest docs)
4041
cp source/_templates/main.html build/html/index.html

cuda_core/docs/build_docs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ SPHINXOPTS="-j 4 -d build/.doctrees" make html
3131

3232
# to support version dropdown menu
3333
cp ./versions.json build/html
34+
cp ./nv-versions.json build/html
3435

3536
# to have a redirection page (to the latest docs)
3637
cp source/_templates/main.html build/html/index.html

cuda_python/docs/build_docs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ SPHINXOPTS="-j 4 -d build/.doctrees" make html
3535

3636
# to support version dropdown menu
3737
cp ./versions.json build/html
38+
cp ./nv-versions.json build/html
3839

3940
# to have a redirection page (to the latest docs)
4041
cp source/_templates/main.html build/html/index.html

0 commit comments

Comments
 (0)