From 8f958b598adc2141f0063ff8908830a7ba1fd5e8 Mon Sep 17 00:00:00 2001 From: Kevin Putnam Date: Thu, 25 Jul 2019 12:12:37 -0700 Subject: [PATCH] Added /latest to top level URL for versions and languages switcher to reflect current hierarchy. Signed-off-by: Kevin Putnam --- source/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/conf.py b/source/conf.py index 5a40f546..15d51f49 100644 --- a/source/conf.py +++ b/source/conf.py @@ -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")) }