Skip to content

Commit

Permalink
Point switcher JSON to its version on latest readthedocs build (#199)
Browse files Browse the repository at this point in the history
* point to readthedocs switcher latest version

* Add sphinx panels to docs requirements

* Fix typo in setup.py
  • Loading branch information
HealthyPear authored May 4, 2022
1 parent 6af0fab commit 51ed745
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
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

0 comments on commit 51ed745

Please sign in to comment.