Vyasa Extension Refactor Audit and Execution Plan

File-Level Audit And Target OwnershipURL copied

vyasa/content_routes.pyURL copied

Current:

  • Renders posts, PDFs, tree files, slides, index, fallback home.
  • Imports Markdown private fragment renderer.
  • Imports Slides internals.
  • Imports Tree renderer.
  • Owns document page composition.

Target:

  • Split into:
    • filesystem content source extension
    • documents route extension
    • pdf_document extension or document kind provider
    • tree_document extension or document kind provider
    • slides route extension
    • blog_home home extension

Action:

  • Move render_slide_deck into extensions_builtin/slides/routes.py.
  • Move _fallback_home_markdown into blog_home.
  • Move _breadcrumbs, _prev_next_nav, and document actions into a document extension.
  • Replace _render_markdown_fragment import with app.markdown.render_fragment contract.