Skip to content

Commit

Permalink
Docs: Add a warning about "!include" usage with YAML files
Browse files Browse the repository at this point in the history
  • Loading branch information
achaussier authored and yajo committed Aug 3, 2020
1 parent b94b7f4 commit 173db40
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/creating.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,16 @@ common_setting: "1"
!include other_place/include_me.yml
```

**Warning**: You can't have in the same file a top `!include` tag and classic YAML
syntax, see
[this pyyaml-include issue](https://github.com/tanbro/pyyaml-include/issues/7).

```yaml
# Invalid file
!include other_place/include_me.yml
foo: "bar"
```

## The `.copier-answers.yml` file

If the destination path exists and a `.copier-answers.yml` file is present there, it
Expand Down

0 comments on commit 173db40

Please sign in to comment.