Completely split up the templating system from the Matrix Spec template code.
The two are now linked together in build.py by specifying the input module. Updated gendoc.py to specify the right module.
This commit is contained in:
parent
8e1d6899c2
commit
5b31c442f5
11 changed files with 196 additions and 114 deletions
|
@ -34,7 +34,12 @@ def rst2html(i, o):
|
|||
def run_through_template(input):
|
||||
null = open(os.devnull, 'w')
|
||||
subprocess.check_output(
|
||||
['python', 'build.py', "-o", "../scripts/tmp", "../scripts/"+input],
|
||||
[
|
||||
'python', 'build.py',
|
||||
"-i", "matrix_templates",
|
||||
"-o", "../scripts/tmp",
|
||||
"../scripts/"+input
|
||||
],
|
||||
stderr=null,
|
||||
cwd="../templating",
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue