mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-19 14:19:22 +00:00
pve-doc-generator: add rules for API verification
since API verification happens in the same places as man page and bash completion generation, and is identical across the board. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
fff735f96d
commit
014d77dac0
@ -53,6 +53,14 @@ endif
|
|||||||
perl ${PERL_DOC_INC} -T -e "use PVE::CLI::$*; PVE::CLI::$*->generate_bash_completions();" >$@.tmp
|
perl ${PERL_DOC_INC} -T -e "use PVE::CLI::$*; PVE::CLI::$*->generate_bash_completions();" >$@.tmp
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
|
%.service-api-verified:
|
||||||
|
perl ${PERL_DOC_INC} -T -e "use PVE::Service::$*; PVE::Service::$*->verify_api();"
|
||||||
|
touch $@
|
||||||
|
|
||||||
|
%.api-verified:
|
||||||
|
perl ${PERL_DOC_INC} -T -e "use PVE::CLI::$*; PVE::CLI::$*->verify_api();"
|
||||||
|
touch $@
|
||||||
|
|
||||||
%-plain.html: %.adoc ${PVE_COMMON_DOC_SOURCES}
|
%-plain.html: %.adoc ${PVE_COMMON_DOC_SOURCES}
|
||||||
${ASCIIDOC_PVE} compile-wiki -o $@ $*.adoc
|
${ASCIIDOC_PVE} compile-wiki -o $@ $*.adoc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user