Skip to content

Commit

Permalink
Fix make version switcher to use the right key
Browse files Browse the repository at this point in the history
Pin pydata-sphinx-theme to allow the build to complete
pydata/pydata-sphinx-theme#987
  • Loading branch information
coretl authored and evalott100 committed Feb 27, 2023
1 parent 3fb82fb commit 7202a5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/pages/make_switcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_versions(ref: str, add: Optional[str], remove: Optional[str]) -> List[st
def write_json(path: Path, repository: str, versions: str):
org, repo_name = repository.split("/")
struct = [
dict(name=version, url=f"https://{org}.github.io/{repo_name}/{version}/")
dict(version=version, url=f"https://{org}.github.io/{repo_name}/{version}/")
for version in versions
]
text = json.dumps(struct, indent=2)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dev =
mypy
pipdeptree
pre-commit
pydata-sphinx-theme
pydata-sphinx-theme < 0.10.1
pytest-cov
setuptools_scm[toml]>=6.2
sphinx-copybutton
Expand Down

0 comments on commit 7202a5f

Please sign in to comment.