mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-22 06:19:47 +08:00
add version selector
This commit is contained in:
@@ -88,6 +88,7 @@ mermaid_init_js = (
|
||||
|
||||
html_domain_indices = False
|
||||
html_use_index = False
|
||||
html_extra_path = ["project.json", "versions1.json"]
|
||||
highlight_language = "console"
|
||||
|
||||
html_theme_options = {
|
||||
@@ -105,8 +106,14 @@ html_theme_options = {
|
||||
"type": "fontawesome",
|
||||
},
|
||||
],
|
||||
"switcher": {
|
||||
"json_url": "../versions1.json",
|
||||
"version_match": release,
|
||||
},
|
||||
}
|
||||
|
||||
html_baseurl = "https://docs.nvidia.com/openshell/latest/"
|
||||
|
||||
json_output_settings = {
|
||||
"enabled": True,
|
||||
"verbose": True,
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{ "name": "openshell", "version": "0.1.0" }
|
||||
@@ -0,0 +1,7 @@
|
||||
[
|
||||
{
|
||||
"preferred": true,
|
||||
"version": "0.1.0",
|
||||
"url": "../0.1.0/"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user