Skip to content

Commit 125ec9e

Browse files
committed
py(deps[uv]) Pin gp-sphinx workspace at unreleased SPA-nav iOS fix
why: Validate the upstream gp-sphinx fix end-to-end on the published docs site before 0.0.1a12 ships. The fix reorders pushState above swap(doc) in spa-nav.js so relative href/src in the swapped DOM resolve against the new baseURI; without it, iPad Safari (in landscape or with "Request Desktop Site") blanks the sidebar logo after every cross-depth SPA navigation. what: - Add [tool.uv.sources] overrides pinning gp-sphinx and sphinx-gp-theme to git ref 652ce020 on fix/spa-nav-ios-relative-urls. - Refresh uv.lock; transitive workspace siblings (sphinx-autodoc-typehints-gp, sphinx-fonts, sphinx-gp-opengraph, sphinx-gp-sitemap) follow the same git ref automatically. - Temporary; revert this block once gp-sphinx 0.0.1a12 is on PyPI.
1 parent 669fbc2 commit 125ec9e

2 files changed

Lines changed: 17 additions & 33 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,14 @@ sphinx-gp-theme = false
134134
sphinx-ux-autodoc-layout = false
135135
sphinx-ux-badges = false
136136

137+
[tool.uv.sources]
138+
# Temporarily pin gp-sphinx workspace packages at an unreleased commit
139+
# that fixes the iOS Safari sidebar-logo blank after SPA navigation
140+
# (gp-sphinx commit 652ce02, branch fix/spa-nav-ios-relative-urls).
141+
# Revert to PyPI wheels once 0.0.1a12 ships.
142+
gp-sphinx = { git = "https://github.com/git-pull/gp-sphinx.git", rev = "652ce020b8003a496732df805fbb072d91b559dc", subdirectory = "packages/gp-sphinx" }
143+
sphinx-gp-theme = { git = "https://github.com/git-pull/gp-sphinx.git", rev = "652ce020b8003a496732df805fbb072d91b559dc", subdirectory = "packages/sphinx-gp-theme" }
144+
137145
[tool.mypy]
138146
strict = true
139147
python_version = "3.10"

uv.lock

Lines changed: 9 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)