From c6ada3bfa226e05b28dd781a027d9982db438cd5 Mon Sep 17 00:00:00 2001 From: munechika-koyo Date: Thu, 18 Jul 2024 21:12:14 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20Update=20switcher.json=20wit?= =?UTF-8?q?h=20version=200.3.0=20and=20preferred=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/source/_static/switcher.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/source/_static/switcher.json b/docs/source/_static/switcher.json index d24405d..04de6b7 100644 --- a/docs/source/_static/switcher.json +++ b/docs/source/_static/switcher.json @@ -3,11 +3,16 @@ "version": "dev", "url": "https://cherab-inversion.readthedocs.io/en/latest/" }, + { + "name": "0.3", + "version": "v0.3.0", + "url": "https://cherab-inversion.readthedocs.io/en/v0.3.0/", + "preferred": true + }, { "name": "0.2", "version": "v0.2.0", - "url": "https://cherab-inversion.readthedocs.io/en/v0.2.0/", - "preferred": true + "url": "https://cherab-inversion.readthedocs.io/en/v0.2.0/" }, { "name": "0.1", From cb6866a45ba2fac2c5136d820a6b93089320cb2d Mon Sep 17 00:00:00 2001 From: munechika-koyo Date: Thu, 18 Jul 2024 22:42:44 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=9A=91=20Update=20json=5Furl=20in=20c?= =?UTF-8?q?onf.py=20to=20use=20the=20GitHub=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 7ef2676..c17ad28 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -103,7 +103,7 @@ # html_favicon = "_static/favicon/favicon.ico" # Define the json_url for our version switcher. -json_url = "https://cherab-inversion.readthedocs.io/en/latest/_static/switcher.json" +json_url = "https://raw.githubusercontent.com/munechika-koyo/cherab_inversion/main/docs/source/_static/switcher.json" version_match = os.environ.get("READTHEDOCS_VERSION") # If READTHEDOCS_VERSION doesn't exist, we're not on RTD # If it is an integer, we're in a PR build and the version isn't correct.