# sphinx 9.2.0 (BSD-2-Clause), harvested by tools/harvest_corpus.py
=== input
Register a Docutils node class as a numfig target.

        Sphinx numbers the node automatically. And then the users can refer it
        using :rst:role:`numref`.

        :param node: A node class
        :param figtype: The type of enumerable nodes.  Each figtype has individual numbering
                        sequences.  As system figtypes, ``figure``, ``table`` and
                        ``code-block`` are defined.  It is possible to add custom nodes to
                        these default figtypes.  It is also possible to define new custom
                        figtype if a new figtype is given.
        :param title_getter: A getter function to obtain the title of node.  It takes an
                             instance of the enumerable node, and it must return its title as
                             string.  The title is used to the default title of references for
                             :rst:role:`ref`.  By default, Sphinx searches
                             ``docutils.nodes.caption`` or ``docutils.nodes.title`` from the
                             node as a title.
        :param kwargs: Visitor functions for each builder (same as :meth:`add_node`)
        :param override: If true, install the node forcedly even if another node is already
                         installed as the same name

        .. versionadded:: 1.4
        
=== parse rest
short_description: 'Register a Docutils node class as a numfig target.'
long_description: |
  Sphinx numbers the node automatically. And then the users can refer it
  using :rst:role:`numref`.
  
  .. versionadded:: 1.4
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: 'A node class'
  kind: param
  key: 'param'
  arg_name: 'node'
  is_optional: False
- DocstringParam
  description: |
    The type of enumerable nodes.  Each figtype has individual numbering
    sequences.  As system figtypes, ``figure``, ``table`` and
    ``code-block`` are defined.  It is possible to add custom nodes to
    these default figtypes.  It is also possible to define new custom
    figtype if a new figtype is given.
  kind: param
  key: 'param'
  arg_name: 'figtype'
  is_optional: False
- DocstringParam
  description: |
    A getter function to obtain the title of node.  It takes an
    instance of the enumerable node, and it must return its title as
    string.  The title is used to the default title of references for
    :rst:role:`ref`.  By default, Sphinx searches
    ``docutils.nodes.caption`` or ``docutils.nodes.title`` from the
    node as a title.
  kind: param
  key: 'param'
  arg_name: 'title_getter'
  is_optional: False
- DocstringParam
  description: 'Visitor functions for each builder (same as :meth:`add_node`)'
  kind: param
  key: 'param'
  arg_name: 'kwargs'
  is_optional: False
- DocstringParam
  description: |
    If true, install the node forcedly even if another node is already
    installed as the same name
  kind: param
  key: 'param'
  arg_name: 'override'
  is_optional: False
=== detect
rest
=== compose rest
Register a Docutils node class as a numfig target.

Sphinx numbers the node automatically. And then the users can refer it
using :rst:role:`numref`.

.. versionadded:: 1.4

:param node: A node class
:param figtype: The type of enumerable nodes.  Each figtype has individual numbering
    sequences.  As system figtypes, ``figure``, ``table`` and
    ``code-block`` are defined.  It is possible to add custom nodes to
    these default figtypes.  It is also possible to define new custom
    figtype if a new figtype is given.
:param title_getter: A getter function to obtain the title of node.  It takes an
    instance of the enumerable node, and it must return its title as
    string.  The title is used to the default title of references for
    :rst:role:`ref`.  By default, Sphinx searches
    ``docutils.nodes.caption`` or ``docutils.nodes.title`` from the
    node as a title.
:param kwargs: Visitor functions for each builder (same as :meth:`add_node`)
:param override: If true, install the node forcedly even if another node is already
    installed as the same name
