Commit graph

129 commits

Author SHA1 Message Date
f0c377d6b8
Add dedicated tests for jinja templates 2017-06-10 11:17:33 +01:00
270b7195c7
Types for renderer 2017-06-10 10:35:57 +01:00
bbfc3cac4c
Add type annotations to most places 2017-06-09 23:07:30 +01:00
f0d7900fc2
Merge remote-tracking branch 'origin' into tests 2017-06-09 22:40:02 +01:00
ebdfa67f3c
remove unused import 2017-06-09 22:33:40 +01:00
ddb51ceee4 Test file reader 2017-06-08 12:26:15 +01:00
392703e3cb Test args 2017-06-08 10:53:30 +01:00
5e41cabdcf Autoescape 2017-06-08 10:25:23 +01:00
126ea6447a Use the unified renderer 2017-06-08 09:48:35 +01:00
09b7cddcc2 Add unified helper for jinja rendering 2017-06-08 09:48:18 +01:00
bc9005e8b7 remove trailing blank lines 2017-06-01 22:14:28 +01:00
8b914d8ae2 Test PDF renderer 2017-06-01 22:04:21 +01:00
bb4cfa962a Merge remote-tracking branch 'origin' into tests 2017-06-01 21:03:31 +01:00
e7c6e93571 Try and catch exceptions from pdf render 2017-06-01 20:51:07 +01:00
82fc33a1c4 Null check TOCs 2017-06-01 15:42:32 +01:00
58e825c43b Add tests for content parser 2017-05-28 22:12:22 +01:00
538685e5b2 Test config generator 2017-05-28 16:58:58 +01:00
c6100c04c6 Test html output 2017-05-28 12:33:34 +01:00
16b6002205 Fix lint 2017-05-28 11:53:58 +01:00
2f11a3c93e Fix variable name 2017-05-28 11:40:17 +01:00
Jake Howard
503996ba69 Merge branch 'master' into tests 2017-05-28 11:35:31 +01:00
79620e7fea Remove unused import 2017-05-28 11:20:41 +01:00
413d888a77 Use actual variable 2017-05-28 11:20:02 +01:00
0fcd1584be Move rendered templates out of project dir 2017-05-28 11:13:36 +01:00
0c9b1324b0 Better error message when missing CSL 2017-05-27 22:34:01 +01:00
dbe4e8ae7c Verbose download of CSL 2017-05-27 22:27:47 +01:00
a4d766034a Add tests for config validator 2017-05-27 22:06:55 +01:00
a46f304c55 Test config reader 2017-05-27 20:32:50 +01:00
6042019c0c Allow context to override builtins 2017-05-27 14:35:28 +01:00
ecc0b174cb Add program version to context 2017-05-27 14:20:39 +01:00
67020eb8c5 Add output dir to context 2017-05-27 14:12:31 +01:00
fc46e08559 Add title to header 2017-05-27 11:51:00 +01:00
dd7ec29526 Remove empty line 2017-05-25 21:50:02 +01:00
e70839eeaf Reorder css styles 2017-05-25 21:48:03 +01:00
1c937e9188 Render submission date 2017-05-25 21:33:18 +01:00
a8a228cb23 add all of config to context 2017-05-25 20:39:24 +01:00
b242657df7 Add render date to context 2017-05-25 20:36:23 +01:00
6f8aa6ee09 Calculate wordcount better and make togglable 2017-05-25 20:34:41 +01:00
243ccc4641 Add wordcount to footer 2017-05-25 20:07:38 +01:00
805ddbcadb Add wordcount 2017-05-25 17:42:36 +01:00
70351adae6 Use single render context in all places 2017-05-25 17:16:13 +01:00
a193728ed5 Dont show references title in toc 2017-05-23 21:59:40 +01:00
9b8d861042 Log on config validation 2017-05-17 21:38:01 +01:00
a9038e9315 Better log output 2017-05-17 21:25:06 +01:00
71b641151e Fix lint 2017-05-17 21:14:12 +01:00
444a07cf5f Cleanup template 2017-05-17 21:12:53 +01:00
b5bbc2d22a Allow toggling of toc 2017-05-17 20:49:58 +01:00
00badaa7e2 Add config key for toc 2017-05-17 20:29:03 +01:00
2c7679fb2f Style ToC 2017-05-17 19:58:29 +01:00
81ab25fdfd reformat template 2017-05-17 18:04:45 +01:00