plating 2025-09-21
Debug and test doc generation with schema utilities refactoring
86 files · 29,501+ · 410-

Documentation output generation

8 files changed
  • index.md Debug docs index page
  • file_content.md Generated resource documentation
  • env_variables.md Generated data source documentation
  • add.md Generated function documentation
  • index.md Test docs index page
  • file_content.md Generated resource documentation for testing
  • env_variables.md Generated data source documentation for testing
  • add.md Generated function documentation for testing
  • Generated debug_docs/ directory with full documentation for all component types organized by resource, data_source, function specify internal
    4 files
    • index.md
    • file_content.md
    • env_variables.md
    • add.md
  • Generated test_docs/ directory with identical documentation structure for testing qualify internal
    4 files
    • index.md
    • file_content.md
    • env_variables.md
    • add.md
  • Each component gets detailed markdown with schemas, examples, and usage documentation specify internal
    2 files
    • local_directory.md
    • timed_token.md
  • Covers 6 data sources, 16 functions, and 5 resources specify internal
    3 files
    • file_info.md
    • contains.md
    • private_state_verifier.md

Core doc generation system

3 files changed
  • doc_generator.py Documentation generation orchestration (242 lines)
  • project_utils.py Project-level utility functions (66 lines)
  • schema_helpers.py Schema extraction helpers (146 lines)
  • Added src/plating/core/doc_generator.py (242 lines) for orchestrating documentation generation across component types instantiate internal
    1 file
    • doc_generator.py
  • Added src/plating/core/project_utils.py (66 lines) for project-level utility functions instantiate internal
    1 file
    • project_utils.py
  • Added src/plating/core/schema_helpers.py (146 lines) for schema extraction helpers instantiate internal
    1 file
    • schema_helpers.py

Schema utilities subpackage

3 files changed
  • __init__.py Schema utils subpackage init
  • formatters.py Schema formatting extracted from monolithic schema.py (221 lines)
  • schema.py Simplified by delegating to schema_utils (~259 lines reduced)
  • Added src/plating/schema_utils/formatters.py (221 lines) extracting schema formatting from the monolithic schema.py decouple internal
    1 file
    • formatters.py
  • Simplified src/plating/schema.py (reduced by ~259 lines) by delegating to schema_utils decouple internal
    1 file
    • schema.py

Minor updates across the package

18 files changed
  • __init__.py Updated exports
  • cli.py CLI command updates
  • api.py API facade updates
  • async_template_engine.py Template engine adjustments
  • base.py Bundle base updates
  • adorner.py Adorner adjustments
  • markdown_validator.py Validator adjustments
  • registry.py Registry updates
  • template_functions.py Template function updates
  • types.py Type definition updates
  • plating.py Core plating module updates
  • pyproject.toml Dependency updates
  • settings.local.json Updated settings
  • test_modern_api.py Test updates for modern API
  • test_module_imports.py Module import test updates
  • test_schema.py Schema test updates
  • test_plating_bundle.py Bundle test updates
  • test_plating_discovery.py Discovery test updates
  • Updated CLI commands, API facade, async template engine, bundles, markdown validator, registry, and template functions with small fixes decouple internal
    7 files
    • cli.py
    • api.py
    • async_template_engine.py
    • base.py
    • markdown_validator.py
    • registry.py
    • template_functions.py
  • Updated test files for modern API and module imports qualify internal
    3 files
    • test_modern_api.py
    • test_module_imports.py
    • test_schema.py