diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-05-10 09:10:25 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-05-10 09:14:34 +0300 |
commit | ace211d2c2e9c775872c4a23087763afff5a5bb2 (patch) | |
tree | f6884f4b6c3ee43c9c736f7f91e12d8a5ec98c49 /subplot-build | |
parent | 0a81c16df535853c68d5c833a213a81c2a1a9388 (diff) | |
download | subplot-ace211d2c2e9c775872c4a23087763afff5a5bb2.tar.gz |
feat! allow multiple markdown files for a subplot
Sponsored-by: author
Diffstat (limited to 'subplot-build')
-rw-r--r-- | subplot-build/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/subplot-build/src/lib.rs b/subplot-build/src/lib.rs index 7f194c5..20d3e08 100644 --- a/subplot-build/src/lib.rs +++ b/subplot-build/src/lib.rs @@ -54,7 +54,9 @@ where // re-running. let base_path = get_basedir_from(filename); let meta = output.doc.meta(); - buildrs_deps(&base_path, Some(meta.markdown_filename())); + for filename in meta.markdown_filenames() { + buildrs_deps(&base_path, Some(filename.as_path())); + } buildrs_deps(&base_path, meta.bindings_filenames()); let docimpl = output .doc |