Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 92f10b4

Browse files
coretlgilesknap
authored andcommitted
Fix make version switcher to use the right key
Pin pydata-sphinx-theme to allow the build to complete pydata/pydata-sphinx-theme#987
1 parent 68976f4 commit 92f10b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/pages/make_switcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_versions(ref: str, add: Optional[str], remove: Optional[str]) -> List[st
5959
def write_json(path: Path, repository: str, versions: str):
6060
org, repo_name = repository.split("/")
6161
struct = [
62-
dict(name=version, url=f"https://{org}.github.io/{repo_name}/{version}/")
62+
dict(version=version, url=f"https://{org}.github.io/{repo_name}/{version}/")
6363
for version in versions
6464
]
6565
text = json.dumps(struct, indent=2)

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dev =
3838
mypy
3939
pipdeptree
4040
pre-commit
41-
pydata-sphinx-theme
41+
pydata-sphinx-theme < 0.10.1
4242
pytest-cov
4343
setuptools_scm[toml]>=6.2
4444
sphinx-copybutton

0 commit comments

Comments
 (0)