summaryrefslogtreecommitdiff
path: root/riki.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-07-08 19:53:16 +0300
committerLars Wirzenius <liw@liw.fi>2022-07-08 19:53:16 +0300
commit8b6d0c1eceb740df48d26c1e9448474e8e247335 (patch)
treee30f3265c6a7311b84caf9eadbe983979a41e738 /riki.md
parentc21324beb5df1b8fe629abfe83cab1bd945b1e4c (diff)
downloadriki-8b6d0c1eceb740df48d26c1e9448474e8e247335.tar.gz
test: verify that input files in sub-directories work
Sponsored-by: author
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
+~~~