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

mediawiki-import: import important manual pages

This commit is contained in:
Dietmar Maurer 2016-05-03 17:52:59 +02:00
parent 0e25828e13
commit 1496dbe5b0
2 changed files with 19 additions and 1 deletions

View File

@ -167,6 +167,10 @@ pmxcfs.8.html: pmxcfs.adoc pmxcfs.8-cli.adoc ${PVE_COMMON_DOC_SOURCES}
asciidoc ${ADOC_MAN5_HTML_ARGS} -o $@ $*.adoc
test -n "$${NOVIEW}" || $(BROWSER) $@ &
%.5-plain.html: %.adoc %.5-opts.adoc ${PVE_COMMON_DOC_SOURCES}
asciidoc -s ${ADOC_MAN5_HTML_ARGS} -o $@ $*.adoc
test -n "$${NOVIEW}" || $(BROWSER) $@ &
.PHONY: index
index: index.html
test -n "$${NOVIEW}" || $(BROWSER) index.html &
@ -176,6 +180,7 @@ index.html: index.adoc ${PVE_ADMIN_GUIDE_SOURCES} ${API_VIEWER_SOURCES}
$(MAKE) NOVIEW=1 $(addsuffix .1.html, ${COMMAND_LIST}) $(addsuffix .8.html, ${SERVICE_LIST}) $(addsuffix .5.html, ${CONFIG_LIST})
$(MAKE) NOVIEW=1 $(addsuffix .html, $(addprefix chapter-, ${CHAPTER_LIST}))
$(MAKE) NOVIEW=1 $(addsuffix -plain.html, $(addprefix chapter-, ${CHAPTER_LIST}))
$(MAKE) NOVIEW=1 $(addsuffix .5-plain.html, ${CONFIG_LIST})
asciidoc -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}" index.adoc
pve-admin-guide.html: ${PVE_ADMIN_GUIDE_SOURCES}
@ -216,6 +221,7 @@ deb:
DOC_DEB_FILES= \
$(addsuffix .html, $(addprefix chapter-, ${CHAPTER_LIST})) \
$(addsuffix -plain.html, $(addprefix chapter-, ${CHAPTER_LIST})) \
$(addsuffix .5-plain.html, ${CONFIG_LIST}) \
$(addsuffix .1.html, ${COMMAND_LIST}) \
$(addsuffix .8.html, ${SERVICE_LIST}) \
$(addsuffix .5.html, ${CONFIG_LIST}) \

View File

@ -111,7 +111,19 @@ my $docs = {
'chapter-vzdump-plain.html' => {
title => "Backup and Restore",
category => $cat_refdoc,
}
},
'qm.conf.5-plain.html' => {
title => "Manual: vm.conf",
category => $cat_refdoc,
},
'pct.conf.5-plain.html' => {
title => "Manual: pct.conf",
category => $cat_refdoc,
},
'datacenter.cfg.5-plain.html' => {
title => "Manual: datacenter.cfg",
category => $cat_refdoc,
},
};
#update_page("testpage1", $filename, $d->{category});