Debian Codegraph @

doc/glossary.rst

raw
1 .. _glossary:
2
3 Glossary
4 ========
5
6 .. glossary::
7
8 builder
9 A class (inheriting from :class:`~sphinx.builders.Builder`) that takes
10 parsed documents and performs an action on them. Normally, builders
11 translate the documents to an output format, but it is also possible to
12 use builders that e.g. check for broken links in the documentation, or
13 build coverage information.
14
15 See :doc:`/usage/builders/index` for an overview over Sphinx's built-in
16 builders.
17
18 configuration directory
19 The directory containing :file:`conf.py`. By default, this is the same as
20 the :term:`source directory`, but can be set differently with the **-c**
21 command-line option.
22
23 directive
24 A reStructuredText markup element that allows marking a block of content
25 with special meaning. Directives are supplied not only by docutils, but
26 Sphinx and custom extensions can add their own. The basic directive
27 syntax looks like this:
28
29 .. code-block:: rst
30
31 .. directive-name:: argument ...
32 :option: value
33
34 Content of the directive.
35
36 See :ref:`rst-directives` for more information.
37
38 document name
39 Since reStructuredText source files can have different extensions
40 (some people like ``.txt``, some like ``.rst`` -- the extension can be
41 configured with :confval:`source_suffix`)
42 and different OSes have different path
43 separators, Sphinx abstracts them: :dfn:`document names` are always
44 relative to the :term:`source directory`, the extension is stripped, and
45 path separators are converted to slashes. All values, parameters and such
46 referring to "documents" expect such document names.
47
48 Examples for document names are ``index``, ``library/zipfile``, or
49 ``reference/datamodel/types``. Note that there is no leading or trailing
50 slash.
51
52 domain
53 A domain is a collection of markup (reStructuredText :term:`directive`\ s
54 and :term:`role`\ s) to describe and link to :term:`object`\ s belonging
55 together, e.g. elements of a programming language. Directive and role
56 names in a domain have names like ``domain:name``, e.g. ``py:function``.
57
58 Having domains means that there are no naming problems when one set of
59 documentation wants to refer to e.g. C++ and Python classes. It also
60 means that extensions that support the documentation of whole new
61 languages are much easier to write.
62
63 For more information, refer to :doc:`/usage/domains/index`.
64
65 environment
66 A structure where information about all documents under the root is saved,
67 and used for cross-referencing. The environment is pickled after the
68 parsing stage, so that successive runs only need to read and parse new and
69 changed documents.
70
71 extension
72 A custom :term:`role`, :term:`directive` or other aspect of Sphinx that
73 allows users to modify any aspect of the build process within Sphinx.
74
75 For more information, refer to :doc:`/usage/extensions/index`.
76
77 master document
78 root document
79 The document that contains the root :rst:dir:`toctree` directive.
80
81 object
82 The basic building block of Sphinx documentation. Every "object
83 directive" (e.g. :rst:dir:`py:function` or :rst:dir:`object`) creates such
84 a block; and most objects can be cross-referenced to.
85
86 RemoveInSphinxXXXWarning
87 The feature which is warned will be removed in Sphinx-XXX version.
88 It usually caused from Sphinx extensions which is using deprecated.
89 See also :ref:`when-deprecation-warnings-are-displayed`.
90
91 role
92 A reStructuredText markup element that allows marking a piece of text.
93 Like directives, roles are extensible. The basic syntax looks like this:
94 ``:rolename:`content```. See :ref:`rst-inline-markup` for details.
95
96 source directory
97 The directory which, including its subdirectories, contains all source
98 files for one Sphinx project.
99
100 reStructuredText
101 An easy-to-read, what-you-see-is-what-you-get plaintext markup syntax and
102 parser system.