| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/sphinx/ext/autosummary/__pycache__/ |
Upload File : |
a
�ab]~ � @ s$ d Z ddlZddlZddlZddlZddlZddlZddlmZ ddlmZ ddl m
Z
ddlmZm
Z
mZmZmZmZmZmZ ddlmZ ddlmZmZmZ dd lmZ dd
lmZmZmZ ddl m!Z! ddl"Z"ddl"m#Z# dd
l$m%Z% ddl&m'Z' ddl(m)Z)m*Z*m+Z+ ddl,m-Z- ddl.m/Z/ ddl0m1Z1m2Z2 ddl3m4Z4m5Z5 ddl6m7Z7 ddl8m9Z9 ddl:m;Z; ddl<m=Z= ddl>m?Z?m@Z@ ddlAmBZB ddlCmDZDmEZE ddlFmGZGmHZHmIZImJZJmKZK ddlLmMZM ddlNmOZO ddlPmQZQ ddlRmSZS eD�TeU�ZVe�Wd �ZXe�Wd!�ZYd"ZZG d#d$� d$ej[�Z\e%ej]dd%�d&d'�Z^ej_e\dd(�d)d*�Z`ej_edd(�d+d,�ZaG d-d.� d.ej[�ZbeSebdd(�d/d0�Zce+d1d2die*i � G d3d4� d4�ZdG d5d6� d6e4�Zee%eeee2 d7�d8d9�ZfG d:d;� d;eH�Zgehehd<�d=d>�Ziehehd<�d?d@�ZjdcehekehdB�dCdD�Zleeh eehdE�dFdG�Zmddeheeh ekehehdI�dJdK�ZnG dLdM� dMeo�Zpe-eeh dN�dOdP�ZqdgdQfeheeh ereeheeehf dR�dSdT�Zsdeehereeeehf dU�dVdW�ZtdgdQfeheeh ereeheeehf dR�dXdY�ZuG dZd[� d[eI�Zve%ehd\�d]d^�Zwe%dd\�d_d`�Zxe%e
ehef d\�dadb�ZydS )fa�
sphinx.ext.autosummary
~~~~~~~~~~~~~~~~~~~~~~
Sphinx extension that adds an autosummary:: directive, which can be
used to generate function/method/attribute/etc. summary lists, similar
to those output eg. by Epydoc and other API doc generation tools.
An :autolink: role is also provided.
autosummary directive
---------------------
The autosummary directive has the form::
.. autosummary::
:nosignatures:
:toctree: generated/
module.function_1
module.function_2
...
and it generates an output table (containing signatures, optionally)
======================== =============================================
module.function_1(args) Summary line from the docstring of function_1
module.function_2(args) Summary line from the docstring
...
======================== =============================================
If the :toctree: option is specified, files matching the function names
are inserted to the toctree with the given prefix:
generated/module.function_1
generated/module.function_2
...
Note: The file names contain the module:: or currentmodule:: prefixes.
.. seealso:: autosummary_generate.py
autolink role
-------------
The autolink role functions as ``:obj:`` when the name referred can be
resolved to a Python object, and otherwise it becomes simple emphasis.
This can be used as the default role to make links 'smart'.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)� Parameter)�path)�
ModuleType)�Any�Dict�List�Optional�Sequence�Tuple�Type�cast)�nodes)�Element�Node�system_message)�
directives)�RSTStateMachine�Struct�
state_classes)�
StringList)�addnodes)�Sphinx)�Config)�RemovedInSphinx50Warning�RemovedInSphinx60Warning�deprecated_alias)�BuildEnvironment)�TocTree)�INSTANCEATTR�
Documenter)�DocumenterBridge�Options)�
import_module)�mock)�__)�Project)�ModuleAnalyzer�PycodeError)�SphinxComponentRegistry)�logging�rst)�NullReporter�SphinxDirective�
SphinxRole�new_document�switch_source_input)�signature_from_str)�Matcher)�
OptionSpec)�HTMLTranslatorz \.(?:\s+)z::\s*$)zet al.z i.e.c @ s e Zd ZdS )�autosummary_tocN��__name__�
__module__�__qualname__� r9 r9 �C/usr/lib/python3.9/site-packages/sphinx/ext/autosummary/__init__.pyr4 k s r4 )�app�doctree�returnc sD t jdtdd� | jj�i �d ttdd�� ��fdd�
� � |� dS )
ziInsert items described in autosummary:: to the TOC tree, but do
not generate the toctree:: list.
z'process_autosummary_toc() is deprecated� )�
stacklevel� N)�node�depthr= c s� d�| <