From 973cbca918ca36e46c2d1d8ff076c1ad94e357bd Mon Sep 17 00:00:00 2001 From: Renken Date: Mon, 10 Apr 2023 14:43:31 +0200 Subject: [PATCH] build(gen): fix markdown toctree Filename was wrong as well as the format itself. --- gen_blogpost.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gen_blogpost.sh b/gen_blogpost.sh index a4d4061..d696ce7 100755 --- a/gen_blogpost.sh +++ b/gen_blogpost.sh @@ -16,16 +16,16 @@ for dir in "$archive" "$archive/$year" "$archive/$year/$month"; do if [ "$name" = archive ]; then name=Archive fi - <<-EOF cat - >"$dir/index.rst" + <<-EOF cat - >"$dir/index.md" # $name \`\`\`{toctree} --- - $(printf '\t')glob - $(printf '\t')maxdepth: 1 + maxdepth: 1 + glob: --- - $(printf '\t')*/index + */index \`\`\` EOF fi