Skip to content

docs: phase 6 — mkdocstrings API reference (final docs phase)#10

Merged
chad-loder merged 1 commit into
mainfrom
docs/phase-6-api-reference
May 13, 2026
Merged

docs: phase 6 — mkdocstrings API reference (final docs phase)#10
chad-loder merged 1 commit into
mainfrom
docs/phase-6-api-reference

Conversation

@chad-loder
Copy link
Copy Markdown
Owner

Summary

Final docs phase. docs/reference/api.md with mkdocstrings directives covering every public name re-exported from yarlpattern/__init__.py, tiered by audience:

  • Primary APIURLPattern, URLPatternResult, COMPONENTS
  • Escape helpersescape_pattern_string, escape_regexp_string
  • Low-level building blocks — tokenizer / parts / regex generation, for tools that compose URLPatterns programmatically

Auto-extracted from existing Google-style docstrings. Future API changes ship to the site on the next push to main with zero hand-maintained reference content to drift.

properdocs.yml nav gains a Reference > API entry between WPT Conformance and Comparisons.

With this merged, the documentation arc is complete

Section Phase URL
Overview 8 /overview/what-is-urlpattern/, /overview/ecosystem-adoption/
Examples (11 pages) 7 /examples/...
Reference (auto) 6 (this PR) /reference/api/
Comparisons 4 /comparisons/aiohttp/, /comparisons/yarl/
Explanation 5 /explanation/architecture/
WPT Conformance 1 /wpt-compliance/

Test plan

  • just docs --strict clean — mkdocstrings rendered every directive without warning
  • just lint all 11 tools pass
  • Phase 8 deploys verified live (HTTP 200) at both /overview/ pages
  • CI on this PR stays green
  • Post-merge deploy renders /reference/api/

docs/reference/api.md, with mkdocstrings directives covering every
public name re-exported from yarlpattern/__init__.py — tiered by
audience:

* Primary API — URLPattern, URLPatternResult, COMPONENTS
* Escape helpers — escape_pattern_string, escape_regexp_string
* Low-level building blocks (tokenizer / parts / regex generation) —
  for tools that compose URLPatterns programmatically

Auto-extracted from the existing Google-style docstrings. Future API
changes to docstrings ship to the site on the next push to main with
zero hand-maintained reference content to drift.

properdocs nav gains a Reference > API entry between WPT Conformance
and Comparisons. Phase 6 task #48 closed.

With Phase 6 merged the documentation arc is complete:

  Overview (URLPattern-101 + ecosystem)
  Examples (11 verified worked examples)
  Reference (auto-extracted API)
  Comparisons (vs aiohttp UrlDispatcher, vs yarl)
  Explanation (architecture)
  WPT Conformance (auto-generated)
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 12, 2026
@chad-loder chad-loder merged commit b78ce03 into main May 13, 2026
11 checks passed
@chad-loder chad-loder deleted the docs/phase-6-api-reference branch May 13, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant