Skip to content

Commit 84a7736

Browse files
committed
fix switcher_json variable replacement
1 parent 800e41b commit 84a7736

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • template/{% if docs_type=="sphinx" %}docs{% endif %}

template/{% if docs_type=="sphinx" %}docs{% endif %}/conf.py.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ copybutton_prompt_is_regexp = True
128128
html_theme = "pydata_sphinx_theme"
129129
github_repo = "{{ repo_name }}"
130130
github_user = "{{ github_org }}"
131-
switcher_json = f"https://{github_user}.github.io/{github_repo}/switcher.json"
131+
switcher_json = "https://{{ github_org }}.github.io/{{ repo_name }}/switcher.json"
132132
switcher_exists = requests.get(switcher_json).ok
133133
if not switcher_exists:
134134
print(

0 commit comments

Comments
 (0)