From 6144c129f10eb9027fb30a0573270d66f53aa23b Mon Sep 17 00:00:00 2001 From: Kevin Putnam Date: Wed, 24 Jul 2019 15:24:16 -0700 Subject: [PATCH] Removed unecessary langauges and LTS versions. Added .mo files to .gitignore. Signed-off-by: Kevin Putnam --- .gitignore | 3 +++ source/conf.py | 15 ++++----------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 3316fc85..992f177f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ source/_build # ignore VS code settings .vscode/ + +# ignore .mo translation files +*.mo diff --git a/source/conf.py b/source/conf.py index 761019d0..5a40f546 100644 --- a/source/conf.py +++ b/source/conf.py @@ -139,18 +139,11 @@ 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-rtd"), - ("Mandarin", "/clearlinux-rtd/zh_CN"), - ("German", "/clearlinux-rtd/de") + "languages": ( ("English", "/clearlinux"), + ("Chinese", "/clearlinux/zh_CN") ), - "versions": ( ("latest", "/clearlinux-rtd"), - ("LTS 1", "/clearlinux-rtd/lts/v1"), - ("LTS 2", "/clearlinux-rtd/lts/v2"), - ("LTS 3", "/clearlinux-rtd/lts/v3"), - ("LTS 4", "/clearlinux-rtd/lts/v4"), - ("LTS 5", "/clearlinux-rtd/lts/v5"), - ("LTS 6", "/clearlinux-rtd/lts/v6") - ) + "versions": ( ("latest", "/clearlinux"), + ("L19.01", "/clearlinux/L19.01")) } # Add any paths that contain custom themes here, relative to this directory.