]> git.proxmox.com Git - pve-docs.git/commitdiff
scan-adoc-refs: skip opts.adoc and synopsis.adoc files
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 15 Oct 2016 12:40:12 +0000 (14:40 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 15 Oct 2016 12:40:12 +0000 (14:40 +0200)
scan-adoc-refs

index afbabb34f7e8c1a14ed3ab29867029a007db4c75..70547e2dcc173132a26c89382b702db1c5203efd 100755 (executable)
@@ -233,6 +233,7 @@ sub scan_adoc_file {
 my $scanned_files = {};
 while (my $filename = shift) {
     next if $filename !~ m/\.adoc$/; # skip attributes.txt
+    next if $filename =~ m/-(opts|synopsis)\.adoc$/;
     next if $scanned_files->{$filename};
 
     scan_adoc_file($filename);