Skip to content

Commit

Permalink
docs: fix jinja string interp instructions (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSJohnson authored Nov 29, 2023
1 parent b1d7e17 commit 4256a4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipe_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ The reason for a new spec are:
- no full Jinja2 support: no conditional or `{% set ...` support, only string
interpolation. Variables can be set in the toplevel "context" which is valid
YAML
- Jinja string interpolation needs to be quoted at the beginning of a string,
e.g. `- "{{ version }}"` in order for it to be valid YAML
- Jinja string interpolation needs to be preceded by a dollar sign at the beginning of a string,
e.g. `- ${{ version }}` in order for it to be valid YAML
- Selectors use a YAML dictionary style (vs. comments in conda-build). Instead of `- somepkg #[osx]`
we use
```yaml
Expand Down

0 comments on commit 4256a4d

Please sign in to comment.