Skip to content

Commit

Permalink
fix switcher_json variable replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Chan committed Feb 2, 2024
1 parent 800e41b commit 84a7736
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 84a7736

Please sign in to comment.