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.1a15.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.1a15-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gp_sphinx-0.0.1a15.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.1a15.tar.gz
Algorithm Hash digest
SHA256 cd33170d3e1afa3e9d997081c682329a813aea19b5bbd6cb23c47d81baa11501
MD5 45d7d4846216e993704a2ded8d5524e7
BLAKE2b-256 7b920756e0d097d43bf236ae6eced0dee7eb284525393790e4a8e3fd59e6badf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gp_sphinx-0.0.1a15-py3-none-any.whl
  • Upload date:
  • Size: 17.4 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.1a15-py3-none-any.whl
Algorithm Hash digest
SHA256 b6694a78c98802147c5f6f50f7afbd1dba5efaed8121cb87124d1eb8350c6f75
MD5 d935ab7b826d96b75df0ab81693e4ef7
BLAKE2b-256 69fbb9ff170ab93989b8bd5adecbde52b2c814ccadbef111cf88e225a526f536

See more details on using hashes here.

Provenance

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