diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-08-05 07:21:56 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-08-05 14:11:20 +0300 |
commit | c7b37b35c4530dc9ee79a4b79a46041ed682b183 (patch) | |
tree | b5fc9f97cee99cf2f8f17397988ee42af0398772 /riki.md | |
parent | cd593cd70db747c8f018a8e63a2af0e4727b12b3 (diff) | |
download | riki-c7b37b35c4530dc9ee79a4b79a46041ed682b183.tar.gz |
refactor: use new type for names
This is a big change that was not feasible to turn into a tidy series
of small steps. Sorry.
Re-work the processing queue so that wikitext pages are not loaded as
soon as the files are round in Site::scan, but later, though still in
::scan. This is a little cleaner.
Fix: don't copy markdown files to the destination tree, and verify
that it doesn't happen in the subplot.
Also, un-publish Site::add_wikitextpage and Site::add_other_file.
They're not needed from outside site.rs.
Also, drop Sites::included_files, as it was the same as Site::files.
Sponsored-by: author
Diffstat (limited to 'riki.md')
-rw-r--r-- | riki.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -532,6 +532,18 @@ then stdout doesn't contain "#index.mdwn#" ## Output directory tree +### No markdown files in output tree + +_Requirement: Markdown files are not copied to the output tree._ + +~~~scenario +given an installed riki +given file site/index.mdwn from empty +when I run riki build site output +then file output/index.html exists +then file output/index.mdwn does not exist +~~~ + ### Output files have source file modification times _Requirement: Files in the output directory have the same time stamp |