From: Dietmar Maurer Date: Sat, 15 Oct 2016 12:40:12 +0000 (+0200) Subject: scan-adoc-refs: skip opts.adoc and synopsis.adoc files X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=2c84b9cac8674824d7bfe7a487d9b9fee95efec3 scan-adoc-refs: skip opts.adoc and synopsis.adoc files --- diff --git a/scan-adoc-refs b/scan-adoc-refs index afbabb3..70547e2 100755 --- a/scan-adoc-refs +++ b/scan-adoc-refs @@ -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);