Skip to content

Conversation

@Seven-Streams
Copy link
Collaborator

This PR enhances the website for structural tags.

Copilot AI review requested due to automatic review settings November 22, 2025 08:51
Copilot finished reviewing on behalf of Seven-Streams November 22, 2025 08:53
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the documentation for structural tag formats by integrating the sphinxcontrib-autodoc-pydantic Sphinx extension, which provides better rendering for Pydantic models including JSON schema examples.

  • Adds sphinxcontrib.autodoc_pydantic extension to Sphinx configuration
  • Configures the extension to display JSON examples for Pydantic models
  • Updates all structural tag format class documentation directives from autoclass to autopydantic_model

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/conf.py Adds sphinxcontrib.autodoc_pydantic extension and configures it to show JSON examples for Pydantic models
docs/api/python/structural_tag.rst Updates all 11 format class documentation directives from autoclass to autopydantic_model for better Pydantic model rendering

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

Signed-off-by: Yuchuan <[email protected]>
Signed-off-by: Yuchuan <[email protected]>
@Seven-Streams Seven-Streams merged commit 9c3e8e5 into mlc-ai:main Nov 29, 2025
39 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