mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-05-30 01:43:51 +00:00
asciidoc-pve.in: define revdate/revnumber for all backends
This commit is contained in:
parent
dd284d2569
commit
b2a47ab2b5
@ -268,6 +268,8 @@ sub compile_asciidoc {
|
|||||||
my $attributes = {
|
my $attributes = {
|
||||||
$env => undef,
|
$env => undef,
|
||||||
leveloffset => $leveloffset,
|
leveloffset => $leveloffset,
|
||||||
|
revnumber => $release,
|
||||||
|
revdate => $date,
|
||||||
};
|
};
|
||||||
|
|
||||||
my $mansection = $fileinfo->{mansection}->{$env}->{$infile};
|
my $mansection = $fileinfo->{mansection}->{$env}->{$infile};
|
||||||
@ -342,7 +344,6 @@ sub compile_asciidoc {
|
|||||||
|
|
||||||
$attributes->{icons} = undef;
|
$attributes->{icons} = undef;
|
||||||
$attributes->{'data-uri'} = undef;
|
$attributes->{'data-uri'} = undef;
|
||||||
$attributes->{revnumber} = $release;
|
|
||||||
|
|
||||||
my $cmd = ['asciidoc'];
|
my $cmd = ['asciidoc'];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user