From 48a5589b761771257ad01252b0ce1abf9945fbb1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Fri, 18 Oct 2019 15:29:47 +0100 Subject: [PATCH] docs: convert virt-xml-validate man page from pod to rst MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This was a semi-automated conversion. First it was run through pod2rst, and then it was manually editted to use a rst structure that matches expectations of rst2man. Reviewed-by: Cole Robinson Signed-off-by: Daniel P. Berrangé --- docs/Makefile.am | 1 + docs/manpages/index.rst | 1 + .../manpages/virt-xml-validate.rst | 107 +++++++++++------- tools/Makefile.am | 3 - 4 files changed, 68 insertions(+), 44 deletions(-) rename tools/virt-xml-validate.pod => docs/manpages/virt-xml-validate.rst (53%) diff --git a/docs/Makefile.am b/docs/Makefile.am index 5829bbccc6..378855ab71 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -202,6 +202,7 @@ manpages_rst = \ $(NULL) manpages1_rst = \ manpages/virt-pki-validate.rst \ + manpages/virt-xml-validate.rst \ $(NULL) manpages7_rst = \ $(NULL) diff --git a/docs/manpages/index.rst b/docs/manpages/index.rst index 0d166c1923..5042071c7d 100644 --- a/docs/manpages/index.rst +++ b/docs/manpages/index.rst @@ -14,3 +14,4 @@ Tools * `virt-host-validate(1) `__ - validate host virtualization setup * `virt-pki-validate(1) `__ - validate libvirt PKI files are configured correctly +* `virt-xml-validate(1) `__ - validate libvirt XML files against a schema diff --git a/tools/virt-xml-validate.pod b/docs/manpages/virt-xml-validate.rst similarity index 53% rename from tools/virt-xml-validate.pod rename to docs/manpages/virt-xml-validate.rst index a51a57002a..940eada3a8 100644 --- a/tools/virt-xml-validate.pod +++ b/docs/manpages/virt-xml-validate.rst @@ -1,14 +1,27 @@ -=head1 NAME +================= +virt-xml-validate +================= -virt-xml-validate - validate libvirt XML files against a schema +------------------------------------------- +validate libvirt XML files against a schema +------------------------------------------- -=head1 SYNOPSIS +:Manual section: 1 +:Manual group: Virtualization Support -B I [I] +.. contents:: -B I