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.1a16.dev2.tar.gz (17.0 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.1a16.dev2-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file gp_sphinx-0.0.1a16.dev2.tar.gz.

File metadata

  • Download URL: gp_sphinx-0.0.1a16.dev2.tar.gz
  • Upload date:
  • Size: 17.0 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.1a16.dev2.tar.gz
Algorithm Hash digest
SHA256 3f7101a4a9d1c721686f8669c04939d38a23cfa2a3835641ddab9416817b465f
MD5 1f81325099be7012d80d2efa2ae96c8e
BLAKE2b-256 8b9ce4706635a96336ab5d7579fad970a27f1a60d10ba2d455eedf37a2a0570c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gp_sphinx-0.0.1a16.dev2.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.1a16.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for gp_sphinx-0.0.1a16.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 74b1ad222850c4bb2c1e173a352433594baa7ad1bb31b0b4e94bf78463f2602b
MD5 12a3a21c0680f401262320ed20c73267
BLAKE2b-256 1a6c987986a7504c1478cc0745b7cdc3f80b746c1c7925af41b30d0ca4beb5bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for gp_sphinx-0.0.1a16.dev2-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