|
| 1 | + <div class="section" id="glossary"> |
| 2 | +<h1>Glossary<a class="headerlink" href="http://project.readthedocs.io/en/latest/index.html#glossary" title="Permalink to this headline">¶</a></h1> |
| 3 | +<dl class="glossary"> |
| 4 | +<dt id="term-builder">builder<a class="headerlink" href="http://project.readthedocs.io/en/latest/index.html#term-builder" title="Permalink to this term">¶</a></dt><dd><p>A class (inheriting from <code class="xref py py-class docutils literal notranslate"><span class="pre">Builder</span></code>) that takes |
| 5 | +parsed documents and performs an action on them. Normally, builders |
| 6 | +translate the documents to an output format, but it is also possible to |
| 7 | +use builders that e.g. check for broken links in the documentation, or |
| 8 | +build coverage information.</p> |
| 9 | +<p>See <a class="reference internal" href="http://project.readthedocs.io/en/latest/usage.html"><span class="doc">Usage</span></a> for an overview over Sphinx’s built-in |
| 10 | +builders.</p> |
| 11 | +</dd> |
| 12 | +<dt id="term-configuration-directory">configuration directory<a class="headerlink" href="http://project.readthedocs.io/en/latest/index.html#term-configuration-directory" title="Permalink to this term">¶</a></dt><dd><p>The directory containing <code class="file docutils literal notranslate"><span class="pre">conf.py</span></code>. By default, this is the same as |
| 13 | +the <a class="reference internal" href="http://project.readthedocs.io/en/latest/index.html#term-builder"><span class="xref std std-term">builder</span></a>, but can be set differently with the <strong>-c</strong> |
| 14 | +command-line option.</p> |
| 15 | +</dd> |
| 16 | +<dt id="term-directive">directive<a class="headerlink" href="http://project.readthedocs.io/en/latest/index.html#term-directive" title="Permalink to this term">¶</a></dt><dd><p>A reStructuredText markup element that allows marking a block of content |
| 17 | +with special meaning. Directives are supplied not only by docutils, but |
| 18 | +Sphinx and custom extensions can add their own. The basic directive |
| 19 | +syntax looks like this:</p> |
| 20 | +<div class="highlight-rst notranslate"><div class="highlight"><pre><span></span><span class="p">..</span> <span class="ow">directivename</span><span class="p">::</span> argument ... |
| 21 | + <span class="nc">:option:</span> value |
| 22 | + |
| 23 | + Content of the directive. |
| 24 | +</pre></div> |
| 25 | +</div> |
| 26 | +<p>See <span class="xref std std-ref">index:Another title</span> for more information.</p> |
| 27 | +</dd> |
| 28 | +<dt id="term-environment">environment<a class="headerlink" href="http://project.readthedocs.io/en/latest/index.html#term-environment" title="Permalink to this term">¶</a></dt><dd><p>A structure where information about all documents under the root is saved, |
| 29 | +and used for cross-referencing. The environment is pickled after the |
| 30 | +parsing stage, so that successive runs only need to read and parse new and |
| 31 | +changed documents.</p> |
| 32 | +</dd> |
| 33 | +</dl> |
| 34 | +</div> |
0 commit comments