]> Nishi Git Mirror - docgen.git/commitdiff
better
authorNishi <nishi@nishi.boats>
Sun, 6 Oct 2024 08:19:21 +0000 (08:19 +0000)
committerNishi <nishi@nishi.boats>
Sun, 6 Oct 2024 08:19:21 +0000 (08:19 +0000)
git-svn-id: file:///raid/svn-personal/docgen/trunk@12 44bc13e5-44cb-984e-b856-1907bf1ada44

docgen

diff --git a/docgen b/docgen
index c51fb3fb95a5e419fc5d2ef6468f2fb939f14b9a..d86c1f104282f5073b85cbcd57ee7b33d63c8e09 100755 (executable)
--- 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"