Kida preview environment for offline macro rendering.
Used by the blocks-gallery generator and component render tests. Mirrors the
Chirp runtime stubs registered intests/conftest.pyso manifest usage
snippets can be rendered without a full Chirp app.
preview_env
| 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
make_preview_env
function
def make_preview_env() -> Environment
Return a Kida environment wired for chirp-ui template previews.
No parameters.
View source · /home/runner/work/chirp-ui/chirp-ui/site/../src/chirp_ui/preview_env.py:1