From ace211d2c2e9c775872c4a23087763afff5a5bb2 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 10 May 2023 09:10:25 +0300 Subject: feat! allow multiple markdown files for a subplot Sponsored-by: author --- subplot-build/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'subplot-build') 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 -- cgit v1.2.1