From bc74dfa21fd66fd6d77c7b32526b4b8b6c92b5bd Mon Sep 17 00:00:00 2001 From: Peter Brightwell Date: Mon, 28 Feb 2022 19:51:53 +0000 Subject: [PATCH] Don't index docs/index.md (see #43) --- make-indexes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-indexes.sh b/make-indexes.sh index 42531f8..5dbc5e0 100755 --- a/make-indexes.sh +++ b/make-indexes.sh @@ -145,7 +145,7 @@ function do_tree { if compgen -G "docs/[1-9].*.md" > /dev/null ; then echo "Adding numbered docs" - for doc in docs/*.md; do + for doc in docs/[1-9]*.md; do add_numbered_doc "$doc" done elif [ -f docs/README.md ] ; then