templating.adapter

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

Template adapter seam — abstracts Kida for composition rendering.

Chirp uses this protocol so the composition layer stays independent of Kida internals. The KidaAdapter routes render_template, render_block, compose_layout, and template_metadata through Kida's…

Template adapter seam — abstracts Kida for composition rendering.

Chirp uses this protocol so the composition layer stays independent of Kida internals. The KidaAdapter routes render_template, render_block, compose_layout, and template_metadata through Kida's public APIs.

templating.adapter

Name Type Default Description
type
qualified_name
element_type
description
source_file
line_number
is_autodoc
autodoc_element
_autodoc_template
_autodoc_url_path
_autodoc_page_type
title
doc_content_hash

Symbols on this page

TemplateAdapter
class

Protocol for template rendering used by the composition layer.

Implementations wrap Kida (or another engine) without exposing framework-specific details to negotiation.

View source · /home/runner/work/chirp/chirp/site/../src/chirp/templating/adapter.py:1