summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-10-22Merge branch 'env_logger' into 'main'Lars Wirzenius3-128/+169
chore: switch from pretty_env_logger to env_logger See merge request larswirzenius/riki!59
2022-10-22chore: switch from pretty_env_logger to env_loggerLars Wirzenius3-128/+169
Sponsored-by: author
2022-10-22Merge branch 'pagespec-func' into 'main'Lars Wirzenius4-22/+85
feat: support page(glob) function in pagespec See merge request larswirzenius/riki!58
2022-10-22feat: support page(glob) function in pagespecLars Wirzenius4-22/+85
Sponsored-by: author
2022-10-16Merge branch 'refactor-pages-and-files-unification' into 'main'Lars Wirzenius18-180/+377
refactor to simplify site processing, tidy up some things See merge request larswirzenius/riki!57
2022-10-16fix: formattingLars Wirzenius7-25/+65
Sponsored-by: author
2022-10-16style: use .first() instead of .get(0)Lars Wirzenius1-1/+1
Sponsored-by: author
2022-10-16style: drop an unnecessary temporary variableLars Wirzenius1-4/+3
Sponsored-by: author
2022-10-16chore: silence clippy warning about needless lifetimesLars Wirzenius1-0/+1
lalrpop generates code with this. Sponsored-by: author
2022-10-16style: implement Default instead of argument-less newLars Wirzenius5-30/+10
Sponsored-by: author
2022-10-16chore: silence clippy about lalrpop generated codeLars Wirzenius2-0/+5
Sponsored-by: author
2022-10-16refactor: simplify processing by dropping queue of namesLars Wirzenius1-19/+7
Sponsored-by: author
2022-10-16fix: debug messageLars Wirzenius1-1/+1
Sponsored-by: author
2022-10-16refactor: use iterator filter to filter paths in source dirLars Wirzenius2-28/+27
Sponsored-by: author
2022-10-15refactor: move source file modification time stamp into NameLars Wirzenius2-33/+26
Sponsored-by: author
2022-10-15fix: tracing messageLars Wirzenius1-1/+1
Sponsored-by: author
2022-10-15fix: split page processing so that preparation is clearly separateLars Wirzenius1-20/+24
Sponsored-by: author
2022-10-15fix: name of SourceDirLars Wirzenius2-17/+30
Sponsored-by: author
2022-10-15refactor: use PathFilter in Site::all_filesLars Wirzenius2-19/+14
Sponsored-by: author
2022-10-15refactor: add PathFilterLars Wirzenius1-0/+73
Sponsored-by: author
2022-10-15refactor: use SourceDir in Site::all_filesLars Wirzenius1-4/+4
Sponsored-by: author
2022-10-15refactor: add SourceDirLars Wirzenius2-0/+39
Sponsored-by: author
2022-10-15refactor: rename name_queue to names_to_processLars Wirzenius1-5/+5
For clarity. Sponsored-by: author
2022-10-15refactor: rename page_queue to pages_that_will_existLars Wirzenius1-7/+7
The new name describes the intent of the field better. Sponsored-by: author
2022-10-15refactor: move fields around, in the hope of being clearerLars Wirzenius1-4/+4
Sponsored-by: author
2022-10-15refactor: merge process_unprocessed into process_wikitextLars Wirzenius1-17/+2
There's no actual need to keep them separate. Sponsored-by: author
2022-10-09docs: add some software architecture to riki.mdLars Wirzenius1-0/+82
Sponsored-by: author
2022-10-02reformat: add missing empty lineLars Wirzenius1-0/+1
Sponsored-by: author
2022-10-02Merge branch 'pagespec-on-everything' into 'main'Lars Wirzenius4-27/+34
feat: in the page-spec command, match also non-markdown files See merge request larswirzenius/riki!56
2022-10-02fix: allow period and underscore in PageSpec globsLars Wirzenius1-1/+1
Sponsored-by: author
2022-10-02feat: in the page-spec command, match also non-markdown filesLars Wirzenius3-26/+33
Sponsored-by: author
2022-09-28Merge branch 'pagespec.v2' into 'main'Lars Wirzenius9-4/+531
feat: implement PageSpec expressions Closes #33 See merge request larswirzenius/riki!55
2022-09-28feat: implement PageSpec expressionsLars Wirzenius9-4/+531
This is just the expressions, they aren't used by any directives yet. Sponsored-by: author
2022-09-23Merge branch 'table' into 'main'Lars Wirzenius2-6/+52
feat: implement table directive Closes #31 See merge request larswirzenius/riki!54
2022-09-23feat: implement table directiveLars Wirzenius2-6/+52
Sponsored-by: author
2022-09-17Merge branch 'usedirs' into 'main'Lars Wirzenius6-118/+108
ikiwiki usedirs Closes #2 See merge request larswirzenius/riki!53
2022-09-17feat! generate foo/index.html for foo.mdwn (ikiwiki usedirs)Lars Wirzenius2-37/+74
Implement the ikiwiki "usedirs" functionality in riki, so that riki generates compatible URLs with ikiwiki. This means that for an input page foo.mdwn, riki generates an output page of foo/index.html. ikiwiki has its "usedirs" setting enabled by default, with the following justification: There are several advantages to `usedirs`, including simpler URLs, URLs that aren't dependent on the underlying implementation (`.html`), and being able to use URLs as tags as described in the [rel-tag microformat](http://microformats.org/wiki/rel-tag). The main disadvantage is that it is harder to browse using `file://` URIs, since `file:///dir/` doesn't automatically translate to `dir/index.html`. This is something one could fix in the browser though. For riki it's enough to be compatible with ikiwiki. Sponsored-by: author
2022-09-17chore: update to new SubplotLars Wirzenius5-81/+34
Sponsored-by: author
2022-09-08Merge branch 'img-link-gen' into 'main'Lars Wirzenius2-7/+66
feat: img directive link generation See merge request larswirzenius/riki!52
2022-09-08feat: img directive link generationLars Wirzenius2-7/+66
This is just simple enough for me for now. Sponsored-by: author
2022-09-08Merge branch 'img' into 'main'Lars Wirzenius2-5/+196
img directive Closes #12 See merge request larswirzenius/riki!51
2022-09-08feat: implement the img directiveLars Wirzenius2-19/+178
Sponsored-by: author
2022-09-08drop: img height, widthLars Wirzenius2-1/+33
Not documented for ikiwiki. Sponsored-by: author
2022-09-06Merge branch 'ifx' into 'main'Lars Wirzenius1-35/+0
chore: drop unused calendars.rs See merge request larswirzenius/riki!50
2022-09-06chore: drop unused calendars.rsLars Wirzenius1-35/+0
2022-09-06Merge branch 'perf' into 'main'Lars Wirzenius3-6/+20
improve performance a little See merge request larswirzenius/riki!49
2022-09-06perf: use a heap queue for ordering names for processingLars Wirzenius2-6/+17
This shaves off about 2s of the 5s total run time for building my journal. Sponsored-by: author
2022-09-06perf: enable debug symbols when building for releaseLars Wirzenius1-0/+3
This gives output that is easier to understand for "cargo flamegraph". Sponsored-by: author
2022-09-02Merge branch 'fix' into 'main'Lars Wirzenius15-10/+309
feat: add placeholder for table directive See merge request larswirzenius/riki!48
2022-09-02fix: placeholder directives other fixes to process all test stiesLars Wirzenius10-5/+178
Sponsored-by: author