Skip to content

Commit

Permalink
Update URL of version switcher (#139)
Browse files Browse the repository at this point in the history
# Description
Update URL of version switcher to use
https://napari.org/dev/_static/version_switcher.json

This brings us closer to the goal of napari.github.io containing
only built artifacts, not source materials.

## Type of change
<!-- Please delete options that are not relevant. -->
- [ ] Fixes or improves existing content
- [ ] Adds new content page(s)
- [x] Fixes or improves workflow, documentation build or deployment

# References
This is a follow-up on #109.

## Final checklist:
- [x] My PR is the minimum possible work for the desired functionality
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added [alt text](https://webaim.org/techniques/alttext/) to
new images included in this PR
  • Loading branch information
melissawm authored Apr 15, 2023
1 parent b844092 commit f0714d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
html_theme = 'napari'

# Define the json_url for our version switcher.
json_url = "https://napari.org/version_switcher.json"
json_url = "https://napari.org/dev/_static/version_switcher.json"

if version == "dev":
version_match = "latest"
Expand Down

0 comments on commit f0714d4

Please sign in to comment.