403Webshell
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/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/sphinx/ext/__pycache__/autosectionlabel.cpython-39.pyc
a

�ab��@s�dZddlmZmZmZddlmZddlmZddl	m
Z
ddlmZddl
mZddlmZdd	lmZe�e�Zeed
�dd�Ze
ed
d�dd�Ze
eeefd�dd�Zd
S)z�
    sphinx.ext.autosectionlabel
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Allow reference sections by :ref: role using its title.

    :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�Any�Dict�cast)�nodes)�Node)�Sphinx)�StandardDomain)�__)�logging)�clean_astext)�node�returncCs(d}|}|j|jkr$|j}|d7}q|S)Nr�)�parent�document)r�iZcur_node�r�?/usr/lib/python3.9/site-packages/sphinx/ext/autosectionlabel.py�get_node_depths
rN)�apprr
c
	Cs�tt|j�d��}|�tj�D]�}|jjr<t	|�|jjkr<q|dd}|jj
}ttj|d�}t|d|�
��}|jjr�t�|d|�}n
t�|�}t|�}	||jvr�tjtd�||j�|j|d�|d|d�||f|j|<|||	f|j|<qdS)	NZstdZidsrZ	rawsource�:z(duplicate label %s, other instance in %sZautosectionlabel)�location�typeZsubtype)rr�envZ
get_domain�findallr�sectionZconfig�autosectionlabel_maxdepthr�docname�title�getattrZastext� autosectionlabel_prefix_documentZfully_normalize_namer�labels�loggerZwarningr	Zdoc2pathZ
anonlabels)
rr�domainrZlabelidrrZref_name�nameZsectnamerrr�register_sections_as_label"s*�


�r%)rr
cCs4|�ddd�|�ddd�|�dt�dddd�S)	Nr Frrzdoctree-readZbuiltinT)�versionZparallel_read_safeZparallel_write_safe)Zadd_config_valueZconnectr%)rrrr�setup;s�r')�__doc__�typingrrrZdocutilsrZdocutils.nodesrZsphinx.applicationrZsphinx.domains.stdrZ
sphinx.localer	Zsphinx.utilr
Zsphinx.util.nodesrZ	getLogger�__name__r"�intrr%�strr'rrrr�<module>s

	

Youez - 2016 - github.com/yon3zu
LinuXploit