You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-i input_dir The input directory (contianing jinja templates) to use. Defaults to the current working directory.
36
36
-o output_dir The output directory to write website output files to. Defaults to ./out
37
37
-t template_dir Shared templates directory (relative path only, this must be a subfolder of the input directory). Defaults to templates
38
-
--blacklist ignored_dir [ignored_dir ...]
38
+
--debug Enables debug level logging
39
+
--ignore ignored_dir [ignored_dir ...]
39
40
directories to ignore
40
41
```
41
42
@@ -48,11 +49,13 @@ jinja2html
48
49
jinja2html -d
49
50
50
51
# generate html files for use in prod and ignore folders Foo/ and Bar/
51
-
jinja2html -d --blacklist Foo/ Bar/
52
+
jinja2html -d --ignore Foo/ Bar/
52
53
53
54
# run in dev mode, on port 8080 and ignore folder hello/world/
54
-
jinja2html -d -p 8080 --blacklist hello/world/
55
+
jinja2html -d -p 8080 --ignore hello/world/
55
56
```
56
57
58
+
See [here](tests/resources/sample_project/) for an example project
59
+
57
60
## Scope
58
61
jinja2html is designed for small and simple static websites. If you're trying to do something big and complex, then you should stick with the tooling of a conventional front-end framework.
0 commit comments