Skip to content

Clean up docs nav titles and default uv toolchain#91

Merged
chris-colinsky merged 3 commits into
mainfrom
chore/docs-nav-and-uv-defaults
May 29, 2026
Merged

Clean up docs nav titles and default uv toolchain#91
chris-colinsky merged 3 commits into
mainfrom
chore/docs-nav-and-uv-defaults

Conversation

@chris-colinsky

Copy link
Copy Markdown
Member

Summary

Two unrelated housekeeping changes, one commit each:

  • Docs nav cleanup. The Patterns section in the left nav showed kebab-case titles (Tool-dispatch-as-node, Session-as-checkpoint-resume, Bypass-if-output-exists) inherited from the filenames, inconsistent with "Parameterized entry point". De-hyphenated the nav labels, page H1s, and index catalog links. Filenames stay kebab-case since they are the canonical pattern slugs behind patterns.get() / patterns.list(), so link targets and the public API are unchanged.
  • Default local toolchain. A plain uv run mkdocs serve failed because the docs toolchain (and the examples / observability deps) is not in uv's default sync set. Added a [tool.uv] default-groups for dev/docs/examples plus a new observability group that self-references the public otel/langfuse extras (uv can default groups, not extras). uv.lock regenerated to match.

Notes

  • CI uv sync invocations now also pull the default groups, so each job installs a bit more than it strictly needs (harmless). A follow-up could add --no-default-groups where CI wants a lean env.

Test plan

  • uv sync brings up docs + examples + otel/langfuse in one env
  • uv run mkdocs serve builds and serves; Patterns nav shows spaced titles
  • uv run pytest -q green (CI)
  • Docs build (mkdocs build --strict) green (CI)

The Patterns section showed kebab-case titles inherited from the
filenames (Tool-dispatch-as-node, Session-as-checkpoint-resume,
Bypass-if-output-exists), inconsistent with "Parameterized entry
point". Convert the nav labels, page H1s, and index catalog links
to spaced titles.

Filenames stay kebab-case: they are the canonical pattern slugs
behind patterns.get() / patterns.list(), so the link targets and
the public API surface are unchanged.
A plain `uv run mkdocs serve` failed because mkdocs lives in the docs
dependency group, which uv does not sync by default. The docs and
examples groups and the otel/langfuse extras were absent from the
default environment.

Add a [tool.uv] default-groups covering dev, docs, examples, and a
new observability group. uv can default groups but not extras, so the
observability group self-references the public otel/langfuse extras to
pull them into the default-synced env. Regenerate uv.lock to record
the new group.
Copilot AI review requested due to automatic review settings May 29, 2026 00:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Housekeeping PR that cleans up MkDocs nav/page titles for the Patterns section and configures uv's default-synced groups so uv run works out-of-the-box for docs, examples, and observability extras.

Changes:

  • De-hyphenate Patterns nav labels, page H1s, and index catalog links (filenames unchanged).
  • Add [tool.uv] default-groups covering dev/docs/examples plus a new observability group self-referencing openarmature[otel,langfuse].
  • Regenerate uv.lock to reflect the new group.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
mkdocs.yml Spaced titles for three Patterns nav entries.
docs/patterns/tool-dispatch-as-node.md H1 de-hyphenated.
docs/patterns/session-as-checkpoint-resume.md H1 de-hyphenated.
docs/patterns/bypass-if-output-exists.md H1 de-hyphenated.
docs/patterns/index.md Catalog link labels de-hyphenated.
pyproject.toml New observability group and [tool.uv] default-groups.
uv.lock Regenerated to include the new group.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

The de-hyphenate commit changed docs/patterns/ H1s but not the
artifacts generated from them: src/openarmature/AGENTS.md and the
src/openarmature/_patterns/ copies the patterns API serves. The
drift test caught the mismatch in CI.

Regenerate both via scripts/build_agents_md.py so the bundled recipe
titles match the docs. Pattern slugs (filenames / API keys) are
unchanged.
@chris-colinsky chris-colinsky merged commit d0e5840 into main May 29, 2026
6 checks passed
@chris-colinsky chris-colinsky deleted the chore/docs-nav-and-uv-defaults branch May 29, 2026 00:40
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.

2 participants