Skip to content

Improve API reference documentation#230

Merged
mwarkentin merged 1 commit intomainfrom
michaelwarkentin/docs/reference-api
Mar 8, 2026
Merged

Improve API reference documentation#230
mwarkentin merged 1 commit intomainfrom
michaelwarkentin/docs/reference-api

Conversation

@mwarkentin
Copy link
Owner

Summary

  • Add comprehensive docstrings to all public functions, settings, and constants across checks.py, views.py, utils.py, settings.py, constants.py, and decorators.py so mkdocstrings generates useful output
  • Restructure docs/reference/api.md with an intro paragraph, per-section descriptions, reordered sections (views first, internals last), explicit member lists to hide private functions, and show_source: false for views/decorators
  • Replace the empty watchman.urls auto-generated section with a hand-written URL pattern table with cross-links to views
  • Add a global !^_ private-member filter and adjust heading_level in mkdocs.yml

Test plan

  • mkdocs build --strict passes with zero warnings
  • All 63 tests pass

Made with Cursor

Add comprehensive docstrings to all public functions, settings, and
constants so mkdocstrings generates useful output. Restructure api.md
with intro text, per-section descriptions, reordered sections (views
first), explicit member lists to hide private internals, and a
hand-written URL table. Add global `!^_` filter in mkdocs.yml.

Made-with: Cursor
@mwarkentin mwarkentin merged commit 3029fba into main Mar 8, 2026
20 checks passed
@mwarkentin mwarkentin deleted the michaelwarkentin/docs/reference-api branch March 8, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant