@aurodesignsystem-dev/auro-cli 0.0.0-pr333.6 → 0.0.0-pr333.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/dist/auro-cli.js +64 -64
- package/dist/auro-cli.js.map +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,7 +101,12 @@ Generates API documentation from the Custom Elements Manifest.
|
|
|
101
101
|
- a file it includes with `FILE` or `CODE` is missing, including nested includes;
|
|
102
102
|
- a `{{ … }}` placeholder is left in its prose (code is ignored). This includes a misspelled template variable, such as `{{ nmae }}`.
|
|
103
103
|
|
|
104
|
-
Code snippets keep `{{ … }}`
|
|
104
|
+
Code snippets (fenced blocks, `<pre>` and `<code>` elements, inline code and `CODE` includes) keep every `{{ … }}` expression except template variables and helpers, so Vue, Angular and Handlebars examples come through unchanged, including Handlebars blocks, comments, partials and triple-stash (`{{#each}}`, `{{!-- --}}`, `{{> header}}`, `{{{ raw }}}`). Two kinds of snippet expression are still filled in:
|
|
105
|
+
|
|
106
|
+
- a template variable on its own: `{{ name }}`, `{{ Name }}`, `{{ namespace }}`, `{{ Namespace }}`, `{{ Version }}`, `{{ dtVersion }}`, `{{ wcssVersion }}`, `{{ monorepoName }}`;
|
|
107
|
+
- a template helper whose arguments are template variables or quoted strings: `{{ capitalize name }}`, `{{ withAuroNamespace "button" }}`, `{{ packageName }}`.
|
|
108
|
+
|
|
109
|
+
Anything else, such as `{{ name.length }}` or `{{ name | uppercase }}`, is kept as written. To keep a template variable literal, write it as `\{{ name }}`.
|
|
105
110
|
|
|
106
111
|
In watch mode, a docs failure is reported but doesn't stop the watcher or the dev server. `auro docs --watch` rebuilds when you fix the file. `auro dev` and `auro build --watch` regenerate docs on the next source change.
|
|
107
112
|
|