mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-14 20:38:48 +00:00
scan-adoc-refs: skip opts.adoc and synopsis.adoc files
This commit is contained in:
parent
e1d66945e2
commit
2c84b9cac8
@ -233,6 +233,7 @@ sub scan_adoc_file {
|
|||||||
my $scanned_files = {};
|
my $scanned_files = {};
|
||||||
while (my $filename = shift) {
|
while (my $filename = shift) {
|
||||||
next if $filename !~ m/\.adoc$/; # skip attributes.txt
|
next if $filename !~ m/\.adoc$/; # skip attributes.txt
|
||||||
|
next if $filename =~ m/-(opts|synopsis)\.adoc$/;
|
||||||
next if $scanned_files->{$filename};
|
next if $scanned_files->{$filename};
|
||||||
|
|
||||||
scan_adoc_file($filename);
|
scan_adoc_file($filename);
|
||||||
|
Loading…
Reference in New Issue
Block a user