Skip to content

Commit

Permalink
docs(mason_cli): document non top level partials (#1355)
Browse files Browse the repository at this point in the history
  • Loading branch information
alestiago authored Jun 19, 2024
1 parent 59eb44e commit 002d1c6
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 002d1c6

Please sign in to comment.