summaryrefslogtreecommitdiff
path: root/src/directive
AgeCommit message (Expand)AuthorFilesLines
2023-05-14refactor: make Site::markdown_pages be a hash map instead of vectorLars Wirzenius3-3/+0
2023-04-24feat: implement the brokenlinks directiveLars Wirzenius1-7/+4
2023-04-24feat: simplistic implementation of the pagestats directiveLars Wirzenius1-10/+30
2023-04-24feat: add a silly map directive implementationLars Wirzenius3-9/+32
2023-04-10refactor: use html-page crate to represent HTMLLars Wirzenius1-40/+76
2023-02-06feat: add dummy brokenlinks directiveLars Wirzenius2-0/+40
2023-02-06feat: make pagestats log warning instead of returning errorLars Wirzenius1-2/+7
2023-02-06feat: make map log warning instead of returning an errorLars Wirzenius1-2/+4
2023-01-25feat: keep track of which pages a page links toLars Wirzenius1-0/+7
2023-01-07Revert "refactor: avoid boxing value wrapping inside DirectiveError::Site"Lars Wirzenius2-2/+4
2023-01-07refactor: avoid boxing value wrapping inside DirectiveError::SiteLars Wirzenius2-4/+2
2023-01-07refactor: drop now-unused DirectiveError::Riki variantLars Wirzenius1-3/+0
2023-01-07refactor: drop RikiError::PageProblem, add SiteErrorLars Wirzenius2-1/+4
2023-01-07refactor: move RikiError::UnknownTimestamp to src/time.rsLars Wirzenius2-1/+4
2023-01-07refactor: move directive errors to src/directive/mod.rsLars Wirzenius15-66/+84
2023-01-07refactor: rename SiteError to RikiErrorLars Wirzenius15-49/+49
2022-12-04fix: handle optional title in image linksLars Wirzenius2-2/+1
2022-11-09feat: implement rudimentary table of contents, without linksLars Wirzenius2-5/+70
2022-11-09refactor: directive processing returns Processed valueLars Wirzenius15-38/+37
2022-11-09refactor: use trait for all directive implementationsLars Wirzenius14-265/+255
2022-11-09use DirectiveImplementation for CalendarLars Wirzenius2-11/+10
2022-11-09add trait for directive implementationsLars Wirzenius1-0/+8
2022-11-09refactor: processing a directive returns Processed type, not StringLars Wirzenius1-3/+8
2022-11-09chore: remove unnecessary borrowsLars Wirzenius1-1/+1
2022-11-02feat: implement a simple version of the inline directiveLars Wirzenius1-7/+26
2022-10-23drop: unnecessary brokenlinks directiveLars Wirzenius2-41/+0
2022-10-23fix: make unimplemented directives be a runtime errorLars Wirzenius10-10/+10
2022-10-16fix: formattingLars Wirzenius2-10/+39
2022-10-16style: implement Default instead of argument-less newLars Wirzenius5-30/+10
2022-09-23feat: implement table directiveLars Wirzenius1-6/+26
2022-09-08feat: img directive link generationLars Wirzenius1-2/+30
2022-09-08feat: implement the img directiveLars Wirzenius1-5/+129
2022-09-08drop: img height, widthLars Wirzenius1-1/+1
2022-09-06chore: drop unused calendars.rsLars Wirzenius1-35/+0
2022-09-02fix: placeholder directives other fixes to process all test stiesLars Wirzenius8-5/+163
2022-09-02feat: add more placeholders for directives, other small fixesLars Wirzenius4-0/+73
2022-09-02feat: add placeholder for table directiveLars Wirzenius2-0/+36
2022-09-02fix: allow img height, width argumentsLars Wirzenius1-2/+7
2022-09-01feat: allow shortcuts to be defined anywhereLars Wirzenius2-1/+18
2022-09-01feat: process pages in orderLars Wirzenius1-3/+3
2022-08-22feat: allow argument "show" for inline directiveLars Wirzenius1-0/+1
2022-08-21feat: traillink placeholderLars Wirzenius2-0/+36
2022-08-21fix: allow img to have a caption argumentLars Wirzenius1-1/+1
2022-08-21fix: foo/bar.mdwn refers to foo/bar/yo.png in an img directiveLars Wirzenius1-1/+1
2022-08-21feat: set output HTML file mtime from "meta date" directiveLars Wirzenius1-0/+16
2022-08-10feat: implement shortcut directiveLars Wirzenius9-38/+53
2022-08-06feat: allo img directive to have the link parameterLars Wirzenius1-1/+1
2022-08-06feat: add placeholder for directive shortcutLars Wirzenius2-0/+36
2022-08-06feat: img directive alt parameterLars Wirzenius1-1/+1
2022-08-06feat: placeholder for brokenlinks directiveLars Wirzenius2-3/+50