Repository navigation
docs(api): Add per-module pages and split aio - #205
Merged
Merged
Conversation
why: Give every public module and split package its own API reference
page after #204 and earlier contrib splits while preserving existing
docs URLs through Sphinx rediraffe redirects.
what:
- Break docs/api/aio.md into docs/api/aio/{index,core,stream,pty}.md
- Break docs/api/contrib_tmux.md and contrib_syrupy.md into
docs/api/contrib/{index,syrupy}.md and
docs/api/contrib/tmux/{index,profile,capture,window,control}.md
- Add dedicated pages for views, snapshot, format, and recorder
- Scope screen.md and terminal.md to owned symbols and canonicalize
cross-references across docs, docstrings, CHANGES, and MIGRATION
- Update docs/redirects.txt for moved API paths and document the
dirhtml same-path note for api/aio
- Add test_every_public_module_has_api_doc_page() in tests/test_libvt.py
Refs #203
This was referenced Dec 5, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #204 (
Refs #203).Summary
docs/api/aio.mdintodocs/api/aio/(index,core,stream,pty).docs/api/contrib_tmux.mdanddocs/api/contrib_syrupy.mdintodocs/api/contrib/(index,syrupy, andtmux/{index,profile,capture,window,control}).docs/api/views.md,docs/api/snapshot.md,docs/api/format.md, anddocs/api/recorder.md.docs/redirects.txt(sphinxext-rediraffe) forapi/tmux,api/contrib_tmux, andapi/contrib_syrupy(notingapi/aio->api/aio/indexshares the samedirhtmloutput path/api/aio/index.html).docs/api/screen.mdanddocs/api/terminal.mdto their owned symbols and canonicalizes Sphinx cross-references to owning modules across docs, docstrings,CHANGES, andMIGRATION.test_every_public_module_has_api_doc_page()intests/test_libvt.pyso every public module and package keeps a dedicated API page.Verification
ruff check .&ruff format --check .(143 files)ty checkacrosslinux(3.12, 3.15),darwin(3.14), andwin32(3.14)pytest -q tests/test_libvt.py tests/test_testing.py tests/test_tmux.py README.md docs/(258 passed)sphinx-build -b dirhtml -W --keep-going docs(62 pages, 0 warnings, all 4 rediraffe redirects(good))