Repository navigation
Dev/v2.1.2-2 - #246
Merged
Merged
Dev/v2.1.2-2#246
Conversation
added 3 commits
November 24, 2026 11:47
- Introduce GitHub Actions workflow for MkDocs Material site build and deployment - Enable docs build on PRs, pushes to main, and release publishing events - Add hooks.py to provide dynamic substitutions for SDK version and release notes - Implement localized rendering of release notes with support for English and Chinese - Add release-notes.md in English and Chinese with changelog overview and 2.0 highlights - Refine sidebar navigation and prune 404 pages from sitemap for i18n builds - Re-export applications subpackage for improved type checking and documentation cohesion (cherry picked from commit 6368a5b)
(cherry picked from commit e2167a2)
- Set environment variables to simulate consistent fake TTY behavior in tests - Add test to ensure Rich spinner produces no output on TERM=dumb - Patch sleep function to speed up test execution - Validate that no escape sequences are emitted on dumb terminals during job wait - Ensure text assertions are consistent across different CI and terminal environments
- Add pymdownx.snippets to mkdocs.yml with path checking and dedenting - Update GitHub release template markdown with improved section handling - Enhance docs workflow to report and sync API reference coverage during build - Simplify release notes rendering with external Python script - Add multiple runnable example code snippets and sync them in docs/en and docs/zh - Introduce new usage resource documentation in agentstudio reference - Add new test for docs reference synchronization (test_docs_reference.py) - Add tests for release notes renderer script (test_release_notes_script.py) - Implement tools/gen_reference.py to auto-sync API reference pages with public API - Bump version to 2.1.2
…ronization - Split sync_page into modular helper functions (_scan_entries, _discovery_scope, _module_candidates, _discover_additions, _place_additions, _render_page) - Implement canonical identity collection across locales to unify coverage - Add _sync_locale for locale-specific synchronization with drift detection - Enhance drift reporting with detailed added and removed directive logs - Introduce _report_gaps to clearly report unclassified public modules - Consolidate and clarify code for discovering additions and handling __all__ - Refactor import warnings and drift handling for improved messaging and control - Remove duplicated logic by reusing helper functions across locale sync process test(finetune_rl_shim): assert server module loads without importing fastapi lazily - Add subprocess-based tests to verify lazy import behavior using fresh interpreters - Utilize runpy and importlib.util.find_spec scripts to ensure fastapi is not pre-imported test(docs_reference): fix test formatting and add code style improvements - Add missing trailing commas and break long arguments into multiple lines - Align multi-line function calls with trailing commas for clearer diffs - Correct line breaks to respect 100 char commit message line length limit test(release_notes_script): format code for argument parsing and function calls - Split long argument lists into multiple lines with proper indentation - Add missing trailing commas and use consistent parentheses style - Clean up assertion blocks for improved readability style(render_release_notes): format configuration and clean up string concatenation - Break tuple entries and argument lists across multiple lines for clarity - Simplify conditional string construction to a single line expression - Consistently apply line breaks and indentation to argparse setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
[Describe what this PR does and why]
Related Issue: Fixes #[issue_number] or Relates to #[issue_number]
Security Considerations: [Check if API keys or sensitive credentials are exposed in code/logs]
Type of Change
Component(s) Affected
Checklist
Testing
[How to test these changes]
Additional Notes
[Optional: any other context]