5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-21 18:03:45 +03:00

use the html5 backend for asciidoc

This commit is contained in:
Dietmar Maurer 2016-10-18 13:31:38 +02:00
parent 9242ce61a2
commit 8faad89e86
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ INDEX_INCLUDES= \
pve-admin-guide.epub \
$(sort $(addsuffix .html, ${MANUAL_PAGES}) ${CHAPTER_LIST})
ADOC_STDARG= -a icons -a data-uri -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}"
ADOC_STDARG= -b html5 -a icons -a data-uri -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}"
BROWSER?=xdg-open

View File

@ -372,7 +372,7 @@ sub compile_asciidoc {
$attributes->{icons} = undef;
$attributes->{'data-uri'} = undef;
my $cmd = ['asciidoc'];
my $cmd = ['asciidoc', '-b', 'html5'];
push @$cmd, '-s' if ($env eq 'wiki') ||
(($env eq 'manvolnum') && ($man_target eq 'wiki'));