| 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/transforms/__pycache__/ |
Upload File : |
a
�ab� � @ s| d Z ddlmZmZmZ ddlmZ ddlmZ er@ddl m
Z
G dd� de�ZG dd � d e�Zd
ee
ef d�dd
�ZdS )z�
sphinx.transforms.references
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Docutils transforms used by Sphinx.
:copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
� )�
TYPE_CHECKING�Any�Dict)�DanglingReferences)�SphinxTransform)�Sphinxc s( e Zd ZdZedd�� fdd�Z� ZS )�SphinxDanglingReferenceszADanglingReferences transform which does not output info messages.N��kwargs�returnc s@ z2| j j}|j}t|j|j�|_t� �� W ||_n||_0 d S �N)�document�reporter�report_level�maxZ
WARNING_LEVEL�super�apply)�selfr
r r �� __class__� �@/usr/lib/python3.9/site-packages/sphinx/transforms/references.pyr s zSphinxDanglingReferences.apply)�__name__�
__module__�__qualname__�__doc__r r �
__classcell__r r r r r s r c @ s$ e Zd ZdZdZedd�dd�ZdS )�
SphinxDomainsz7Collect objects to Sphinx domains for cross references.iR Nr c K s, | j j�� D ]}|�| j | j j| j� qd S r )�envZdomains�valuesZprocess_docZdocnamer
)r r
�domainr r r r ( s zSphinxDomains.apply)r r r r Zdefault_priorityr r r r r r r $ s r r )�appr c C s | � t� | � t� dddd�S )NZbuiltinT)�versionZparallel_read_safeZparallel_write_safe)Z
add_transformr r )r! r r r �setup- s
�r# N)r �typingr r r Zdocutils.transforms.referencesr Zsphinx.transformsr Zsphinx.applicationr r r �strr# r r r r �<module> s