[PATCH 7/7] docs: convert 'csharp' page to rst

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 docs/csharp.html.in | 52 ---------------------------------------------
 docs/csharp.rst     | 38 +++++++++++++++++++++++++++++++++
 docs/meson.build    |  2 +-
 3 files changed, 39 insertions(+), 53 deletions(-)
 delete mode 100644 docs/csharp.html.in
 create mode 100644 docs/csharp.rst

diff --git a/docs/csharp.html.in b/docs/csharp.html.in
deleted file mode 100644
index f94c08ff8d..0000000000
--- a/docs/csharp.html.in
+++ /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
index 0000000000..96fac1b442
--- /dev/null
+++ b/docs/csharp.rst
@@ -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.
diff --git a/docs/meson.build b/docs/meson.build
index f54b56ed01..2295fbf752 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -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',
-- 
2.35.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux