Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-01-07 | refactor: move RikiError::UnknownTimestamp to src/time.rs | Lars Wirzenius | 4 | -8/+16 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: drop unused RikiError::TooManyUnusedArgs | Lars Wirzenius | 1 | -3/+0 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: move RikiError::WikitextSyntax into src/parser.rs | Lars Wirzenius | 2 | -4/+10 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: move directive errors to src/directive/mod.rs | Lars Wirzenius | 17 | -87/+91 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: drop unused SiteError::Relative | Lars Wirzenius | 1 | -3/+0 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: rename SiteError to RikiError | Lars Wirzenius | 22 | -100/+100 | |
I may want to use the name SiteError just for src/site.rs. Sponsored-by: author | |||||
2023-01-07 | refactor: move SiteError::Utf8 into src.page.rs | Lars Wirzenius | 2 | -4/+4 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: move SiteError::FileRead into src/page.rs | Lars Wirzenius | 2 | -3/+9 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: drop SiteError::FileWrite | Lars Wirzenius | 1 | -3/+0 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: only use GitError in src/git.rs | Lars Wirzenius | 1 | -3/+2 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: move GitInvoke, GitError into src/git.rs | Lars Wirzenius | 2 | -9/+9 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: drop unused SiteError::DefinitionList | Lars Wirzenius | 1 | -3/+0 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: drop unused SiteError::CreateFile | Lars Wirzenius | 1 | -3/+0 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: move ParseUnixTimestamp into src/git.rs | Lars Wirzenius | 2 | -4/+10 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: move some errors into src/util.rs | Lars Wirzenius | 2 | -37/+42 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: move WalkDir error to src/srcdir.rs | Lars Wirzenius | 2 | -5/+10 | |
Sponsored-by: author | |||||
2023-01-07 | refactor: drop unused SourceDirMissing error | Lars Wirzenius | 1 | -3/+0 | |
Sponsored-by: author | |||||
2022-12-04 | Merge branch 'docs' into 'main' | Lars Wirzenius | 1 | -0/+29 | |
docs: add docstrings to html module See merge request larswirzenius/riki!71 | |||||
2022-12-04 | docs: add docstrings to html module | Lars Wirzenius | 1 | -0/+29 | |
Sponsored-by: author | |||||
2022-12-04 | Merge branch 'liw/refactor-errors' into 'main' | Lars Wirzenius | 4 | -16/+50 | |
refactor: create an error type for the html module See merge request larswirzenius/riki!70 | |||||
2022-12-04 | refactor: create an error type for the html module | Lars Wirzenius | 4 | -16/+50 | |
This allows the HTML module to be more easily used in Subplot by copying the module into Subplot. Sponsored-by: author | |||||
2022-12-04 | Merge branch 'fixes' into 'main' | Lars Wirzenius | 6 | -18/+57 | |
fix: typo in heading See merge request larswirzenius/riki!69 | |||||
2022-12-04 | fix: avoid taking a too-long slice | Lars Wirzenius | 1 | -1/+1 | |
Sponsored-by: author | |||||
2022-12-04 | fix: handle optional title in image links | Lars Wirzenius | 6 | -16/+55 | |
Sponsored-by: author | |||||
2022-12-04 | fix: typo in heading | Lars Wirzenius | 1 | -1/+1 | |
Sponsored-by: author | |||||
2022-12-03 | Merge branch 'liw/page-refactor-v2' into 'main' | Lars Wirzenius | 2 | -19/+39 | |
refactor: add a simpler Page data type for clarity See merge request larswirzenius/riki!68 | |||||
2022-12-03 | refactor: add a simpler Page data type for clarity | Lars Wirzenius | 2 | -19/+39 | |
Sponsored-by: author | |||||
2022-11-09 | Merge branch 'liw/toc' into 'main' | Lars Wirzenius | 22 | -299/+411 | |
add rudimentary ToC; cleanups; refactoring See merge request larswirzenius/riki!67 | |||||
2022-11-09 | feat: implement rudimentary table of contents, without links | Lars Wirzenius | 7 | -20/+128 | |
The links will be added later. Sponsored-by: author | |||||
2022-11-09 | refactor: directive processing returns Processed value | Lars Wirzenius | 15 | -38/+37 | |
Sponsored-by: author | |||||
2022-11-09 | refactor: use trait for all directive implementations | Lars Wirzenius | 14 | -265/+255 | |
Sponsored-by: author | |||||
2022-11-09 | use DirectiveImplementation for Calendar | Lars Wirzenius | 2 | -11/+10 | |
Sponsored-by: author | |||||
2022-11-09 | add trait for directive implementations | Lars Wirzenius | 1 | -0/+8 | |
Sponsored-by: author | |||||
2022-11-09 | refactor: processing a directive returns Processed type, not String | Lars Wirzenius | 2 | -6/+14 | |
This paves way for non-Markdown placeholders that can be post-processed. Sponsored-by: author | |||||
2022-11-09 | chore: remove unnecessary borrows | Lars Wirzenius | 4 | -5/+5 | |
Found by clippy. Sponsored-by: author | |||||
2022-11-02 | Merge branch 'liw/inline' into 'main' | Lars Wirzenius | 1 | -7/+26 | |
feat: implement a simple version of the inline directive See merge request larswirzenius/riki!66 | |||||
2022-11-02 | feat: implement a simple version of the inline directive | Lars Wirzenius | 1 | -7/+26 | |
This version just produces a list of links to the matching pages. The link text is the page title, is any. Sponsored-by: author | |||||
2022-10-26 | Merge branch 'element-location' into 'main' | Lars Wirzenius | 1 | -17/+37 | |
feat: store start location of each element See merge request larswirzenius/riki!65 | |||||
2022-10-26 | feat: store start location of each element | Lars Wirzenius | 1 | -17/+37 | |
Sponsored-by: author | |||||
2022-10-23 | Merge branch 'liw/drop-brokenlinks' into 'main' | Lars Wirzenius | 2 | -41/+0 | |
drop: unnecessary brokenlinks directive See merge request larswirzenius/riki!64 | |||||
2022-10-23 | drop: unnecessary brokenlinks directive | Lars Wirzenius | 2 | -41/+0 | |
We already check intrasite links. Site build will fail if a wikilink refers to target that doesn't exist. The brokenlinks directive is thus unnecessary. Sponsored-by: author | |||||
2022-10-23 | Merge branch 'liw/unimplemented' into 'main' | Lars Wirzenius | 11 | -10/+13 | |
fix: make unimplemented directives be a runtime error See merge request larswirzenius/riki!63 | |||||
2022-10-23 | fix: make unimplemented directives be a runtime error | Lars Wirzenius | 11 | -10/+13 | |
Sponsored-by: author | |||||
2022-10-23 | Merge branch 'liw/syntax-errors' into 'main' | Lars Wirzenius | 2 | -30/+18 | |
fix: return error for wikitext syntax errors, instead of panic See merge request larswirzenius/riki!62 | |||||
2022-10-23 | fix: return error for wikitext syntax errors, instead of panic | Lars Wirzenius | 2 | -30/+18 | |
Sponsored-by: author | |||||
2022-10-23 | Merge branch 'liw/simplify-token-stream-parsing' into 'main' | Lars Wirzenius | 4 | -100/+128 | |
refactor: simplify parsing of token stream See merge request larswirzenius/riki!61 | |||||
2022-10-23 | chore: simplify code based on clippy suggestions | Lars Wirzenius | 2 | -15/+3 | |
Sponsored-by: author | |||||
2022-10-23 | refactor: simplify parsing of token stream | Lars Wirzenius | 2 | -85/+125 | |
Sponsored-by: author | |||||
2022-10-22 | Merge branch 'liw/wherefail' into 'main' | Lars Wirzenius | 6 | -161/+212 | |
feat: give location in source for errors Closes #7 See merge request larswirzenius/riki!60 | |||||
2022-10-22 | feat: give location in source for errors | Lars Wirzenius | 6 | -161/+212 | |
Sponsored-by: author |