@sous-io/sous 0.2.1 → 0.2.2
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/docs/markdown/README.md +4 -0
- package/docs/markdown/_sidebar.md +4 -1
- package/docs/markdown/commands.md +293 -274
- package/docs/markdown/configuration.md +7 -0
- package/docs/markdown/repositories-authoring.md +210 -302
- package/docs/markdown/repositories-consuming.md +219 -468
- package/docs/markdown/repositories-file-formats.md +216 -980
- package/docs/markdown/repositories-providers.md +322 -0
- package/docs/markdown/repositories-quickstart.md +340 -0
- package/docs/markdown/repositories-troubleshooting.md +336 -0
- package/docs/markdown/repositories-variables.md +229 -296
- package/docs/markdown/repositories.md +262 -228
- package/package.json +1 -1
- package/recipes/core/sous-skills/sous.recipe.yaml +1 -1
|
@@ -44,6 +44,13 @@ sous for editor autocompletion; sous accepts and ignores the key.
|
|
|
44
44
|
?> Configs use `${var}` syntax. Template files use LiquidJS double-brace syntax instead; the two
|
|
45
45
|
are resolved at different stages and never mix.
|
|
46
46
|
|
|
47
|
+
## Templates and the `.tpl.` convention
|
|
48
|
+
|
|
49
|
+
A file's name decides whether sous renders it. A file with `.tpl.` in its name is rendered through
|
|
50
|
+
LiquidJS and lands with that segment stripped, so `SKILL.tpl.md` compiles to `SKILL.md`; a file
|
|
51
|
+
without it is copied verbatim, however much it looks like a template. The convention applies to
|
|
52
|
+
`entryPoint` and `entryGlob` targets alike, and to the files a recipe brings into your project.
|
|
53
|
+
|
|
47
54
|
## Composition
|
|
48
55
|
|
|
49
56
|
The primary config is optionally extended by drop-in layers: every `*.js|mjs|json|jsonc|yaml` file
|