Clarify template context metadata names

This commit is contained in:
Simon Willison 2026-06-23 11:30:30 -07:00
commit 59ab0c0ca0
7 changed files with 65 additions and 63 deletions

View file

@ -27,7 +27,7 @@ def template_context(cog):
for klass in PAGES.values():
title = "{} page".format(klass.__name__.removesuffix("Context"))
intro = "{} Rendered using the ``{}`` template.".format(
klass.__doc__, klass.template
klass.__doc__, klass.documented_template
)
_section(cog, title, intro)
if klass.extras_scope is not None: