From: Nishi Date: Sun, 6 Oct 2024 08:19:21 +0000 (+0000) Subject: better X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=c58c0a92a94c334ce4705055f106e5a762fb4def;p=docgen.git better git-svn-id: file:///raid/svn-personal/docgen/trunk@12 44bc13e5-44cb-984e-b856-1907bf1ada44 --- diff --git a/docgen b/docgen index c51fb3f..d86c1f1 100755 --- a/docgen +++ b/docgen @@ -270,7 +270,7 @@ proc parse_markdown {path _result} { proc rescan {path dots append} { global output_directory input_directory icon genre_list title - foreach name [glob -tails -nocomplain -directory "$input_directory/$path" "{.rules.md,*}"] { + foreach name [glob -tails -nocomplain -directory "$input_directory/$path" "{.rules.md,index.md,*}"] { if { [file type "$input_directory/$path/$name"] == "directory" } { file mkdir "$output_directory/$append/$path/$name" rescan "$path/$name" "$dots../" "$append"