Updated HTML docs

This commit is contained in:
Evennia docbuilder action 2022-02-22 22:31:21 +00:00
parent 3bcf70a275
commit eaf332099f
58 changed files with 1085 additions and 559 deletions

View file

@ -202,6 +202,11 @@ snippet #577349 on <a class="reference external" href="http://code.activestate.c
<code class="sig-name descname">re_dblspace</code><em class="property"> = re.compile(' {2,}', re.MULTILINE)</em><a class="headerlink" href="#evennia.utils.text2html.TextToHTMLparser.re_dblspace" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt id="evennia.utils.text2html.TextToHTMLparser.re_invisiblespace">
<code class="sig-name descname">re_invisiblespace</code><em class="property"> = re.compile('( &lt;.*?&gt;)( )')</em><a class="headerlink" href="#evennia.utils.text2html.TextToHTMLparser.re_invisiblespace" title="Permalink to this definition"></a></dt>
<dd></dd></dl>
<dl class="py attribute">
<dt id="evennia.utils.text2html.TextToHTMLparser.re_url">
<code class="sig-name descname">re_url</code><em class="property"> = re.compile('(?&lt;!=&quot;)((?:ftp|www|https?)\\W+(?:(?!\\.(?:\\s|$)|&amp;\\w+;)[^&quot;\\\',;$*^\\\\(){}&lt;&gt;\\[\\]\\s])+)(\\.(?:\\s|$)|&amp;\\w+;|)')</em><a class="headerlink" href="#evennia.utils.text2html.TextToHTMLparser.re_url" title="Permalink to this definition"></a></dt>
@ -352,6 +357,13 @@ it match the look of telnet.</p>
through we must make sure to replace them with ” &amp;nbsp;”</p>
</dd></dl>
<dl class="py method">
<dt id="evennia.utils.text2html.TextToHTMLparser.re_invisible_space">
<code class="sig-name descname">re_invisible_space</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">text</span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/utils/text2html.html#TextToHTMLparser.re_invisible_space"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.utils.text2html.TextToHTMLparser.re_invisible_space" title="Permalink to this definition"></a></dt>
<dd><p>If two spaces are separated by an invisble html element, they act as a
hidden double-space and the last of them should be replaced by &amp;nbsp;</p>
</dd></dl>
<dl class="py method">
<dt id="evennia.utils.text2html.TextToHTMLparser.sub_mxp_links">
<code class="sig-name descname">sub_mxp_links</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">match</span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/utils/text2html.html#TextToHTMLparser.sub_mxp_links"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.utils.text2html.TextToHTMLparser.sub_mxp_links" title="Permalink to this definition"></a></dt>
@ -402,6 +414,12 @@ for handling all substitutions.</p>
<dd><p>clean up double-spaces</p>
</dd></dl>
<dl class="py method">
<dt id="evennia.utils.text2html.TextToHTMLparser.sub_invisiblespace">
<code class="sig-name descname">sub_invisiblespace</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">match</span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/utils/text2html.html#TextToHTMLparser.sub_invisiblespace"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.utils.text2html.TextToHTMLparser.sub_invisiblespace" title="Permalink to this definition"></a></dt>
<dd><p>clean up invisible spaces</p>
</dd></dl>
<dl class="py method">
<dt id="evennia.utils.text2html.TextToHTMLparser.parse">
<code class="sig-name descname">parse</code><span class="sig-paren">(</span><em class="sig-param"><span class="n">text</span></em>, <em class="sig-param"><span class="n">strip_ansi</span><span class="o">=</span><span class="default_value">False</span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/evennia/utils/text2html.html#TextToHTMLparser.parse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#evennia.utils.text2html.TextToHTMLparser.parse" title="Permalink to this definition"></a></dt>