mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-05-28 13:05:37 +03:00
skip content in pve-admin-guide.adoc for wiki/man environment
so that scan_adoc_file do not find wrong blockid definitions.
This commit is contained in:
parent
f9599fd507
commit
58cc423cba
@ -14,6 +14,9 @@ include::attributes.txt[]
|
||||
:data-uri:
|
||||
:icons:
|
||||
|
||||
ifndef::wiki[]
|
||||
ifndef::manvolnum[]
|
||||
|
||||
// Push titles down one level.
|
||||
:leveloffset: 1
|
||||
|
||||
@ -273,3 +276,5 @@ include::GFDL.adoc[]
|
||||
|
||||
:leveloffset: 0
|
||||
|
||||
endif::manvolnum[]
|
||||
endif::wiki[]
|
||||
|
@ -14,12 +14,6 @@ my $environments = {
|
||||
pvelogo => 0, # ignore
|
||||
};
|
||||
|
||||
my $resolve_skip_files = {
|
||||
default => {},
|
||||
wiki => { 'pve-admin-guide.adoc' => 1 },
|
||||
manvolnum => {},
|
||||
};
|
||||
|
||||
my $fileinfo = {};
|
||||
|
||||
my $start_env = [];
|
||||
@ -176,7 +170,6 @@ sub resolve_link_target {
|
||||
while ($repeat) {
|
||||
$repeat = 0;
|
||||
foreach my $fn (keys %$include_hash) {
|
||||
next if $resolve_skip_files->{$env}->{$fn};
|
||||
if ($include_hash->{$fn}->{$filename}) {
|
||||
$filename = $fn;
|
||||
$repeat = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user