Shared Sphinx documentation platform for git-pull projects
Project description
gp-sphinx ·

Shared Sphinx documentation platform for git-pull projects.
Consolidates duplicated docs configuration, extensions, theme settings, and workarounds from 14+ repositories into a single reusable package.
Install
$ pip install gp-sphinx
$ uv add gp-sphinx
Usage
Replace ~300 lines of duplicated docs/conf.py with ~10 lines:
"""Sphinx configuration for my-project."""
from __future__ import annotations
from gp_sphinx.config import merge_sphinx_config
import my_project
conf = merge_sphinx_config(
project="my-project",
version=my_project.__version__,
copyright="2026, Tony Narlock",
source_repository="https://github.com/git-pull/my-project/",
intersphinx_mapping={
"py": ("https://docs.python.org/", None),
},
)
globals().update(conf)
Features
merge_sphinx_config()API for shared defaults with per-project overrides- Shared extension list (autodoc, intersphinx, myst_parser, sphinx_design, etc.)
- Shared Furo theme configuration (CSS variables, fonts, sidebar, footer)
- Bundled workarounds (tabs.js removal, spa-nav.js injection)
- Shared font configuration (IBM Plex via Fontsource)
More information
- Documentation: https://gp-sphinx.git-pull.com
- Source: https://github.com/git-pull/gp-sphinx
- Changelog: https://github.com/git-pull/gp-sphinx/blob/master/CHANGES
- Issues: https://github.com/git-pull/gp-sphinx/issues
- PyPI: https://pypi.org/project/gp-sphinx/
- License: MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gp_sphinx-0.0.1a12.tar.gz.
File metadata
- Download URL: gp_sphinx-0.0.1a12.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c31029d19bc79b5fa92620456ed1b78a7073b1480acb54d31cbf8fa80f16a9ac
|
|
| MD5 |
22c69b1c829b6c20876e18b193cbc3c1
|
|
| BLAKE2b-256 |
6272edebe2ab31642abf59c93767c39bb2a7865ec0a13a8490f888c079cdaae9
|
Provenance
The following attestation bundles were made for gp_sphinx-0.0.1a12.tar.gz:
Publisher:
release.yml on git-pull/gp-sphinx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gp_sphinx-0.0.1a12.tar.gz -
Subject digest:
c31029d19bc79b5fa92620456ed1b78a7073b1480acb54d31cbf8fa80f16a9ac - Sigstore transparency entry: 1395867565
- Sigstore integration time:
-
Permalink:
git-pull/gp-sphinx@ebe75cb47c99004604a4e1e482f92f80d99ef3fd -
Branch / Tag:
refs/tags/v0.0.1a12 - Owner: https://github.com/git-pull
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ebe75cb47c99004604a4e1e482f92f80d99ef3fd -
Trigger Event:
push
-
Statement type:
File details
Details for the file gp_sphinx-0.0.1a12-py3-none-any.whl.
File metadata
- Download URL: gp_sphinx-0.0.1a12-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ca147f561470fb44d5ceb71da164c445292e20001b0daf7485ed892ab551d29
|
|
| MD5 |
dd48db4d1955c37acd8a47e7c5e6a354
|
|
| BLAKE2b-256 |
0625106f9cb8caf09d9efb4df51c5d8f2c8e5075bd107a7c147e90487217b169
|
Provenance
The following attestation bundles were made for gp_sphinx-0.0.1a12-py3-none-any.whl:
Publisher:
release.yml on git-pull/gp-sphinx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gp_sphinx-0.0.1a12-py3-none-any.whl -
Subject digest:
1ca147f561470fb44d5ceb71da164c445292e20001b0daf7485ed892ab551d29 - Sigstore transparency entry: 1395867698
- Sigstore integration time:
-
Permalink:
git-pull/gp-sphinx@ebe75cb47c99004604a4e1e482f92f80d99ef3fd -
Branch / Tag:
refs/tags/v0.0.1a12 - Owner: https://github.com/git-pull
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ebe75cb47c99004604a4e1e482f92f80d99ef3fd -
Trigger Event:
push
-
Statement type: