Skip to content

Commit 68fd5a3

Browse files
authored
Set json_url to GitHub repo (#150)
1 parent 673e3ca commit 68fd5a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@
147147

148148
# The following is from the pydata-sphinx-theme settings (https://github.com/pydata/pydata-sphinx-theme/blob/main/docs/conf.py)
149149
# Define the json_url for our version switcher.
150-
json_url = "https://xbatcher.readthedocs.io/en/latest/_static/switcher.json"
150+
json_url = (
151+
"https://github.com/xarray-contrib/xbatcher/blob/main/doc/_static/switcher.json"
152+
)
151153

152154
# Define the version we use for matching in the version switcher.
153155
version_match = os.environ.get("READTHEDOCS_VERSION")

0 commit comments

Comments
 (0)