This release is a pre-release and may not be stable for production use.
sphinx-gp-theme
Furo child theme for git-pull project documentation.
Inherits from Furo and bundles shared templates, custom CSS (heading refinements, TOC, typography, view transitions), SPA navigation JS, and the git-pull project sidebar.
Install
$ pip install sphinx-gp-theme
Usage
In your docs/conf.py:
html_theme = "sphinx-gp-theme"
Or use with gp-sphinx which sets the theme automatically.
JavaScript events
The bundled SPA-navigation layer dispatches the following CustomEvents on
document:
| Event | When | event.detail |
|---|---|---|
gp-sphinx:navigated |
After an SPA page swap completes — the new .article-container / .sidebar-tree / .toc-drawer are in the DOM and the built-in reinit (copybutton, scroll-spy, theme toggle) has run. |
{ url: string } — the new page URL. |
Widgets that bind event listeners to DOM inside .article-container should
listen for gp-sphinx:navigated in addition to DOMContentLoaded, because
that region is replaced in-place on every link click and old listeners are
destroyed along with it. Listeners on document or window (including those
added inside the handler) persist across swaps.
Minimal pattern:
function init() {
document.querySelectorAll(".my-widget").forEach(/* ... */);
}
document.addEventListener("DOMContentLoaded", init);
document.addEventListener("gp-sphinx:navigated", init);
Metadata
Release files for sphinx-gp-theme 0.1.0a39
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinx_gp_theme-0.1.0a39.tar.gz | 18.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_gp_theme-0.1.0a39-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 38.6 kB
Release files / sphinx_gp_theme-0.1.0a39.tar.gz
| Download URL | sphinx_gp_theme-0.1.0a39.tar.gz |
|---|---|
| Size | 18.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37c655eb9f186e2c67aa5ee7511804500a6eb5d077ced45f087e4a0167dc390e
|
|
BLAKE2b-256 checksum How to use checksums |
f5c6285a25231934b931981c4bffe35e3c2d8085500c16fb65c3410394ea0aee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.
Transparency logRelease files / sphinx_gp_theme-0.1.0a39-py3-none-any.whl
| Download URL | sphinx_gp_theme-0.1.0a39-py3-none-any.whl |
|---|---|
| Size | 20.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8c10f1b8cc2992b4fd74f594374d5ad61db2621d18ddceb8a49708078520441
|
|
BLAKE2b-256 checksum How to use checksums |
6db7d9c2bffc883d85332cf830236746117f88cce2cb197f80a461aa5d4623e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.
Transparency log