Skip to content

docs: add mkdocs-material site with GH Pages deploy#122

Merged
zeevdr merged 1 commit into
mainfrom
feat/issue-8-mkdocs
Jun 3, 2026
Merged

docs: add mkdocs-material site with GH Pages deploy#122
zeevdr merged 1 commit into
mainfrom
feat/issue-8-mkdocs

Conversation

@zeevdr
Copy link
Copy Markdown
Member

@zeevdr zeevdr commented Jun 3, 2026

Summary

  • Provides an official docs site at https://opendecree.github.io/decree-python so users have a navigable, searchable reference instead of markdown files scattered across the repo.
  • Adds auto-generated API reference via mkdocstrings, covering all public classes, errors, and data types from docstrings.
  • Wires a GH Pages deploy workflow so the site stays current on every push to main and every version tag.

Test plan

  • pip install mkdocs-material mkdocstrings[python] && mkdocs build runs clean from repo root
  • mkdocs serve renders all four pages (Home, Connecting, Watching, API Reference) without errors
  • API reference page resolves opendecree.ConfigClient, AsyncConfigClient, ConfigWatcher, WatchedField, error classes, and data types
  • CI deploy workflow triggers on push to main; GH Pages environment URL resolves after first deployment

Closes #8

Add MkDocs Material documentation site targeting
https://opendecree.github.io/decree-python.

- mkdocs.yml with Material theme (teal/cyan palette), mkdocstrings
  plugin, nav structure
- docs/index.md: intro, install, quick start, examples table
- docs/guide/connect.md: all client options (auth, TLS, retry,
  timeouts, OTel, errors)
- docs/guide/watch.md: watcher lifecycle, WatchedField API, async,
  fork safety
- docs/api/index.md: auto-generated reference via mkdocstrings for
  all public classes and errors
- .github/workflows/docs.yml: builds and deploys to GH Pages on push
  to main and version tags
- sdk/pyproject.toml: adds docs optional-dependencies group, updates
  Documentation URL
- README.md: adds docs badge linking to the site

Closes #8

Co-Authored-By: Claude <noreply@anthropic.com>
@zeevdr zeevdr added size: M Moderate — a day or two, clear scope priority: P2 Nice-to-have labels Jun 3, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@zeevdr zeevdr merged commit 70d1185 into main Jun 3, 2026
15 checks passed
@zeevdr zeevdr deleted the feat/issue-8-mkdocs branch June 3, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: P2 Nice-to-have size: M Moderate — a day or two, clear scope

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish Python SDK docs site via mkdocs-material on GH Pages

1 participant