mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-14 20:38:48 +00:00
use the html5 backend for asciidoc
This commit is contained in:
parent
9242ce61a2
commit
8faad89e86
2
Makefile
2
Makefile
@ -68,7 +68,7 @@ INDEX_INCLUDES= \
|
|||||||
pve-admin-guide.epub \
|
pve-admin-guide.epub \
|
||||||
$(sort $(addsuffix .html, ${MANUAL_PAGES}) ${CHAPTER_LIST})
|
$(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
|
BROWSER?=xdg-open
|
||||||
|
|
||||||
|
@ -372,7 +372,7 @@ sub compile_asciidoc {
|
|||||||
$attributes->{icons} = undef;
|
$attributes->{icons} = undef;
|
||||||
$attributes->{'data-uri'} = undef;
|
$attributes->{'data-uri'} = undef;
|
||||||
|
|
||||||
my $cmd = ['asciidoc'];
|
my $cmd = ['asciidoc', '-b', 'html5'];
|
||||||
|
|
||||||
push @$cmd, '-s' if ($env eq 'wiki') ||
|
push @$cmd, '-s' if ($env eq 'wiki') ||
|
||||||
(($env eq 'manvolnum') && ($man_target eq 'wiki'));
|
(($env eq 'manvolnum') && ($man_target eq 'wiki'));
|
||||||
|
Loading…
Reference in New Issue
Block a user