mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-03-23 06:50:05 +03:00
scan-adoc-refs: extract man page section from .adoc file
This commit is contained in:
parent
7e2fdb3dfd
commit
34d7f485f6
@ -104,6 +104,12 @@ sub register_title {
|
||||
die "unable to change title (no doctype)"
|
||||
if !defined($fileinfo->{doctype}->{$env}->{$filename});
|
||||
}
|
||||
|
||||
if (defined($doctype) && ($env eq 'manvolnum') && ($doctype == 0)) {
|
||||
if ($title =~ m/.*\(([1-8])\)\s*$/) {
|
||||
$fileinfo->{mansection}->{$env}->{$filename} = $1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sub scan_adoc_file {
|
||||
|
Loading…
x
Reference in New Issue
Block a user