]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Convert 'php' page to rST
authorPeter Krempa <pkrempa@redhat.com>
Thu, 10 Mar 2022 16:57:54 +0000 (17:57 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 1 Apr 2022 14:33:20 +0000 (16:33 +0200)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
docs/meson.build
docs/php.html.in [deleted file]
docs/php.rst [new file with mode: 0644]

index b77b3e5e33bf204d7c6e8609d6e53373af744597..6effe4f83805cf599f3eb021de471e9546209a5c 100644 (file)
@@ -30,7 +30,6 @@ docs_html_in_files = [
   'formatstoragecaps',
   '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 (file)
index 9340c81..0000000
+++ /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</a>:
-</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 (file)
index 0000000..36f7c44
--- /dev/null
@@ -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.