From 11a96f1b87d88f8f51278e3bdfe3ed48a8b48329 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Tue, 9 Mar 2021 09:42:13 +0100 Subject: [PATCH] Ignore files starting with _ --- scripts/update-toc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/update-toc b/scripts/update-toc index 67c1da9..df37363 100755 --- a/scripts/update-toc +++ b/scripts/update-toc @@ -46,6 +46,10 @@ class TocBuilder: if dname == "": continue + # skip files starting with '_' + if bname_split[0][0] == '_': + continue + # skip index files if bname_split[0] == 'index': continue