Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point switcher JSON to its version on latest readthedocs build #199

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@

# VERSIONING
# Define the json_url for our version switcher.
json_url = "https://github.com/cta-observatory/protopipe/tree/master/docs/_static/switcher.json"
json_url = "https://protopipe.readthedocs.io/en/latest/_static/switcher.json"

# Define the version we use for matching in the version switcher.
version_match = os.environ.get("READTHEDOCS_VERSION")
Expand Down
1 change: 1 addition & 0 deletions environment_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies:
- sphinx-automodapi
- numpydoc
- sphinx-issues
- sphinx-panels
# Benchmarking
- papermill
- jupyterlab>=3.1.10
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"jinja2==3.0.3",
"pydata-sphinx-theme~=0.8",
"sphinx-issues",
"sphinx-panels",
"sphinx_automodapi",
"numpydoc",
"ipython",
Expand Down