Commit graph

158 commits

Author SHA1 Message Date
e657eb6513 Add tests for all but the content syntax parser module 2025-12-25 23:57:22 -03:00
f48b2070bc Minor refactorings, type adjustments and typo fixes 2025-12-25 23:56:18 -03:00
78a3ef4a48 Fix anchors not applying destination resolution 2025-12-25 23:54:09 -03:00
14dc84cc43 Reorganize module structure 2025-12-24 12:45:14 -03:00
51047ad11c Fix and document some Anchor Syntax corner cases 2025-12-24 12:20:28 -03:00
95b437b3ac Expect a newline after PreFormat lexemes 2025-12-24 06:33:40 -03:00
6aa6b596f6 Let header IDs have their original case 2025-12-24 06:33:13 -03:00
2eb7380212 Fix redirect to 404 on /node/ URLs 2025-12-24 06:32:40 -03:00
8b782d6d20 Rework token segmentation 2025-12-23 21:53:56 -03:00
ffead4fb47 Make HTML lang attribute configurable 2025-12-23 21:40:31 -03:00
6b34bb4531 Fix an anchor clustering corner case 2025-12-21 15:32:45 -03:00
76b836f0a0 Case-insensitive node routing 2025-12-21 15:32:34 -03:00
1f4a9faa75 Automatic header IDs 2025-12-21 14:50:42 -03:00
34460c1097 Render configuration text only if non-empty 2025-12-20 21:28:42 -03:00
1600e86504 Hide tree node text by default 2025-12-20 21:28:22 -03:00
ad3f9687c6 Add 'hidden' node attribute 2025-12-20 21:28:00 -03:00
77d08036c6 Pass full node struct to node handler 2025-12-20 21:26:36 -03:00
d2accbd38d Add logging filter and some log level support 2025-12-20 21:25:21 -03:00
e3d5686c7b Simplify parser module structure, add several syntax elements 2025-12-20 21:25:06 -03:00
070b5b7448 Add short-form node anchors 2025-12-18 11:46:28 -03:00
198bc12507 Add word-level parsing 2025-12-18 11:35:08 -03:00
0d66b1ee7c Replace logging function with a macro 2025-12-18 02:19:55 -03:00
99b9feeb95 Extract config text parsing into the type 2025-12-17 10:15:21 -03:00
0c2f9707cd Add a hardcoded template for early templating errors 2025-12-17 02:22:17 -03:00
ab38e5ebde Make number of nodes listed on index configurable 2025-12-17 02:21:36 -03:00
d51b9a135e Scaffold a second content parser pass 2025-12-17 00:16:44 -03:00
270fed54f0 Add configuration options 2025-12-16 19:02:36 -03:00
5d28a2e707 Make default element generic 2025-12-16 19:01:20 -03:00
7512aeafbf Include computed incoming edges in raw endpoints 2025-12-16 11:08:12 -03:00
f61fc4dd28 Fix redundant filter in content parser 2025-12-16 04:09:43 -03:00
dc55126b95 Make access a bit more restricted 2025-12-16 03:48:59 -03:00
984c8bcdcc Heavy refactor and restructuring of content parser 2025-12-16 03:48:42 -03:00
15a9175afb Add types to content lexer 2025-12-15 22:50:16 -03:00
2f247f477b Add parser for node text with support for headers 2025-12-15 19:37:35 -03:00
089b507299 Extract router from main to its own module 2025-12-14 21:17:14 -03:00
d9a6938eb6 Add lib.rs, scaffold testing 2025-12-14 19:00:57 -03:00
294c15baa6 Fix argparsing error, path in file not found log, panic on invalid args 2025-12-14 15:26:49 -03:00
2040854e82 Handle CLI arguments as structured argument-parameter pairs 2025-12-14 15:09:21 -03:00
9b59038026 Make main function control flow more explicit 2025-12-13 23:08:27 -03:00
82f1f0c63c Apply formatting and satisfy lints 2025-12-13 16:32:20 -03:00
4db4c703d1 Add a custom log function 2025-12-13 16:28:13 -03:00
c01c4c30cd Capture and print stacktraces for panics 2025-12-13 16:27:22 -03:00
2cfeb71474 Further, minor refactors 2025-12-13 16:24:58 -03:00
ab6e90b6b8 Heavy refactor and extraction of most code to handler submodules 2025-12-12 04:13:32 -03:00
20bd1db1b7 Setup and apply formatting 2025-12-12 01:59:48 -03:00
501096c851 Use less opaque return types for handlers 2025-12-12 00:46:14 -03:00
0d0627ba8f Add and resolve an obscene amount of lints 2025-12-11 02:21:56 -03:00
b306f04664 Improve passing of errors from higher functions to template rendering 2025-12-11 02:20:46 -03:00
2b1683700f Add missing static routes for favicon, about and acknowledgments 2025-12-11 02:15:14 -03:00
d73166ef04 Add a panic handler and remove unwrap calls from app instantiation 2025-12-11 02:12:12 -03:00