Commit Graph
97 Commits
Author SHA1 Message Date
ngws ee363bf8ee Only have padding in the sides 2024-10-05 19:36:17 +02:00
ngws a8c7c2ccde Make header smaller 2024-10-05 19:30:55 +02:00
ngws ff3bd8216b Let navigation take up less space 2024-10-05 19:30:42 +02:00
ngws 42647af9eb Don't break in the header 2024-10-05 19:19:04 +02:00
ngws c1ce2185a5 Put images before recipe 2024-10-05 19:15:20 +02:00
ngws 7825f62fa2 Run pandoc on text instead of file 2024-10-05 18:16:34 +02:00
ngws 47420cbe41 Split template loading into multiple steps 2024-10-05 18:07:26 +02:00
ngws 1988beb49a Generalize ReadTemplate 2024-10-05 17:59:52 +02:00
ngws 7801371534 Default to 3 decimals 2024-10-05 17:41:13 +02:00
ngws 84b189f722 Update gitignores 2024-10-05 17:39:42 +02:00
ngws 166c176727 Start adding the files used by the website builder 2024-10-05 17:38:52 +02:00
ngws 8c2f522bbf Also copy fonts
Do some ugly shenanigans to make this work.
2024-10-05 17:35:47 +02:00
ngws 47d086c115 Also copy image files over 2024-10-05 15:58:55 +02:00
ngws 7e23b55513 Precompute more 2024-10-05 15:35:52 +02:00
ngws 556ded64a8 Also copy stylesheet 2024-09-30 23:40:53 +02:00
ngws 3d4c79cc83 Understøt HTML i Markdown-filer 2024-09-30 23:34:52 +02:00
ngws f6c73cf906 Make generator run 2024-09-30 23:31:16 +02:00
ngws abc05a6032 Debug running 2024-09-30 23:31:01 +02:00
ngws 8aaa056978 Add IsDirectory 2024-09-30 23:30:43 +02:00
ngws da7ea65cf5 Implement functions 2024-09-28 13:57:53 +02:00
ngws 67447ac23b Support running the dependency runner from the command line
Will fail currently
2024-09-27 21:18:29 +02:00
ngws d3b32398b5 Implement DependencyRunner for MapComp 2024-09-27 21:13:16 +02:00
ngws 53e9598d22 Migrate *ListElem functionality into just MapComp 2024-09-27 20:58:18 +02:00
ngws c53f804074 Start implementing DependencyRunner 2024-09-27 20:39:27 +02:00
ngws b60336cf9f Curry more 2024-09-26 23:40:26 +02:00
ngws 831ab700b9 Slightly remedy indentation 2024-09-26 23:13:28 +02:00
ngws 6c36a53ec9 Use Text for html 2024-09-26 23:02:29 +02:00
ngws 8ff8726abe Add Text support 2024-09-26 22:48:20 +02:00
ngws 91e52aeb2a Add Concat and implement img body html 2024-09-26 00:33:52 +02:00
ngws bd6ede1df9 Use correct recipe-specific output dir 2024-09-26 00:09:48 +02:00
ngws e770a350d6 Avoid extra untupling in this case for now 2024-09-26 00:06:30 +02:00
ngws 5d5dbbec74 Also copy original images 2024-09-26 00:02:51 +02:00
ngws fa2e3c144a Clean up paths 2024-09-25 23:51:33 +02:00
ngws 992edea3ee Implement untupling and use more general append instead of ConvertedImageFilename 2024-09-25 23:32:49 +02:00
ngws fe87351976 Only unzip what we use 2024-09-25 23:14:14 +02:00
ngws 51c7c1977f Add stub for new function 2024-09-25 23:13:23 +02:00
ngws c22fd7ddf0 Require simpler IsImageExtension 2024-09-25 23:12:32 +02:00
ngws 056c8d278b Introduce unzipping and use it 2024-09-25 23:06:53 +02:00
ngws 5e73358df7 Don't make ids for empty output tokens 2024-09-25 22:12:38 +02:00
ngws 6ecb577402 Make the functions easier to call inline 2024-09-25 22:09:26 +02:00
ngws ad83c8c941 Improve ergonomics 2024-09-25 19:48:45 +02:00
ngws fd3e5f6986 De-duplicate code 2024-09-25 19:45:10 +02:00
ngws 544b02c3a6 Use tuples for tuples 2024-09-25 19:42:15 +02:00
ngws 4a0ea4d5ef Also build every recipe html page 2024-09-25 19:37:49 +02:00
ngws daacf2e6fa Swap DepGenM and DepGenM' 2024-09-24 23:09:35 +02:00
ngws f4ff6d6d98 Add ApplyTemplate and use NoToken less 2024-09-24 23:01:07 +02:00
ngws 8bf1e107a0 Also use DepGenM' for MakeDir 2024-09-24 22:44:45 +02:00
ngws 67bfa01b67 MakeDir 2024-09-24 22:38:52 +02:00
ngws 6ebc3f5e3a Change RunPandoc to be more file-centric 2024-09-24 22:24:06 +02:00
ngws 2b5f4f8b1e Return core () for mapDepGenM_ 2024-09-24 22:23:43 +02:00
ngws 5b0a6f1236 Build a pretty dependency tree visualizer 2024-09-24 22:14:47 +02:00
ngws ad3bba2d1a Remove unneeded type constraints 2024-09-24 21:25:58 +02:00
ngws f4bca41377 Move Dependency to Types.Dependency 2024-09-24 21:21:49 +02:00
ngws 61387f6eba Add skeletons for function implementations 2024-09-24 21:14:27 +02:00
ngws 9376ede653 Use Value for evaluating functions 2024-09-24 21:03:54 +02:00
ngws e7e767c007 Clean up and move things around 2024-09-23 22:11:54 +02:00
ngws a098317df3 Kind of make it work with pre-compilation
But very messy now.
2024-09-23 21:14:18 +02:00
ngws 47dd09f54c Start worknig on templates 2024-09-21 23:21:47 +02:00
ngws d5b8e2006c Actually commit function implementations modules 2024-09-21 23:11:50 +02:00
ngws 5bbcc924b7 Provide more building blocks and extend example 2024-09-21 23:11:31 +02:00
ngws dad5724af8 Remove warnings and rename new token 2024-09-21 22:49:29 +02:00
ngws 06067a6cfc Add filterComputationM 2024-09-21 22:40:17 +02:00
ngws fce1d88025 Refactor and add note 2024-09-21 22:13:46 +02:00
ngws 305623d53f Refactor 2024-09-21 20:08:54 +02:00
ngws 1a1db6944f Split functions further into groups of functions 2024-09-21 20:07:38 +02:00
ngws 1f3c2929fd Split functions into two modules 2024-09-21 20:05:08 +02:00
ngws 28d430cf72 Put function shortcuts back in Functions module 2024-09-21 20:00:59 +02:00
ngws e3868332be Move more base stuff into Types module 2024-09-21 19:53:32 +02:00
ngws de6495d750 Refactor tell use slighly 2024-09-21 19:51:11 +02:00
ngws 4884136dad Connect SetListElem to outer output list 2024-09-21 19:47:50 +02:00
ngws 8c7e311338 Connect GetListElem to outer input list 2024-09-21 19:32:32 +02:00
ngws 8184160035 Don't duplicate token ids in lists 2024-09-21 19:25:36 +02:00
ngws c588dc1f56 User better namings 2024-09-21 19:17:09 +02:00
ngws d0c2b47df0 Use InList properly 2024-09-21 19:09:43 +02:00
ngws af2b9202ef Get rid of the final traversable cruft 2024-09-21 18:49:50 +02:00
ngws 9410a39527 Remove more traversable leftovers 2024-09-21 18:46:17 +02:00
ngws f12ac12ea8 Remove mapM usage in monad
Was really a hack.
2024-09-21 18:45:39 +02:00
ngws b4f36f9370 Also migrate Function 2024-09-21 18:06:00 +02:00
ngws af50f16243 Migrate all FunctionIO 2024-09-21 18:02:20 +02:00
ngws b1c124d899 Remove non-unneeded import 2024-09-21 17:42:03 +02:00
ngws 5fc78b14ad Add nice wrappers 2024-09-21 17:41:13 +02:00
ngws bb52c043cd Remove duplicated old way of doing this 2024-09-21 17:39:50 +02:00
ngws 6a2a87cfc3 Start using class instances instead of GADT constructors
Maybe makes more sense here?
2024-09-21 17:37:37 +02:00
ngws 124d9fa4d8 This belongs here 2024-09-21 17:34:28 +02:00
ngws 8575bd061a Remove warnings 2024-09-21 17:33:02 +02:00
ngws 987a7809bb Split into library and executable 2024-09-21 17:31:57 +02:00
ngws 111fe3cee5 Make compile 2024-09-21 17:13:20 +02:00
ngws 2549d5af1b Put sources functionality in its own file 2024-09-21 16:57:03 +02:00
ngws 4e412e4366 Add bytestring dependency 2024-09-21 16:54:37 +02:00
ngws e0caddd119 Move functions to own file 2024-09-21 16:50:57 +02:00
ngws 6962c5cb17 Remove piping attempt 2024-09-21 16:38:37 +02:00
ngws 20eaec927e Add initial code approach exploration
For the historical record.
2024-09-21 16:35:13 +02:00
ngws 2f14c5a653 Let's use mtl 2024-09-15 20:35:48 +02:00
ngws a0e6aa2b23 Rename section to clarify it's not just about warnings 2024-09-15 20:35:15 +02:00
ngws 864c515469 Use more flags when building with default.nix 2024-09-15 20:23:10 +02:00
ngws 1fe7714c6b Add a default.nix for nix-build 2024-09-12 19:49:58 +02:00
ngws 2628822373 Add initial generator 2024-09-11 22:32:14 +02:00