|
147 | 147 |
|
148 | 148 | # The following is from the pydata-sphinx-theme settings (https://github.com/pydata/pydata-sphinx-theme/blob/main/docs/conf.py) |
149 | 149 | # Define the json_url for our version switcher. |
150 | | -json_url = ( |
151 | | - "https://github.com/xarray-contrib/xbatcher/blob/main/doc/_static/switcher.json" |
152 | | -) |
| 150 | +json_url = "https://xbatcher.readthedocs.io/en/latest/_static/switcher.json" |
153 | 151 |
|
154 | 152 | # Define the version we use for matching in the version switcher. |
155 | 153 | version_match = os.environ.get("READTHEDOCS_VERSION") |
|
175 | 173 | html_theme_options = { |
176 | 174 | "search_bar_position": "sidebar", |
177 | 175 | "github_url": "https://github.com/xarray-contrib/xbatcher", |
178 | | - "switcher": { |
179 | | - "json_url": json_url, |
180 | | - "version_match": version_match, |
181 | | - }, |
| 176 | + # "switcher": { |
| 177 | + # "json_url": json_url, |
| 178 | + # "version_match": version_match, |
| 179 | + # }, |
182 | 180 | "logo": { |
183 | 181 | "text": "Xbatcher", |
184 | 182 | "alt_text": "Xbatcher", |
185 | 183 | }, |
186 | 184 | "navbar_align": "left", # [left, content, right] For testing that the navbar items align properly |
187 | | - "navbar_center": ["version-switcher", "navbar-nav"], |
| 185 | + "navbar_center": ["navbar-nav"], |
188 | 186 | } |
189 | 187 |
|
190 | | -# Define the json_url for our version switcher. |
191 | | - |
192 | | -json_url = "https://xbatcher.readthedocs.io/en/latest/_static/switcher.json" |
193 | | - |
194 | 188 | # Add any paths that contain custom themes here, relative to this directory. |
195 | 189 | # html_theme_path = [] |
196 | 190 |
|
|
213 | 207 | # Add any paths that contain custom static files (such as style sheets) here, |
214 | 208 | # relative to this directory. They are copied after the builtin static files, |
215 | 209 | # so a file named "default.css" will overwrite the builtin "default.css". |
216 | | -# html_static_path = ['_static'] |
| 210 | +html_static_path = ["_static"] |
217 | 211 |
|
218 | 212 | # Add any extra paths that contain custom files (such as robots.txt or |
219 | 213 | # .htaccess) here, relative to this directory. These files are copied |
|
0 commit comments