Skip to main content

Shared Sphinx documentation platform for git-pull projects

Project description

gp-sphinx · Python Package License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gp_sphinx-0.0.1a30.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gp_sphinx-0.0.1a30-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file gp_sphinx-0.0.1a30.tar.gz.

File metadata

  • Download URL: gp_sphinx-0.0.1a30.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gp_sphinx-0.0.1a30.tar.gz
Algorithm Hash digest
SHA256 ec1f35ad231800367c4805eb3cf06121d5354ee4fb13682856c7d621d9f5b3ae
MD5 178fb3c5ec53a61493d3479a760cc309
BLAKE2b-256 b855670e7511fe9ff16a4ea7506eaf4784c7176b58a2ee0d8c7f7841fdc3a692

See more details on using hashes here.

Provenance

The following attestation bundles were made for gp_sphinx-0.0.1a30.tar.gz:

Publisher: release.yml on git-pull/gp-sphinx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gp_sphinx-0.0.1a30-py3-none-any.whl.

File metadata

  • Download URL: gp_sphinx-0.0.1a30-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gp_sphinx-0.0.1a30-py3-none-any.whl
Algorithm Hash digest
SHA256 b4b4c51cd11d86732379976df03c03edf4dc9c11d5180af301b1824d26796675
MD5 c9d57758753adf4968dca37f724b53ff
BLAKE2b-256 f1323a228b7e4a3af261fe5a01fe801ecdf3369a41c011109077a4a6aeff550b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gp_sphinx-0.0.1a30-py3-none-any.whl:

Publisher: release.yml on git-pull/gp-sphinx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page