File tree 3 files changed +721
-2
lines changed
3 files changed +721
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ INDEX_INCLUDES= \
78
78
man8-index-table.adoc \
79
79
$(sort $(addsuffix .html, ${MANUAL_PAGES}) ${CHAPTER_LIST})
80
80
81
- ADOC_STDARG = -b html5 -a icons -a data-uri -a "date=$(shell date) " -a "revnumber=${DOCRELEASE}"
81
+ ADOC_STDARG =-b $( shell pwd) /asciidoc/pve-html -f asciidoc/asciidoc-pve.conf -a icons -a data-uri -a "date=$(shell date) " -a "revnumber=${DOCRELEASE}"
82
82
83
83
BROWSER? =xdg-open
84
84
@@ -113,7 +113,7 @@ index.html: index.adoc ${API_VIEWER_SOURCES} ${INDEX_INCLUDES}
113
113
asciidoc ${ADOC_STDARG} -o $@ index.adoc
114
114
115
115
pve-admin-guide.html : ${PVE_ADMIN_GUIDE_ADOCDEPENDS}
116
- asciidoc -a pvelogo ${ADOC_STDARG} pve-admin-guide.adoc
116
+ asciidoc -a pvelogo ${ADOC_STDARG} -o $@ pve-admin-guide.adoc
117
117
118
118
pve-admin-guide.chunked : ${PVE_ADMIN_GUIDE_ADOCDEPENDS}
119
119
rm -rf pve-admin-guide.chunked
@@ -162,6 +162,7 @@ ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB}: index.html ${INDEX_INCLUDES} ${WIKI_IMPO
162
162
install -m 0755 asciidoc-pve build/usr/bin/
163
163
install -D -m 0644 asciidoc/mediawiki.conf build/usr/share/${GEN_PACKAGE} /asciidoc/mediawiki.conf
164
164
install -m 0644 asciidoc/asciidoc-pve.conf build/usr/share/${GEN_PACKAGE} /asciidoc/
165
+ install -m 0644 asciidoc/pve-html.conf build/usr/share/${GEN_PACKAGE} /asciidoc/
165
166
# install files for pvedocs package
166
167
mkdir -p build/usr/share/${DOC_PACKAGE}
167
168
mkdir -p build/usr/share/doc/${DOC_PACKAGE}
Original file line number Diff line number Diff line change @@ -393,6 +393,8 @@ sub compile_asciidoc {
393
393
(($env eq ' manvolnum' ) && ($man_target eq ' wiki' ))) {
394
394
395
395
push @$cmd , ' -b' , " $adoc_source_dir /asciidoc/mediawiki" ;
396
+ } else {
397
+ push @$cmd , ' -b' , " $adoc_source_dir /asciidoc/pve-html" ;
396
398
}
397
399
398
400
foreach my $key (keys %$attributes ) {
You can’t perform that action at this time.
0 commit comments