Skip to content

Commit

Permalink
Fix README, "include" is "searchpath"
Browse files Browse the repository at this point in the history
  • Loading branch information
kblomqvist committed Mar 13, 2016
1 parent 158dd16 commit c26138a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class XmlParser(yasha.Parser):

### Search paths of referenced templates

By default the referenced templates, aka hardcoded template [extensions](http://jinja.pocoo.org/docs/dev/templates/#extends), [inclusions](http://jinja.pocoo.org/docs/dev/templates/#include) and [imports](http://jinja.pocoo.org/docs/dev/templates/#import), are searched in relation to the rendered template location. To extend this search path you can use option `-I` / `--include`, like you would do with the GCC to include C header files.
By default the referenced templates, aka hardcoded template [extensions](http://jinja.pocoo.org/docs/dev/templates/#extends), [inclusions](http://jinja.pocoo.org/docs/dev/templates/#include) and [imports](http://jinja.pocoo.org/docs/dev/templates/#import), are searched in relation to the rendered template location. To extend this search path you can use option `-I` / `--searchpath`, like you would do with the GCC to include C header files.

```bash
yasha -Iskeletons -Imacros foo.jinja
Expand Down

0 comments on commit c26138a

Please sign in to comment.