Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
docs/meson.build | 2 +-
docs/php.html.in | 28 ----------------------------
docs/php.rst | 23 +++++++++++++++++++++++
3 files changed, 24 insertions(+), 29 deletions(-)
delete mode 100644 docs/php.html.in
create mode 100644 docs/php.rst
diff --git a/docs/meson.build b/docs/meson.build
index f6e51353f0..c1def26655 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -27,7 +27,6 @@ docs_html_in_files = [
'formatnwfilter',
'index',
'internals',
- 'php',
'python',
'remote',
'storage',
@@ -100,6 +99,7 @@ docs_rst_files = [
'nss',
'pci-addresses',
'pci-hotplug',
+ 'php',
'platforms',
'programming-languages',
'securityprocess',
diff --git a/docs/php.html.in b/docs/php.html.in
deleted file mode 100644
index 9340c81eec..0000000000
--- a/docs/php.html.in
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html>
-<html
xmlns="http://www.w3.org/1999/xhtml">
- <body>
- <h1>PHP API bindings</h1>
-
-<h2>Presentation</h2>
- <p>The libvirt-php, originally called php-libvirt, is the PHP API bindings for
- the libvirt virtualization toolkit originally developed by Radek
Hladik.</p>
-
-<h2>Getting the source</h2>
-<p> The PHP bindings code source is now maintained in a <a
-href="https://git-scm.com/">git</a> repository available on
-<a
href="https://gitlab.com/libvirt/libvirt-php">gitlab.com<...;:
-</p>
-<pre>
-git clone
https://gitlab.com/libvirt/libvirt-php.git
-</pre>
-
-<p></p>
-<h2>Project pages</h2>
-<p>Since February 2011 the project has its own pages hosted at
libvirt.org. For
more information on the project
- please refer to <a
href="https://libvirt.org/php">https://libvirt.org/php</a>.
-
-</p>
-
- </body>
-</html>
diff --git a/docs/php.rst b/docs/php.rst
new file mode 100644
index 0000000000..36f7c44bed
--- /dev/null
+++ b/docs/php.rst
@@ -0,0 +1,23 @@
+================
+PHP API bindings
+================
+
+The libvirt-php, originally called php-libvirt, is the PHP API bindings for the
+libvirt virtualization toolkit originally developed by Radek Hladik.
+
+Getting the source
+------------------
+
+The PHP bindings code source is now maintained in a
+`git <
https://git-scm.com/>`__ repository available on
+`gitlab.com <
https://gitlab.com/libvirt/libvirt-php>`__:
+
+::
+
+ git clone
https://gitlab.com/libvirt/libvirt-php.git
+
+Project pages
+-------------
+
+Since February 2011 the project has its own pages hosted at
libvirt.org. For
+more information on the project please refer to
https://libvirt.org/php.
--
2.35.1