Commit graph

114 commits

Author SHA1 Message Date
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
fc6b04ea87 Remove old files now created by template 2017-05-17 17:57:30 +01:00
19df5f4b2a Render pdf templates with jinja 2017-05-17 17:52:57 +01:00
3e4b951bf1 Change file names 2017-05-17 15:02:52 +01:00
5c83842116 Actually render it 2017-05-17 14:54:40 +01:00
b2715d4a23 Add basic TOC file 2017-05-17 14:46:11 +01:00
847b783ea3 Check / fix support for remote images 2017-05-11 13:19:14 +01:00
af8464e344 Add timer 2017-05-11 09:20:35 +01:00
6a4815ba77 Move cover title up 2017-05-11 09:02:01 +01:00
851a215762 show wkhtmltopdf output when logging verbose 2017-05-11 09:00:40 +01:00
b01532e7d3 Force references to new page 2017-05-11 08:52:02 +01:00
56ed7df6c0 Remove inline styles on footer 2017-05-11 08:46:38 +01:00
f745ee5f0b Enable internal links 2017-05-10 21:42:03 +01:00
bc95f592ab Set footer font size 2017-05-10 20:56:57 +01:00
a072017525 Add page breaks when needed 2017-05-10 20:52:00 +01:00
cf36f85708 Fix linter 2017-05-10 19:02:19 +01:00