Added /latest to top level URL for versions and languages switcher to reflect current hierarchy.

Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
This commit is contained in:
Kevin Putnam
2019-07-25 12:12:37 -07:00
parent 6144c129f1
commit 8f958b598a
+3 -3
View File
@@ -139,10 +139,10 @@ html_context = {
"github_version": "rtd-theme", # Version
"conf_py_path": "/source/", # Path in the checkout to the docs root
"current_version": current_version,
"languages": ( ("English", "/clearlinux"),
("Chinese", "/clearlinux/zh_CN")
"languages": ( ("English", "/clearlinux/latest"),
("Chinese", "/clearlinux/latest/zh_CN")
),
"versions": ( ("latest", "/clearlinux"),
"versions": ( ("latest", "/clearlinux/latest"),
("L19.01", "/clearlinux/L19.01"))
}