Skip to content

Commit 75f63ba

Browse files
committed
pkg(workspace): retire gp-sphinx-vite — sphinx-vite-builder is the sole vite extension
why: Phase 3 Milestone C — gp-sphinx-vite's hooks + config were ported to sphinx_vite_builder._internal in earlier commits, all consumer call sites swept to the new package, and the gp-sphinx-vite package itself has nothing left to ship. Drop the package, delete its tests (the ported tests in tests/test_sphinx_vite_builder_{config,hooks, extension_integration}.py cover the same surface), and add a rediraffe redirect from packages/gp-sphinx-vite → packages/sphinx-vite-builder so existing inbound docs links keep resolving. what: - Delete packages/gp-sphinx-vite/ (5 source files + README + pyproject) - Delete tests/test_gp_sphinx_vite{,_bus,_hooks,_integration,_process}.py - Delete docs/packages/gp-sphinx-vite.md - Drop gp-sphinx-vite from workspace pyproject.toml ([tool.uv.sources] + [dependency-groups] dev) and regenerate uv.lock - Drop smoke_gp_sphinx_vite + the dispatch entry from scripts/ci/package_tools.py - Drop "gp-sphinx-vite" from tests/test_package_reference.py's workspace-package set assertion - docs/index.md: drop packages/gp-sphinx-vite from the Internal toctree - docs/packages/index.md: drop the bullet - docs/redirects.txt: add `packages/gp-sphinx-vite packages/sphinx-vite-builder` rediraffe redirect; map the legacy `extensions/gp-sphinx-vite` to the new package too - docs/architecture.md: drop the gp-sphinx-vite grid card (sphinx-vite-builder card already documents both heads) - README.md: collapse the Build utils bullet to mention only sphinx-vite-builder
1 parent 919d189 commit 75f63ba

23 files changed

Lines changed: 3 additions & 2578 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Lower layers never depend on higher ones:
6262

6363
- **Common libraries**`sphinx-ux-badges`, `sphinx-ux-autodoc-layout`, `sphinx-autodoc-typehints-gp`, `sphinx-fonts`
6464
- **Autodoc extensions**`sphinx-autodoc-api-style`, `sphinx-autodoc-argparse`, `sphinx-autodoc-docutils`, `sphinx-autodoc-fastmcp`, `sphinx-autodoc-pytest-fixtures`, `sphinx-autodoc-sphinx`
65-
- **Build utils**`sphinx-vite-builder` ([PEP 517](https://peps.python.org/pep-0517/) backend that runs Vite via pnpm), `gp-sphinx-vite` (autobuild orchestrator)
65+
- **Build utils**`sphinx-vite-builder` ([PEP 517](https://peps.python.org/pep-0517/) backend + Sphinx extension that runs Vite via pnpm)
6666
- **Theme and coordinator**`gp-sphinx`, `sphinx-gp-theme`, `gp-furo-theme`
6767
- **SEO**`sphinx-gp-opengraph`, `sphinx-gp-sitemap` (auto-loaded by `gp-sphinx` when `docs_url` is set)
6868

docs/architecture.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,6 @@ hatchling. Also a Sphinx extension that auto-orchestrates
140140
Source builds error loudly without pnpm/Node; wheels ship turn-key.
141141
:::
142142

143-
:::{grid-item-card} gp-sphinx-vite
144-
:link: packages/gp-sphinx-vite
145-
:link-type: doc
146-
147-
Autobuild-time Vite orchestrator opted into via
148-
`merge_sphinx_config(vite_orchestration=True)`. Spawns the watcher as
149-
a child process for the lifetime of `sphinx-autobuild`, with graceful
150-
SIGTERM teardown on exit.
151-
:::
152-
153143
::::
154144

155145
## How the tiers connect

docs/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ packages/sphinx-autodoc-typehints-gp
133133
packages/gp-sphinx
134134
packages/sphinx-gp-theme
135135
packages/gp-furo-theme
136-
packages/gp-sphinx-vite
137136
packages/sphinx-vite-builder
138137
```
139138

docs/packages/gp-sphinx-vite.md

Lines changed: 0 additions & 156 deletions
This file was deleted.

docs/packages/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Domain-specific [autodoc extensions](https://www.sphinx-doc.org/en/master/usage/
3535
[PEP 517](https://peps.python.org/pep-0517/) backends and orchestration helpers for theme asset pipelines:
3636

3737
- [`sphinx-vite-builder`](sphinx-vite-builder.md)[PEP 517](https://peps.python.org/pep-0517/) backend + Sphinx extension that runs Vite via pnpm
38-
- [`gp-sphinx-vite`](gp-sphinx-vite.md) — autobuild orchestrator opt-in via `vite_orchestration=True`
3938

4039
## Theme and coordinator
4140

docs/redirects.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ extensions/sphinx-ux-autodoc-layout packages/sphinx-ux-autodoc-layout
1313
extensions/sphinx-fonts packages/sphinx-fonts
1414
extensions/sphinx-gp-theme packages/sphinx-gp-theme
1515
extensions/gp-furo-theme packages/gp-furo-theme
16-
extensions/gp-sphinx-vite packages/gp-sphinx-vite
16+
extensions/gp-sphinx-vite packages/sphinx-vite-builder
1717
extensions/sphinx-vite-builder packages/sphinx-vite-builder
18+
packages/gp-sphinx-vite packages/sphinx-vite-builder
1819
extensions/sphinx-autodoc-typehints-gp packages/sphinx-autodoc-typehints-gp
1920
extensions/sphinx-argparse-neo packages/sphinx-autodoc-argparse
2021
extensions/sphinx-gptheme packages/sphinx-gp-theme

packages/gp-sphinx-vite/README.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

packages/gp-sphinx-vite/pyproject.toml

Lines changed: 0 additions & 43 deletions
This file was deleted.

packages/gp-sphinx-vite/src/gp_sphinx_vite/__init__.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)