docs: improve template variables documentation with variable reference page#123
Merged
Merged
Conversation
…e page
- Add new Variable Reference page with comprehensive helper documentation
- Streamline main template-variables page as an overview
- Add Environments & Secrets UI screenshot
- Document {{ env.* }} prefix for environment variables in templates
- Add complete handlebars helper reference including date, currency, address helpers
- Document Excel-like calc formulas with all available functions
- Add "Where Variables Are Supported" feature matrix
Slack: https://epilot.slack.com/archives/CG5GDRC77/p1777465683037349?thread_ts=1777464857.029149&cid=CG5GDRC77
https://claude.ai/code/session_01EMdAbE7cPq8KFERXxAbgp2
Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
{{ env.* }}prefix for environment variables in templates prominentlyChanges
New: Variable Reference Page (
docs/templates/variable-reference.md)Complete reference for all template variables and Handlebars helpers including:
{{system.date}},{{system.time}}){{ env.* }}prefixcalcformulas with all arithmetic operators, math functions, and date functionsUpdated: Template Variables Page (
docs/templates/template-variables.md)Updated: Environments & Secrets Page (
docs/environments/environments-secrets.md)Context
This improves the documentation based on user feedback about finding information on template variables, particularly:
{{system.date}}is documented{{ env.* }}Slack: https://epilot.slack.com/archives/CG5GDRC77/p1777465683037349?thread_ts=1777464857.029149&cid=CG5GDRC77
Test plan
https://claude.ai/code/session_01EMdAbE7cPq8KFERXxAbgp2