Skip to content

Conversation

@bokelley
Copy link
Contributor

Summary

Implements automated API documentation generation using pdoc3:

  • Added pdoc3 as optional dependency
  • Created GitHub Actions workflow to build and deploy docs on push to main
  • Updated README with API reference links
  • Docs automatically published to GitHub Pages at https://adcontextprotocol.github.io/adcp-client-python/

Test plan

  • Docs generate locally without errors: uv run pdoc --html --output-dir docs/api adcp
  • Live development server works: uv run pdoc --http :8080 adcp
  • After merge: Enable GitHub Pages in repo settings (Settings > Pages > Deploy from branch: gh-pages)
  • Verify docs appear at GitHub Pages URL

🤖 Generated with Claude Code

bokelley and others added 3 commits November 17, 2025 23:55
Implements automated API documentation generation:
- Added pdoc3 as optional dependency in [project.optional-dependencies]
- Created GitHub Actions workflow to build and deploy docs on push to main
- Updated README with API reference links and documentation section
- Added docs/api/ to .gitignore (generated content)

Documentation will be automatically published to GitHub Pages at:
https://adcontextprotocol.github.io/adcp-client-python/

Benefits:
- Zero-config API reference from existing docstrings
- Full type signature visibility
- Field descriptions from Pydantic/JSON Schema
- Searchable interface
- Mobile-friendly HTML

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Regenerated all type files to sync timestamps and ensure imports match.
This fixes the CI error where generated.py was trying to import Asset1
which didn't exist in brand_manifest.py.

The issue occurred because types were out of sync between generated
module files and the consolidated generated.py exports.
Merges type system refactoring and testing improvements from main branch.

Changes from main:
- Type system refactoring (generated.py → _generated.py)
- New stable API layer (src/adcp/types/stable.py)
- Testing improvements and documentation
- Schema updates (brand manifest, product types)
- 138 files changed in merge
@bokelley bokelley merged commit 6f7fdf1 into main Nov 18, 2025
7 checks passed
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