Skip to content

Conversation

@perrozzi
Copy link
Contributor

@perrozzi perrozzi commented Sep 5, 2025

This PR tries to improves the documentation structure and quality across the UTCP codebase by adding some more documentation into class docstrings and enhancing all README files with comprehensive cross-references.

Changes Made

Documentation Migration

  • Added protocol documentation into class docstrings for better maintainability and discoverability
  • Enhanced class documentation for HTTP, CLI, MCP, and Text plugins with usage examples and configuration patterns
  • Added documentation for previously undocumented classes including post-processors, search strategies, and utility components

README Improvements

  • Main README: Added repository structure section and improved protocol plugin table with cross-references
  • Core README: Rewrite with API reference, extension points, and development instructions
  • Plugin READMEs: Created comprehensive documentation for all plugins:
    • HTTP Plugin: Configuration examples, OpenAPI integration, authentication patterns
    • CLI Plugin: Command execution, security considerations, error handling
    • MCP Plugin: Migration scenarios, debugging examples, performance considerations
    • Text Plugin: Clarified support for both local files AND remote OpenAPI specs with examples

Cross-References

  • Added proper cross-references between all README files
  • Created navigation links between core and plugin documentation
  • Linked to external resources (examples repository, specifications)

Summary by cubic

Migrated protocol and plugin docs into class docstrings and overhauled all README files for clearer setup, usage, and cross-references. Improves in-code discoverability and adds copy-paste examples for HTTP, CLI, MCP, and Text plugins.

  • New Features
    • Added comprehensive docstrings for core components (exceptions, tag/description search, plugin loader) and post-processors with usage and config notes.
    • Documented plugin call templates (HTTP, CLI, MCP) directly in code with practical configuration examples and security tips.
    • Reworked main README with repository structure, quick start, and a plugin matrix.
    • Rewrote core README with architecture, quick start, config, extension points, testing, and build steps.
    • Expanded plugin READMEs (HTTP, CLI, MCP, Text) with features, install steps, rich config examples, OpenAPI integration, migration guidance (MCP), security/error handling, and testing snippets.
    • Added consistent cross-links between core and plugin docs and to the examples repository.
    • Docs-only changes; no runtime behavior impact.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

15 issues found across 15 files

React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai to give feedback, ask questions, or re-run the review.

h3xxit and others added 4 commits September 7, 2025 09:43
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
…late.py

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
@h3xxit h3xxit changed the base branch from main to dev September 7, 2025 08:48
@h3xxit h3xxit merged commit 8a0a449 into dev Sep 7, 2025
12 checks passed
@h3xxit h3xxit deleted the update_api_docs branch September 7, 2025 09: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