Improved Stencil schemas reference documentation
Thanks to user feedback, the Stencil schemas reference has been rewritten so theme developers can answer the question “what objects can I actually use on this template?” without scanning the whole page.
- Scannable property docs — every object’s properties are now rendered as
ParamFieldrows with collapsibleExpandablesections for nested objects and arrays. - Globals-first ordering — the Global objects table (available on every template) appears before the Page-specific context table, so the always-available baseline is the first thing you see.
- Expanded page-context table — added rows for
checkout.html,page-contact-form.html,{{pagination}}onblog.html, and{{faceted_search}}onsearch.html. A new callout names common routes (auth/login.html,errors.html, etc.) that receive only the globals, so gaps in the table aren’t read as omissions. - Runtime inspection tip — a callout at the top links to
?debug=contextso you can dump the live context object for any URL instead of guessing from docs. theme_settingsrewritten for non-Cornerstone themes — a new warning callout explains that the documented keys are Cornerstone defaults, not a fixed schema, and new subsections show how to access values via dot notation and how to find the real key list for your theme viaconfig.jsonand?debug=context.- Per-object metadata — every object now leads with a uniform Scope / Available on / Handlebars expression block instead of the previous mix of floating type hints.
Keep the feedback coming — every piece of feedback we receive directly contributes to the improvement of our docs. Use the Was this page helpful? widget at the bottom of any docs page, and we’ll keep iterating.
For details, see the Stencil schemas reference.