From 615d5d3d72b1a0b1c1227df7b70b03ac2698bf0d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 9 Aug 2020 10:17:10 +0300 Subject: fix: make sure separate plugins show up as separate sections format.sh was just catting the files together. create_dir.mdwn did not end in an empty line, which meant that create_file.mdwn's first line was not interpreted as a heading. Fix is to make sure files are separated by an empty line. [optional scope]: [optional body] [optional footer(s)] --- check | 13 +++++++++++++ format.sh | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/check b/check index 43f671a..101da55 100755 --- a/check +++ b/check @@ -30,6 +30,10 @@ fi echo Formatting docs ======================================== ./format.sh +plugindocs() { + ls -1 vmdb/plugins/*.mdwn +} + steps() { sed -n '/

tmp.md +(cat vmdb2.md; for x in vmdb/plugins/*.mdwn; do cat "$x"; echo; done) > tmp.md if command -v sp-docgen > /dev/null then sp-docgen tmp.md -o vmdb2.html -- cgit v1.2.1