Allow users to optionally override templates (#1319)
* Create overrides directory & readme.partial.yaml.j2 * Add bootstrap/overrides to makejinja.toml
This commit is contained in:
1 parent
c3bf719cce
commit
840506cea7
2 files changed
+6
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
<% Place user jinja template overrides in this file's directory %>
|
||||
<% Docs: https://mirkolenz.github.io/makejinja/makejinja.html %>
|
||||
<% Example: https://github.com/mirkolenz/makejinja/blob/main/tests/data/makejinja.toml %>
|
||||
<% Example: https://github.com/mirkolenz/makejinja/blob/main/tests/data/input1/not-empty.yaml.jinja %>
|
||||
<% Example: https://github.com/mirkolenz/makejinja/blob/main/tests/data/input2/not-empty.yaml.jinja %>
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
[makejinja]
|
||||
inputs = ["./bootstrap/templates"]
|
||||
inputs = ["./bootstrap/templates","./bootstrap/overrides"]
|
||||
output = "./"
|
||||
exclude_patterns = [".mjfilter.py", "*.partial.yaml.j2"]
|
||||
data = ["./config.yaml"]
|
||||
|
||||
Reference in new issue
Block a user