Page shell contract validation.
contracts.rules_page_shell
| 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
check_page_shell_contracts
function
def check_page_shell_contracts(program: HypermediaProgram | None) -> list[ContractIssue]
Validate required fragment blocks across page templates.
Page shell contracts describe which fragment blocks leaf page templates
must expose for registered shell targets like#main and #page-root.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
program
|
HypermediaProgram | None
|
— |
View source · /home/runner/work/chirp/chirp/site/../src/chirp/contracts/rules_page_shell.py:1