diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-09-28 10:25:20 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-09-28 10:25:20 +0300 |
commit | f974c9919502764a0319b224eb604d094499ae37 (patch) | |
tree | 270b505f63b57df15c65e259dd896689ce6bec15 /subplot.md | |
parent | f204a2e599f74485b80c4168e03358c6f3c985bf (diff) | |
download | subplot-f974c9919502764a0319b224eb604d094499ae37.tar.gz |
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
Diffstat (limited to 'subplot.md')
-rw-r--r-- | subplot.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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" ], |