From f98eb2fa4131b2b2d594530325754ba1a27a95eb Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Mon, 10 Jun 2024 12:54:44 -0400 Subject: [PATCH 1/4] update switcher --- docs/_static/switcher.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/_static/switcher.json b/docs/_static/switcher.json index ed9b35e2c4..a2174d52ca 100644 --- a/docs/_static/switcher.json +++ b/docs/_static/switcher.json @@ -1,12 +1,19 @@ [ { "version": "dev", - "url": "https://nwb-guide.readthedocs.io/en/latest/" + "url": "https://nwb-guide.readthedocs.io/en/latest/", + "preferred": false + }, + { + "name": "1.0.0", + "version": "v1.0.0"", + "url": "https://nwb-guide.readthedocs.io/en/v1.0.0/", + "preferred": true }, { "name": "0.0.15", "version": "v0.0.15", "url": "https://nwb-guide.readthedocs.io/en/v0.0.15/", - "preferred": true + "preferred": false } ] From f02ce1663b95f9482d80a844f6582ead7a5f1e73 Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Mon, 10 Jun 2024 12:57:07 -0400 Subject: [PATCH 2/4] fix JSON --- docs/_static/switcher.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_static/switcher.json b/docs/_static/switcher.json index a2174d52ca..c228fce4f9 100644 --- a/docs/_static/switcher.json +++ b/docs/_static/switcher.json @@ -6,7 +6,7 @@ }, { "name": "1.0.0", - "version": "v1.0.0"", + "version": "v1.0.0", "url": "https://nwb-guide.readthedocs.io/en/v1.0.0/", "preferred": true }, From 7402461fde7287fe6048fb44ab59e27b7c47734f Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:35:34 -0400 Subject: [PATCH 3/4] update external link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fa1896157d..bb1ef20ab1 100644 --- a/README.md +++ b/README.md @@ -24,4 +24,4 @@ NWB GUIDE is a desktop app that provides a no-code user interface for converting neurophysiology data to NWB. ## Installation -See the installation instructions in our [documentation](https://nwb-guide.readthedocs.io/en/latest/installation.html). +See the installation instructions in our [documentation](https://nwb-guide.readthedocs.io/en/stable/installation.html). From 5acbdf6ac0dcb708efe66150b942fe2507a1af57 Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:53:05 -0400 Subject: [PATCH 4/4] attempt to suppress reroute --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 0c466f25eb..bb176979b0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -94,7 +94,7 @@ # Use `python -m http.server -d docs/build/html/` and open the page at http://localhost:8000 # In local development, the version switcher will always show "dev" and use the local switcher.json version_match = "dev" - json_url = "_static/switcher.json" + #json_url = "_static/switcher.json" # if "dev" in release or "rc" in release: # version_match = "dev" # # We want to keep the relative reference if we are in dev mode