Skip to content

Commit

Permalink
Merge pull request #29 from munechika-koyo/develop
Browse files Browse the repository at this point in the history
Fix switcher.js for documentation
  • Loading branch information
munechika-koyo authored Jul 18, 2024
2 parents cea4bb3 + 42c38b6 commit f00d0f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/_static/switcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"name": "0.2",
"version": "v0.2.0",
"url": "https://cherab-inversion.readthedocs.io/en/v0.2.0/",
"url": "https://cherab-inversion.readthedocs.io/en/v0.2.0/"
},
{
"name": "0.1",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
# html_favicon = "_static/favicon/favicon.ico"

# Define the json_url for our version switcher.
json_url = "https://cherab-inversion.readthedocs.io/en/latest/_static/switcher.json"
json_url = "https://raw.githubusercontent.com/munechika-koyo/cherab_inversion/main/docs/source/_static/switcher.json"
version_match = os.environ.get("READTHEDOCS_VERSION")
# If READTHEDOCS_VERSION doesn't exist, we're not on RTD
# If it is an integer, we're in a PR build and the version isn't correct.
Expand Down

0 comments on commit f00d0f3

Please sign in to comment.