Merge pull request #61 from ajdavis/included-excluded-assets

included_assets and excluded_assets
This commit is contained in:
Armin Ronacher 2016-01-25 11:46:25 -08:00
commit 60f6f98287
1 changed files with 17 additions and 0 deletions

View File

@ -89,6 +89,21 @@ This section controls some basics about the project:
> Note that if this setting is used some functionality in the desktop app
> might no longer work (for instance opening `.lr` files with a double click).
`excluded_assets`
> A list of file names or Unix shell-style wildcards, separated by commas.
> The wildcard syntax follows [fnmatch](https://docs.python.org/2/library/fnmatch.html).
>
> By default, filenames beginning with "_" or "." are not copied from the
> `assets` directory to the output directory. Exclude *additional* files with
> the `excluded_assets` option.
`included_assets`
> A comma-separated list of file names or Unix shell-style wildcards, specifying
> files that should be copied from the `assets` directory to the output
> directory even if they begin with "_" or "." (the default exclusion patterns)
> or match your custom `excluded_assets` pattern. The wildcard syntax follows
> [fnmatch](https://docs.python.org/2/library/fnmatch.html).
Example:
```ini
@ -96,6 +111,8 @@ Example:
name = My Website
url = https://www.mywebsite.invalid/
locale = de_DE
excluded_assets = *.backup, *~
included_assets = _special_file
```
### `[packages]`