man: Convert network-color(8) to asciidoc
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Sep 2018 22:34:35 +0000 (00:34 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 31 Mar 2019 12:47:04 +0000 (14:47 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
man/network-color.txt [new file with mode: 0644]
man/network-color.xml [deleted file]

diff --git a/man/network-color.txt b/man/network-color.txt
new file mode 100644 (file)
index 0000000..7c95e18
--- /dev/null
@@ -0,0 +1,33 @@
+network-color(8)
+================
+
+NAME
+----
+network-color - IPFire Network Configuration Control Program
+
+DESCRIPTION
+-----------
+The 'color' command helps to manage colors for zones and ports.
+The color is being used to make identification of a zone or port easier on the
+command line and web user interface.
+
+COMMANDS
+--------
+The following commands are understood:
+
+'set' [AABBCC]::
+       The color of a zone or port is set with the 'set' command.
+       It is required to pass a color in hex formatting.
+
+'reset'::
+       Resets the color of a zone or port to blank.
+
+AUTHOR
+------
+Jonatan Schlag
+
+SEE ALSO
+--------
+link:network[8]
+link:network-zone[8]
+link:network-port[8]
diff --git a/man/network-color.xml b/man/network-color.xml
deleted file mode 100644 (file)
index caf2349..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS/DTD DocBook XML V4.2//EN"
-       "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-
-<refentry id="network-color">
-       <refentryinfo>
-               <title>networ-color</title>
-               <productname>network</productname>
-
-               <authorgroup>
-                       <author>
-                               <contrib>Developer</contrib>
-                               <firstname>Jonatan</firstname>
-                               <surname>Schlag</surname>
-                               <email>jonatan.schlag@ipfire.org</email>
-                       </author>
-               </authorgroup>
-       </refentryinfo>
-
-       <refmeta>
-               <refentrytitle>network-color</refentrytitle>
-               <manvolnum>8</manvolnum>
-       </refmeta>
-
-       <refnamediv>
-               <refname>network-color</refname>
-               <refpurpose>Network Configuration Control Program</refpurpose>
-       </refnamediv>
-
-       <refsect1>
-               <title>Description</title>
-
-               <para>
-                       The <command>color</command> helps to manage colors for zone and ports.
-                       The color is used to make identification of a zone or port easier on the
-                       command line or web user interface.
-               </para>
-       </refsect1>
-
-       <refsect1>
-               <title>Commands</title>
-
-               <para>
-                       The following commands are understood:
-               </para>
-
-               <variablelist>
-                       <varlistentry>
-                               <term>
-                                       <command>set <replaceable>00AABB</replaceable></command>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               The color of a zone or port is set with the <command>set</command> command.
-                                               It is always required to pass a valid color hex value (e.g. 880400).
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-                       <varlistentry>
-                               <term>
-                                       <command>reset</command>
-                               </term>
-
-                               <listitem>
-                                       <para>
-                                               This command resets the color of a zone or port to blank.
-                                       </para>
-                               </listitem>
-                       </varlistentry>
-       </variablelist>
-       </refsect1>
-       <refsect1>
-               <title>See Also</title>
-
-               <para>
-                       <citerefentry>
-                               <refentrytitle>network</refentrytitle>
-                               <manvolnum>8</manvolnum>
-                       </citerefentry>,
-                       <citerefentry>
-                               <refentrytitle>network-zone</refentrytitle>
-                               <manvolnum>8</manvolnum>
-                       </citerefentry>,
-                       <citerefentry>
-                               <refentrytitle>network-port</refentrytitle>
-                               <manvolnum>8</manvolnum>
-                       </citerefentry>
-               </para>
-       </refsect1>
-</refentry>