Skip to content

Latest commit

 

History

History
143 lines (110 loc) · 2.77 KB

File metadata and controls

143 lines (110 loc) · 2.77 KB

(index)=

gp-sphinx

Integrated autodoc design system for git-pull Sphinx projects.

::::{grid} 1 1 2 3 :gutter: 2 2 3 3

:::{grid-item-card} What's New :link: whats-new :link-type: doc The unified autodoc design system — seven major advancements. :::

:::{grid-item-card} Gallery :link: gallery :link-type: doc Visual showcase of the autodoc design system in action. :::

:::{grid-item-card} Architecture :link: architecture :link-type: doc Three-tier package organization — infrastructure, domain, and presentation. :::

:::{grid-item-card} Quickstart :link: quickstart :link-type: doc Install and get started in minutes. :::

:::{grid-item-card} Packages :link: packages/index :link-type: doc Twelve workspace packages — coordinator, extensions, and theme. :::

:::{grid-item-card} Configuration :link: configuration :link-type: doc Parameter reference for {py:func}~gp_sphinx.config.merge_sphinx_config and shared defaults. :::

::::

Install

$ pip install gp-sphinx
$ uv add gp-sphinx

At a glance

Replace ~300 lines of duplicated docs/conf.py with ~10 lines:

from gp_sphinx.config import merge_sphinx_config

conf = merge_sphinx_config(
    project="my-project",
    version="1.0.0",
    copyright="2026, Tony Narlock",
    source_repository="https://github.com/git-pull/my-project/",
)
globals().update(conf)

What you get

Out of the box, {py:func}~gp_sphinx.config.merge_sphinx_config activates:

  • Unified badge system — type and modifier badges for functions, classes, fixtures, tools
  • Componentized layout — card containers, parameter folding, managed signatures
  • Clean type hints — simplified annotations with cross-referenced links
  • Five domain autodocumenters — Python API, pytest fixtures, FastMCP tools, docutils, Sphinx config
  • IBM Plex fonts — professional typography with preloaded web fonts
  • Dark mode — full light/dark theming via CSS custom properties

See the {doc}gallery to see these in action.

:hidden:

whats-new
gallery
architecture
quickstart
configuration
packages/index
api
project/index
history
:caption: Domain Packages
:hidden:

packages/sphinx-autodoc-api-style
packages/sphinx-autodoc-argparse
packages/sphinx-autodoc-docutils
packages/sphinx-autodoc-fastmcp
packages/sphinx-autodoc-pytest-fixtures
packages/sphinx-autodoc-sphinx
:caption: UX
:hidden:

packages/sphinx-fonts
packages/sphinx-ux-autodoc-layout
packages/sphinx-ux-badges
:caption: Utils
:hidden:

packages/sphinx-autodoc-typehints-gp
:caption: Internal
:hidden:

packages/gp-sphinx
packages/sphinx-gp-theme
:caption: SEO
:hidden:

packages/sphinx-gp-opengraph
packages/sphinx-gp-sitemap