mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-05-29 17:05:40 +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:
|
:data-uri:
|
||||||
:icons:
|
:icons:
|
||||||
|
|
||||||
|
ifndef::wiki[]
|
||||||
|
ifndef::manvolnum[]
|
||||||
|
|
||||||
// Push titles down one level.
|
// Push titles down one level.
|
||||||
:leveloffset: 1
|
:leveloffset: 1
|
||||||
|
|
||||||
@ -273,3 +276,5 @@ include::GFDL.adoc[]
|
|||||||
|
|
||||||
:leveloffset: 0
|
:leveloffset: 0
|
||||||
|
|
||||||
|
endif::manvolnum[]
|
||||||
|
endif::wiki[]
|
||||||
|
@ -14,12 +14,6 @@ my $environments = {
|
|||||||
pvelogo => 0, # ignore
|
pvelogo => 0, # ignore
|
||||||
};
|
};
|
||||||
|
|
||||||
my $resolve_skip_files = {
|
|
||||||
default => {},
|
|
||||||
wiki => { 'pve-admin-guide.adoc' => 1 },
|
|
||||||
manvolnum => {},
|
|
||||||
};
|
|
||||||
|
|
||||||
my $fileinfo = {};
|
my $fileinfo = {};
|
||||||
|
|
||||||
my $start_env = [];
|
my $start_env = [];
|
||||||
@ -176,7 +170,6 @@ sub resolve_link_target {
|
|||||||
while ($repeat) {
|
while ($repeat) {
|
||||||
$repeat = 0;
|
$repeat = 0;
|
||||||
foreach my $fn (keys %$include_hash) {
|
foreach my $fn (keys %$include_hash) {
|
||||||
next if $resolve_skip_files->{$env}->{$fn};
|
|
||||||
if ($include_hash->{$fn}->{$filename}) {
|
if ($include_hash->{$fn}->{$filename}) {
|
||||||
$filename = $fn;
|
$filename = $fn;
|
||||||
$repeat = 1;
|
$repeat = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user