This release is a pre-release and may not be stable for production use.
sphinx-gp-llms
LLM-friendly documentation outputs for Sphinx. Generates llms.txt,
llms-full.txt, docs.json, and per-page .md twin files during the
standard HTML build, giving LLM agents machine-readable entry points to
your documentation.
Part of the gp-sphinx documentation platform.
Install
$ pip install sphinx-gp-llms
When you depend on gp-sphinx, this extension is already loaded — see
the package docs page
for the integration story. The full config-key reference is
auto-generated from the live app.add_config_value() registrations.
Credits
The output formats follow conventions established by their respective communities:
llms.txt— proposed by Jeremy Howard (Answer.AI), September 2024. Specification at llmstxt.org.llms-full.txt— community convention adopted by Anthropic, Cloudflare, GitBook, Hugging Face, and others.docs.json— agent-manifest convention inspired by Lakebed (Ping,github.com/pingdotgg/span). See A note ondocs.jsonbelow.- Per-page
.mdtwins — convention popularized by Cloudflare ("Markdown for Agents"), Stripe, Anthropic, and Vercel. - Footer layout (
Source: docs/page.md · Machine-readable: Markdown, raw source, docs.json, llms.txt, llms-full.txt) — inspired by docs.lakebed.dev.
A note on docs.json
Sphinx already ships an inter-project linking mechanism:
objects.inv,
the inventory file that powers
intersphinx.
It maps qualified names (classes, functions, config values) to URLs
across Sphinx sites. It is not, however, designed for LLM consumption
— the format is a compressed binary with a domain-specific schema
oriented toward cross-reference resolution, not content discovery.
docs.json fills a different role: a site-level beacon that tells
agents where the documentation lives, what pages exist, and how to
fetch them in Markdown. It carries agentEntrypoints (pointers to
llms.txt, llms-full.txt, and itself), a flat pages[] array with
per-page markdownUrl and headings[], and the project's
sourceRepository.
There is no published specification for this format. We first noticed
the convention at Lakebed
(github.com/pingdotgg/span). Other documentation platforms also
emit a file named docs.json, but those are typically site-builder
configuration files (theme colors, navigation structure) closer to a
manifest.json than an agent-oriented content manifest.
See also
- sphinx-gp-sitemap
— companion package for
sitemap.xmlemission - sphinx-gp-opengraph — companion package for OpenGraph meta-tag emission
- gp-sphinx — the umbrella
docs platform; auto-derives
site_urlfrom a singledocs_urlargument - sphinx-gp-llms package page — integration story, event hooks, and config reference
Metadata
Release files for sphinx-gp-llms 0.1.0a39
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sphinx_gp_llms-0.1.0a39.tar.gz | 10.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_gp_llms-0.1.0a39-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.3 kB
Release files / sphinx_gp_llms-0.1.0a39.tar.gz
| Download URL | sphinx_gp_llms-0.1.0a39.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7cbd5dbc02e4438a896baab3c6bc7782ab5cf049fab13991882cf8cf6ea2a14
|
|
BLAKE2b-256 checksum How to use checksums |
62799c14cf5bd35818aefa1b867240528f6df371531ba91aa1a4508f58a938bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.
Transparency logRelease files / sphinx_gp_llms-0.1.0a39-py3-none-any.whl
| Download URL | sphinx_gp_llms-0.1.0a39-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08309d0a0b236232fe590815fc994f72a34091937bb1877f3a1376f211ea9325
|
|
BLAKE2b-256 checksum How to use checksums |
63390c152a3e0e9d3c349f045295a3202f18e2013c527eb188db54cdd5948fcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.
Transparency log