Hacked By AnonymousFox
�
i��f� � � � d Z dZddlmZmZ ddlmZ ddlmZ ddlm Z G d� de� � Z
G d � d
e� � Z G d� de� � Z G d
� de� � Z
dS )z
Directives for document parts.
�reStructuredText� )�nodes� languages)�parts)� Directive)�
directivesc �V � e Zd ZdZdZd� ZdZdZej ej
eej d�Zd� Z
dS ) �Contentsa�
Table of contents.
The table of contents is generated in two passes: initial parse and
transform. During the initial parse, a 'pending' element is generated
which acts as a placeholder, storing the TOC title and any options
internally. At a later stage in the processing, the 'pending' element is
replaced by a 'topic' element, a title and the table of contents proper.
)�top�entry�nonec �T � t j | t j � � }|dk rd S |S )Nr
)r �choicer
�backlinks_values)�arg�values ��/builddir/build/BUILD/imunify360-venv-2.3.5/opt/imunify360/venv/lib/python3.11/site-packages/docutils/parsers/rst/directives/parts.py� backlinkszContents.backlinks s* � ��!�#�x�'@�A�A���F�?�?��4��L� � T)�depth�localr �classc �� � | j j sAt | j j t j � � s| � d| j z � � �| j j }t j
|j j |j
� � }| j rD| j d }| j � || j � � \ }}t j |dg|�R � }n.g }d| j v rd }n t j d|j d � � }t j dg�� � }|dxx | j � dg � � z
cc<