Skip to content

Commit 30be5bc

Browse files
committed
refactor(docs): switching from mustache to handlebars
1 parent c78ebc6 commit 30be5bc

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

packages/docs/src/docs/advanced-config-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Sets the configurable source and public directories for files Pattern Lab Node o
178178

179179
Sets the panel name and language for the code tab on the styleguide. Since this only accepts one value, this is a place where mixed pattern trees (different PatternEngines in the same instance of Pattern Lab) does not quite work.
180180

181-
**default**: `mustache`
181+
**default**: `hbs`
182182

183183
## engines
184184

packages/docs/src/docs/advanced-ecosystem-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ UIKits are the front-end of Pattern Lab. We call this “The Viewer.” UIKits a
4444

4545
### PatternEngines
4646

47-
PatternEngines are the templating engines that are responsible for parsing patterns and turning them into HTML. PatternEngines give Pattern Lab Core the flexibility to render many different types of template languages. Current PatternEngines include Mustache and Twig, with others like Handlebars and Underscore in development. And there’s no stopping you from adding another templating engine to Pattern Lab.
47+
PatternEngines are the templating engines that are responsible for parsing patterns and turning them into HTML. PatternEngines give Pattern Lab Core the flexibility to render many different types of template languages. Current PatternEngines include Handlebars and Twig, with others like React and Underscore in development. And there’s no stopping you from adding another templating engine to Pattern Lab.
4848

4949
### Plugins
5050

packages/docs/src/docs/advanced-keyboard-shortcuts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Modifying the views:
2828
- **ctrl+shift+a**: open/close info panels
2929
- **ctrl+shift+c**: open/close info panels
3030
- **cmd+a/ctrl+a**: select the content of the current open tab in code view
31-
- **ctrl+shift+u**: make the Mustache tab active
31+
- **ctrl+shift+u**: make the Handlebars tab active
3232
- **ctrl+shift+y**: make the HTML tab active
3333
- **esc**: close the open view
3434

packages/docs/src/docs/advanced-starterkits.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ where [starterkit-name] is the name of the Starterkit.
4444
so... a complete example:
4545

4646
```
47-
npm install @pattern-lab/starterkit-mustache-demo
48-
gulp patternlab:loadstarterkit --kit=@pattern-lab/starterkit-mustache-demo
47+
npm install @pattern-lab/starterkit-handlebars-demo
48+
gulp patternlab:loadstarterkit --kit=@pattern-lab/starterkit-handlebars-demo
4949
```
5050

5151
The [Pattern Lab Node CLI](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli) will also support installation of Starterkits should you not be using gulp.

packages/docs/src/docs/advanced-template-language-and-pattern-engines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ eleventyNavigation:
1010
sitemapPriority: '0.8'
1111
---
1212

13-
By default Pattern Lab uses the Mustache template language, extended with [pattern parameters](/docs/using-pattern-parameters/). PatternEngines let you add support for a template language of your personal choice. Each PatternEngine has it's own set of features and caveats.
13+
By default Pattern Lab uses the Handlebars template language, extended with [pattern parameters](/docs/using-pattern-parameters/). PatternEngines let you add support for a template language of your personal choice. Each PatternEngine has it's own set of features and caveats.
1414

15-
Right now the most mature PatternEngines are Handlebars, Mustache and Twig.
15+
Right now the most mature PatternEngines are Handlebars and Twig.
1616

1717
## Official PatternEngines for Node
1818

packages/docs/src/docs/pattern-pseudo-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ From a navigation and naming perspective `patternName` and `pseudoPatternName` w
3333

3434
## Adding Pseudo-Patterns to Your Project
3535

36-
Adding a pseudo-pattern is as simple as naming it correctly and following the [pattern-specific JSON file](/docs/creating-pattern-specific-values/) instructions for organizing its content. Let's look at a simple example where we want to show an emergency notification on our homepage Mustache template. Our `templates/` directory might look like this:
36+
Adding a pseudo-pattern is as simple as naming it correctly and following the [pattern-specific JSON file](/docs/creating-pattern-specific-values/) instructions for organizing its content. Let's look at a simple example where we want to show an emergency notification on our homepage Handlebars template. Our `templates/` directory might look like this:
3737

3838
article.hbs
3939
blog.hbs

packages/starterkit-twig-demo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Demo StarterKit for Twig
55

6-
The Demo StarterKit for Twig is meant to be used as a demo that highlights how to combine Twig and Pattern Lab. It is currently very thin. We're looking for maintainers who may be interested in making this demo the equal to if not better than the Mustache demo.
6+
The Demo StarterKit for Twig is meant to be used as a demo that highlights how to combine Twig and Pattern Lab. It is currently very thin. We're looking for maintainers who may be interested in making this demo the equal to if not better than the Handlebars demo.
77

88
## Requirements
99

0 commit comments

Comments
 (0)