From f974c9919502764a0319b224eb604d094499ae37 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 28 Sep 2022 10:25:20 +0300 Subject: fix: include the subplot in the sources of the document This means that if only the subplot is modified, docgen will rebuild the output. Sponsored-by: author --- subplot.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'subplot.md') diff --git a/subplot.md b/subplot.md index 8ae5014..8daf1dd 100644 --- a/subplot.md +++ b/subplot.md @@ -1931,6 +1931,23 @@ then file simple.pdf has same metadata as before and only files simple.subplot, simple.md, b.yaml, f.py, simple.pdf exist ~~~ +### Do typeset if output is older than subplot + +~~~scenario +given file simple.subplot +given file simple.md +and file b.yaml +and file f.py +and an installed subplot +when I run subplot docgen simple.subplot -o simple.pdf +then file simple.pdf exists +when I remember metadata for file simple.pdf +and I wait until 1 second has passed +and I touch file simple.subplot +and I run subplot docgen simple.subplot -o simple.pdf +then file simple.pdf has changed from before +~~~ + ### Do typeset if output is older than markdown ~~~scenario @@ -2614,6 +2631,7 @@ bibliography: [foo.bib, bar.bib] "foo.bib", "image.gif", "images.md", + "images.subplot", "other.py", "other.yaml" ], -- cgit v1.2.1