summaryrefslogtreecommitdiff
path: root/riki.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-07-08 17:26:09 +0000
committerLars Wirzenius <liw@liw.fi>2022-07-08 17:26:09 +0000
commit2967a6e66aeaa8e4d86bb5487f33e495ebacec50 (patch)
tree507993e1c2e24c22bb7342c4b2a4cb54314cda7d /riki.md
parent7caab3751a375e919269b12283414c759776b181 (diff)
parent07beb362cd12af99474e0efe8af9562b969bb109 (diff)
downloadriki-2967a6e66aeaa8e4d86bb5487f33e495ebacec50.tar.gz
Merge branch 'fix' into 'main'
fix: create missing reltaive directories in target tree See merge request larswirzenius/riki!6
Diffstat (limited to 'riki.md')
-rw-r--r--riki.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/riki.md b/riki.md
index 349c352..ed5c2c2 100644
--- a/riki.md
+++ b/riki.md
@@ -224,3 +224,18 @@ then files site/image.jpg and output/image.jpg match
# Dummy
Pretend this is an image.
~~~
+
+## Input files in sub=directories
+
+_Requirement: If an source page or file is in a sub-directory, it
+should be put in the corresponding sub-directory in the target
+directory._
+
+~~~scenario
+given an installed riki
+given file site/foo/page.mdwn from image
+given file site/bar/image.jpg from para
+when I run riki site output
+then AST of site/foo/page.mdwn matches that of output/foo/page.html
+then files site/bar//image.jpg and output/bar/image.jpg match
+~~~