File: autodoc2.render.rst_.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 (114 lines) | stat: -rw-r--r-- 4,181 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
:py:mod:`autodoc2.render.rst_`
==============================

.. py:module:: autodoc2.render.rst_

.. autodoc2-docstring:: autodoc2.render.rst_
   :allowtitles:

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

Classes
~~~~~~~

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

   * - :py:obj:`RstRenderer <autodoc2.render.rst_.RstRenderer>`
     - .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer
          :summary:

Data
~~~~

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

   * - :py:obj:`_RE_DELIMS <autodoc2.render.rst_._RE_DELIMS>`
     - .. autodoc2-docstring:: autodoc2.render.rst_._RE_DELIMS
          :summary:

API
~~~

.. py:data:: _RE_DELIMS
   :canonical: autodoc2.render.rst_._RE_DELIMS
   :value: None

   .. autodoc2-docstring:: autodoc2.render.rst_._RE_DELIMS

.. py:class:: RstRenderer(db: autodoc2.db.Database, config: autodoc2.config.Config, *, warn: typing.Callable[[str, autodoc2.utils.WarningSubtypes], None] | None = None, all_resolver: autodoc2.resolve_all.AllResolver | None = None, standalone: bool = True)
   :canonical: autodoc2.render.rst_.RstRenderer

   Bases: :py:obj:`autodoc2.render.base.RendererBase`

   .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer

   .. rubric:: Initialization

   .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.__init__

   .. py:attribute:: EXTENSION
      :canonical: autodoc2.render.rst_.RstRenderer.EXTENSION
      :value: '.rst'

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.EXTENSION

   .. py:method:: render_item(full_name: str) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.render_item

   .. py:method:: generate_summary(objects: list[autodoc2.utils.ItemData], alias: dict[str, str] | None = None) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.generate_summary

   .. py:method:: render_package(item: autodoc2.utils.ItemData) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.render_package

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.render_package

   .. py:method:: render_module(item: autodoc2.utils.ItemData) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.render_module

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.render_module

   .. py:method:: render_function(item: autodoc2.utils.ItemData) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.render_function

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.render_function

   .. py:method:: render_exception(item: autodoc2.utils.ItemData) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.render_exception

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.render_exception

   .. py:method:: render_class(item: autodoc2.utils.ItemData) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.render_class

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.render_class

   .. py:method:: render_property(item: autodoc2.utils.ItemData) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.render_property

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.render_property

   .. py:method:: render_method(item: autodoc2.utils.ItemData) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.render_method

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.render_method

   .. py:method:: render_attribute(item: autodoc2.utils.ItemData) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.render_attribute

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.render_attribute

   .. py:method:: render_data(item: autodoc2.utils.ItemData) -> typing.Iterable[str]
      :canonical: autodoc2.render.rst_.RstRenderer.render_data

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer.render_data

   .. py:method:: _reformat_cls_base_rst(value: str) -> str
      :canonical: autodoc2.render.rst_.RstRenderer._reformat_cls_base_rst

      .. autodoc2-docstring:: autodoc2.render.rst_.RstRenderer._reformat_cls_base_rst