Commit graph

64 commits

Author SHA1 Message Date
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
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
0fcd1584be Move rendered templates out of project dir 2017-05-28 11:13:36 +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
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
a9038e9315 Better log output 2017-05-17 21:25:06 +01:00
b5bbc2d22a Allow toggling of toc 2017-05-17 20:49:58 +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
851a215762 show wkhtmltopdf output when logging verbose 2017-05-11 09:00:40 +01:00
f745ee5f0b Enable internal links 2017-05-10 21:42:03 +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
d620bc52b0 Style images 2017-05-10 18:14:30 +01:00
85f52065bc Better syntax for parsers 2017-05-10 17:41:49 +01:00
9ea3e8e87a Add image support 2017-05-10 17:22:55 +01:00
James Seden Smith
db3c98961c
Changed default styling to match university guidelines 2017-05-03 15:33:42 +01:00
4975b49380 Specify css location correctly 2017-05-03 13:30:38 +01:00
56c55e005b Sort files 2017-04-09 15:34:01 +01:00
490263f7cd Allow scss styles 2017-04-05 15:27:14 +01:00
3800f43bd1 Restructure assets 2017-04-05 14:44:22 +01:00
b839fe28ee Add more logging 2017-04-04 22:04:25 +01:00
6e60e72603 Add logging 2017-04-01 16:12:03 +01:00
86a8dda99b Remove unused variables 2017-03-31 18:17:22 +01:00
61c724243b Fix cover context 2017-03-31 18:12:11 +01:00
2e08bdf798 Remove the damn dotmap 2017-03-30 18:26:06 +01:00