Skip to content

feat: add MkDocs developer documentation site#45

Open
Tehsmash wants to merge 1 commit into
Agent-Card:mainfrom
Tehsmash:feat/mkdocs-documentation-site
Open

feat: add MkDocs developer documentation site#45
Tehsmash wants to merge 1 commit into
Agent-Card:mainfrom
Tehsmash:feat/mkdocs-documentation-site

Conversation

@Tehsmash

Copy link
Copy Markdown

Summary

Adds a developer-friendly documentation site to make ai-catalog accessible to developers beyond the normative W3C specification.

  • 11 documentation pages under docs/: overview, quickstart, 5 guides (creating a catalog, serving, consuming, organizing, adding trust), 3 annotated examples, and a spec signpost
  • MkDocs + Material theme (mkdocs.yml) with a single left-hand navigation, light/dark mode, and code copy
  • Inverted gh-pages URL structure: developer docs at root (/), spec moved to /spec/
  • New publish-docs.yml CI workflow that builds and deploys the docs site to gh-pages root
  • Extended update_gh_pages.py with a subdir mode for deploying to named subdirectories; root mode now preserves spec/ alongside pr/
  • Updated publish-spec.yml to deploy the spec to spec/ using the new subdir mode
  • mkdocs-material added to pyproject.toml as a [dependency-groups] docs dependency

Local preview

uv sync --group docs
uv run --group docs mkdocs serve

Adds a developer-friendly documentation site powered by MkDocs and the
Material theme, making ai-catalog accessible to developers beyond the
normative W3C specification.

Key changes:
- docs/ — 11 pages covering overview, quickstart, 5 guides (creating,
  serving, consuming, organizing, trust), 3 annotated examples, and a
  spec signpost
- mkdocs.yml — Material theme config with single left-hand nav, no tabs
- pyproject.toml — adds [dependency-groups] docs with mkdocs-material
- .github/workflows/publish-docs.yml — new CI workflow deploying docs
  to gh-pages root
- tools/update_gh_pages.py — adds subdir mode and preserves spec/ in
  root mode
- .github/workflows/publish-spec.yml — spec now deploys to spec/
  subdirectory, freeing root for the docs site

URL structure after deployment:
  https://agent-card.github.io/ai-catalog/       ← developer docs
  https://agent-card.github.io/ai-catalog/spec/  ← normative spec

Signed-off-by: Sam Betts <1769706+Tehsmash@users.noreply.github.com>
@Tehsmash Tehsmash requested a review from a team as a code owner June 19, 2026 15:30
Identifies the version of the AI Catalog specification this document conforms to. Always present. Clients check this before processing.

**`entries`**
The list of artifacts. Each entry has four required fields: `identifier`, `displayName`, `mediaType`, and `url`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Flagging this could race with #39

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.

3 participants