]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: convert 'csharp' page to rst
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 Apr 2022 12:49:54 +0000 (14:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 7 Apr 2022 13:10:26 +0000 (15:10 +0200)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
docs/csharp.html.in [deleted file]
docs/csharp.rst [new file with mode: 0644]
docs/meson.build

diff --git a/docs/csharp.html.in b/docs/csharp.html.in
deleted file mode 100644 (file)
index f94c08f..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
-  <body>
-    <h1>C# API bindings</h1>
-
-    <ul id="toc"></ul>
-
-    <h2><a id="description">Description</a></h2>
-
-    <p>
-      The C# libvirt bindings are a class library.  They use a Microsoft
-      Visual Studio project architecture, and have been tested with Windows
-      .NET, and Mono, on both Linux and Windows.
-    </p>
-    <p>
-      Compiling them produces <b>LibvirtBindings.dll</b>, which can
-      be added as a .NET reference to any .NET project needing access
-      to libvirt.
-    </p>
-
-    <h2><a id="requirements">Requirements</a></h2>
-
-    <p>
-      These bindings depend upon the libvirt libraries being installed.
-    </p>
-    <p>
-      In the .NET case, this is <b>libvirt-0.dll</b>, produced from
-      compiling libvirt for windows.
-    </p>
-
-    <h2><a id="git">GIT source repository</a></h2>
-    <p>
-      The C# bindings source code is maintained in a <a
-      href="https://git-scm.com/">git</a> repository available on
-      <a href="https://gitlab.com/libvirt/libvirt-csharp">gitlab.com</a>:
-    </p>
-
-<pre>
-git clone https://gitlab.com/libvirt/libvirt-csharp.git
-</pre>
-
-    <h2><a id="authors">Authors</a></h2>
-
-    <p>
-      The C# bindings are the work of Arnaud Champion
-      &lt;<a href="mailto:arnaud.champion AT devatom.fr">arnaud.champion AT devatom.fr</a>&gt;,
-      based upon the previous work of Jaromír Červenka.
-    </p>
-
-  </body>
-</html>
diff --git a/docs/csharp.rst b/docs/csharp.rst
new file mode 100644 (file)
index 0000000..96fac1b
--- /dev/null
@@ -0,0 +1,38 @@
+===============
+C# API bindings
+===============
+
+Description
+-----------
+
+The C# libvirt bindings are a class library. They use a Microsoft Visual Studio
+project architecture, and have been tested with Windows .NET, and Mono, on both
+Linux and Windows.
+
+Compiling them produces **LibvirtBindings.dll**, which can be added as a .NET
+reference to any .NET project needing access to libvirt.
+
+Requirements
+------------
+
+These bindings depend upon the libvirt libraries being installed.
+
+In the .NET case, this is **libvirt-0.dll**, produced from compiling libvirt for
+windows.
+
+GIT source repository
+---------------------
+
+The C# bindings source code is maintained in a ``git`` repository available on
+`gitlab.com <https://gitlab.com/libvirt/libvirt-csharp>`__:
+
+::
+
+   git clone https://gitlab.com/libvirt/libvirt-csharp.git
+
+Authors
+-------
+
+The C# bindings are the work of Arnaud Champion <`arnaud.champion AT
+devatom.fr <mailto:arnaud.champion%20AT%20devatom.fr>`__>, based upon the
+previous work of Jaromír Červenka.
index f54b56ed01092dd3c529649520ebe55c69cc69a2..2295fbf752f4cf6385895b47aed0f26749498eef 100644 (file)
@@ -19,7 +19,6 @@ docs_assets = [
 
 docs_html_in_files = [
   '404',
-  'csharp',
   'docs',
   'formatcaps',
   'formatdomaincaps',
@@ -52,6 +51,7 @@ docs_rst_files = [
   'compiling',
   'contact',
   'contribute',
+  'csharp',
   'daemons',
   'dbus',
   'downloads',