Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: document non top level partials #1355

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/mason_cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ It is possible to have templates nested within other templates. For example, giv

The `{{~ header.md }}` and `{{~ footer.md }}` are partials (partial brick templates). Partials will not be generated but can be included as part of an existing template.

❗ **Note: Partials must always be directly under the `__brick__` directory. Non-top-level partials are [yet to be
supported](https://github.com/felangel/mason/issues/378).**

For example given the contents of `{{~ header.md }}` and `{{~ footer.md }}` respectively

```md
Expand Down