Skip to content

Commit

Permalink
fix switcher_json variable replacement (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Chan authored Feb 2, 2024
2 parents 366ce57 + 84a7736 commit 286e3c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ copybutton_prompt_is_regexp = True
html_theme = "pydata_sphinx_theme"
github_repo = "{{ repo_name }}"
github_user = "{{ github_org }}"
switcher_json = f"https://{github_user}.github.io/{github_repo}/switcher.json"
switcher_json = "https://{{ github_org }}.github.io/{{ repo_name }}/switcher.json"
switcher_exists = requests.get(switcher_json).ok
if not switcher_exists:
print(
Expand Down

0 comments on commit 286e3c6

Please sign in to comment.