[a8b202a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY recommonmark-download-http "https://files.pythonhosted.org/packages/source/r/recommonmark/recommonmark-&recommonmark-version;.tar.gz">
|
---|
| 8 | <!ENTITY recommonmark-download-ftp " ">
|
---|
| 9 | <!ENTITY recommonmark-md5sum "3c550a76eb62006bf007843a9f1805bb">
|
---|
| 10 | <!ENTITY recommonmark-size "34 KB">
|
---|
| 11 | <!ENTITY recommonmark-buildsize "2.6 MB">
|
---|
| 12 | <!ENTITY recommonmark-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect2 id="recommonmark" xreflabel="recommonmark-&recommonmark-version;">
|
---|
| 16 |
|
---|
| 17 | <title>Recommonmark-&recommonmark-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="recommonmark">
|
---|
| 20 | <primary sortas="a-recommonmark">recommonmark</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect3 role="package">
|
---|
| 24 | <title>Introduction to Recommonmark Module</title>
|
---|
| 25 |
|
---|
| 26 | <para>
|
---|
| 27 | <application>Recommonmark</application> is a docutils-compatibility
|
---|
| 28 | bridge to CommonMark. It allows writing CommonMark inside of Docutils
|
---|
| 29 | and Sphinx projects. <application>Recommonmark</application> is now
|
---|
| 30 | deprecated in favor of <application>MyST</application>. Unfortunately,
|
---|
| 31 | <xref linkend="llvm"/> still depends on this module.
|
---|
| 32 | </para>
|
---|
| 33 |
|
---|
| 34 | &lfs112_checked;
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&recommonmark-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&recommonmark-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &recommonmark-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &recommonmark-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &recommonmark-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &recommonmark-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Recommonmark Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
| 74 | <xref linkend="commonmark"/> and
|
---|
| 75 | <xref linkend="sphinx"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect5">Optional (for testing)</bridgehead>
|
---|
| 79 | <para role="optional">
|
---|
| 80 | <xref linkend="pytest"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 |
|
---|
| 84 | </sect3>
|
---|
| 85 |
|
---|
| 86 | <sect3 role="installation">
|
---|
| 87 | <title>Installation of Recommonmark</title>
|
---|
| 88 |
|
---|
| 89 | <para> Build the module: </para>
|
---|
| 90 |
|
---|
| 91 | <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
---|
| 92 |
|
---|
| 93 | <para>
|
---|
| 94 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user recommonmark</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para>
|
---|
| 100 | <application>Recommonmark</application> is now deprecated in favor of
|
---|
| 101 | <application>MyST</application>. For this reason, a lot of tests
|
---|
[be11214] | 102 | have to be disabled because they do not pass with recent versions of
|
---|
[a8b202a] | 103 | <application>Sphinx</application>. The installation can be partially
|
---|
| 104 | tested with the following command:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <screen remap="test"><userinput>pytest -k 'not (test_integration or test_code or test_headings or test_image or test_links or test_lists)'</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | </sect3>
|
---|
| 110 |
|
---|
| 111 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 112 | href="../../../xincludes/pip3-cmd-explain.xml"/>
|
---|
| 113 |
|
---|
| 114 | <sect3 role="content">
|
---|
| 115 | <title>Contents</title>
|
---|
| 116 |
|
---|
| 117 | <segmentedlist>
|
---|
| 118 | <segtitle>Installed Programs</segtitle>
|
---|
| 119 | <segtitle>Installed Libraries</segtitle>
|
---|
| 120 | <segtitle>Installed Directories</segtitle>
|
---|
| 121 |
|
---|
| 122 | <seglistitem>
|
---|
| 123 | <seg>
|
---|
| 124 | cm2html, cm2latex, cm2man, cm2pseudoxml, cm2xetex, and cm2xml
|
---|
| 125 | </seg>
|
---|
| 126 | <seg>None</seg>
|
---|
| 127 | <seg>
|
---|
| 128 | /usr/lib/python&python3-majorver;/site-packages/recommonmark and
|
---|
| 129 | /usr/lib/python&python3-majorver;/site-packages/recommonmark-&recommonmark-version;.dist-info
|
---|
| 130 | </seg>
|
---|
| 131 | </seglistitem>
|
---|
| 132 | </segmentedlist>
|
---|
| 133 |
|
---|
| 134 | <variablelist>
|
---|
| 135 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 136 | <?dbfo list-presentation="list"?>
|
---|
| 137 | <?dbhtml list-presentation="table"?>
|
---|
| 138 |
|
---|
| 139 | <varlistentry id="cm2html">
|
---|
| 140 | <term><command>cm2html</command></term>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para>
|
---|
| 143 | generates a html document from markdown sources
|
---|
| 144 | </para>
|
---|
| 145 | <indexterm zone="recommonmark cm2html">
|
---|
| 146 | <primary sortas="b-cm2html">cm2html</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="cm2latex">
|
---|
| 152 | <term><command>cm2latex</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>
|
---|
| 155 | generates a latex document from markdown sources
|
---|
| 156 | </para>
|
---|
| 157 | <indexterm zone="recommonmark cm2latex">
|
---|
| 158 | <primary sortas="b-cm2latex">cm2latex</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="cm2man">
|
---|
| 164 | <term><command>cm2man</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>
|
---|
| 167 | generates a manpage from markdown sources
|
---|
| 168 | </para>
|
---|
| 169 | <indexterm zone="recommonmark cm2man">
|
---|
| 170 | <primary sortas="b-cm2man">cm2man</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="cm2pseudoxml">
|
---|
| 176 | <term><command>cm2pseudoxml</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>
|
---|
| 179 | generates a pseudo-XML document from markdown sources
|
---|
| 180 | </para>
|
---|
| 181 | <indexterm zone="recommonmark cm2pseudoxml">
|
---|
| 182 | <primary sortas="b-cm2pseudoxml">cm2pseudoxml</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="cm2xetex">
|
---|
| 188 | <term><command>cm2xetex</command></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>
|
---|
| 191 | generates a xetex document from markdown sources
|
---|
| 192 | </para>
|
---|
| 193 | <indexterm zone="recommonmark cm2xetex">
|
---|
| 194 | <primary sortas="b-cm2xetex">cm2xetex</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="cm2xml">
|
---|
| 200 | <term><command>cm2xml</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>
|
---|
| 203 | generates an XML document from markdown sources
|
---|
| 204 | </para>
|
---|
| 205 | <indexterm zone="recommonmark cm2xml">
|
---|
| 206 | <primary sortas="b-cm2xml">cm2xml</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
| 211 | </variablelist>
|
---|
| 212 |
|
---|
| 213 | </sect3>
|
---|
| 214 |
|
---|
| 215 | </sect2>
|
---|