Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
01015a2
docs: add Markdown code fences to docstrings
lukegalbraithrussell Aug 13, 2026
67812bc
docs: migrate API reference from HTML (pdoc3) to Markdown (pydoc-mark…
lukegalbraithrussell Aug 13, 2026
2266bf2
docs: serve package reference pages at folder URLs
lukegalbraithrussell Aug 13, 2026
23874b0
move to be within english
lukegalbraithrussell Aug 13, 2026
de6d47e
docs: fence App.start() example and target docs/english/reference
lukegalbraithrussell Aug 13, 2026
51128e2
docs: embed reference tree into _sidebar.json
lukegalbraithrussell Aug 13, 2026
c6960fc
go
lukegalbraithrussell Aug 14, 2026
2b95612
go
lukegalbraithrussell Aug 14, 2026
44bafeb
colliding paths fix
lukegalbraithrussell Aug 14, 2026
da71715
go
lukegalbraithrussell Aug 14, 2026
7bf50da
go
lukegalbraithrussell Aug 14, 2026
ab7e690
go
lukegalbraithrussell Aug 14, 2026
24fe29c
go
lukegalbraithrussell Aug 14, 2026
07ba452
toc
lukegalbraithrussell Aug 18, 2026
abe7dd9
docstrings
lukegalbraithrussell Aug 18, 2026
0669cbd
toggles
lukegalbraithrussell Aug 18, 2026
490dbde
griffe
lukegalbraithrussell Aug 20, 2026
ccfe23e
working
lukegalbraithrussell Aug 20, 2026
3b07a17
streamline
lukegalbraithrussell Aug 20, 2026
0e8f943
go
lukegalbraithrussell Aug 20, 2026
608fc38
cleanup
lukegalbraithrussell Aug 20, 2026
f8c6b89
fencing
lukegalbraithrussell Aug 20, 2026
9cdcc00
gen reference sidebar
lukegalbraithrussell Aug 25, 2026
6353313
go
lukegalbraithrussell Aug 26, 2026
eef36ac
Merge main: adopt Ruff + docstring formatting from #1566/#1567
lukegalbraithrussell Aug 28, 2026
4ff3e0f
Md reference griffe (#1569)
lukegalbraithrussell Sep 1, 2026
ff4a9f2
Merge branch 'main' into md-reference
lukegalbraithrussell Sep 3, 2026
fae307f
consolidate and tests
lukegalbraithrussell Sep 4, 2026
d910487
ci idea
lukegalbraithrussell Sep 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
go
  • Loading branch information
lukegalbraithrussell committed Aug 26, 2026
commit 6353313d95844ce07c9f00665cf6ee614d16c75c
21 changes: 21 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,27 @@ jobs:
- name: Type check all modules
run: mypy --config-file pyproject.toml

docs-reference:
name: Reference docs drift
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up Python ${{ env.LATEST_SUPPORTED_PY }}
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ env.LATEST_SUPPORTED_PY }}
# Regenerating also runs the MDX/acorn hazard gate inside the generator,
# so a stale tree or an unfenced code example both fail here.
- name: Regenerate the API reference
run: ./scripts/generate_api_docs.sh
- name: Fail if the committed reference is out of date
run: git diff --exit-code -- docs/english/reference

unittest:
name: Unit tests
runs-on: ubuntu-22.04
Expand Down
8 changes: 8 additions & 0 deletions requirements/documentation.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# pip install -r requirements/documentation.txt

# griffe
# Note: doc-gen only; the generator runs on the latest supported Python (see
# scripts/generate_api_docs.sh), so no python_version markers are needed.
# Note: pinned so the committed reference tree under docs/english/reference stays
# reproducible -- an unpinned griffe can silently shift the generated Markdown.
griffe==2.2.0
2 changes: 1 addition & 1 deletion scripts/generate_api_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cd "${script_dir}/.."
pip install -U pip
pip install -U -r requirements/adapter_dev.txt
pip install -U -r requirements/async_dev.txt
pip install -U griffe
pip install -U -r requirements/documentation.txt
pip install .
rm -rf docs/english/reference

Expand Down