File: autodoc2.sphinx.utils.rst

package info (click to toggle)
python-sphinx-autodoc2 0.5.0-6
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,268 kB
  • sloc: python: 3,407; xml: 72; makefile: 9
file content (86 lines) | stat: -rw-r--r-- 3,082 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
:py:mod:`autodoc2.sphinx.utils`
===============================

.. py:module:: autodoc2.sphinx.utils

.. autodoc2-docstring:: autodoc2.sphinx.utils
   :allowtitles:

Module Contents
---------------

Functions
~~~~~~~~~

.. list-table::
   :class: autosummary longtable
   :align: left

   * - :py:obj:`load_config <autodoc2.sphinx.utils.load_config>`
     - .. autodoc2-docstring:: autodoc2.sphinx.utils.load_config
          :summary:
   * - :py:obj:`warn_sphinx <autodoc2.sphinx.utils.warn_sphinx>`
     - .. autodoc2-docstring:: autodoc2.sphinx.utils.warn_sphinx
          :summary:
   * - :py:obj:`get_database <autodoc2.sphinx.utils.get_database>`
     - .. autodoc2-docstring:: autodoc2.sphinx.utils.get_database
          :summary:
   * - :py:obj:`_warn <autodoc2.sphinx.utils._warn>`
     - .. autodoc2-docstring:: autodoc2.sphinx.utils._warn
          :summary:
   * - :py:obj:`get_all_analyser <autodoc2.sphinx.utils.get_all_analyser>`
     - .. autodoc2-docstring:: autodoc2.sphinx.utils.get_all_analyser
          :summary:
   * - :py:obj:`nested_parse_generated <autodoc2.sphinx.utils.nested_parse_generated>`
     - .. autodoc2-docstring:: autodoc2.sphinx.utils.nested_parse_generated
          :summary:

Data
~~~~

.. list-table::
   :class: autosummary longtable
   :align: left

   * - :py:obj:`LOGGER <autodoc2.sphinx.utils.LOGGER>`
     - .. autodoc2-docstring:: autodoc2.sphinx.utils.LOGGER
          :summary:

API
~~~

.. py:data:: LOGGER
   :canonical: autodoc2.sphinx.utils.LOGGER
   :value: None

   .. autodoc2-docstring:: autodoc2.sphinx.utils.LOGGER

.. py:function:: load_config(app: sphinx.application.Sphinx, *, overrides: None | dict[str, typing.Any] = None, location: None | docutils.nodes.Element = None) -> autodoc2.config.Config
   :canonical: autodoc2.sphinx.utils.load_config

   .. autodoc2-docstring:: autodoc2.sphinx.utils.load_config

.. py:function:: warn_sphinx(msg: str, subtype: autodoc2.utils.WarningSubtypes, location: None | docutils.nodes.Element = None) -> None
   :canonical: autodoc2.sphinx.utils.warn_sphinx

   .. autodoc2-docstring:: autodoc2.sphinx.utils.warn_sphinx

.. py:function:: get_database(env: sphinx.environment.BuildEnvironment) -> autodoc2.db.Database
   :canonical: autodoc2.sphinx.utils.get_database

   .. autodoc2-docstring:: autodoc2.sphinx.utils.get_database

.. py:function:: _warn(msg: str) -> None
   :canonical: autodoc2.sphinx.utils._warn

   .. autodoc2-docstring:: autodoc2.sphinx.utils._warn

.. py:function:: get_all_analyser(env: sphinx.environment.BuildEnvironment) -> autodoc2.resolve_all.AllResolver
   :canonical: autodoc2.sphinx.utils.get_all_analyser

   .. autodoc2-docstring:: autodoc2.sphinx.utils.get_all_analyser

.. py:function:: nested_parse_generated(state: docutils.parsers.rst.states.RSTStateMachine, content: list[str], source: str, line: int, *, match_titles: bool = False, base: docutils.nodes.Element | None = None) -> docutils.nodes.Element
   :canonical: autodoc2.sphinx.utils.nested_parse_generated

   .. autodoc2-docstring:: autodoc2.sphinx.utils.nested_parse_generated