o
    N i	  ã                   @   sB   d Z dZddlmZmZ ddlmZmZmZ G dd„ dej	ƒZ	dS )z@
Standalone file Reader for the reStructuredText markup syntax.
ÚreStructuredTexté    )ÚfrontendÚreaders)ÚfrontmatterÚ
referencesÚmiscc                       sŒ   e Zd ZdZ	 dZ	 ddddgdddejd	œfd
dgdddejd	œfddgdddejd	œfddgdddœfffZdZdZ	‡ fdd„Z
‡  ZS )ÚReader)Ú
standaloneNzStandalone Reader OptionszœDisable the promotion of a lone top-level section title to document title (and subsequent section title to document subtitle promotion; enabled by default).z--no-doc-titleÚdoctitle_xformÚstore_falseT)ÚdestÚactionÚdefaultÚ	validatorzDDisable the bibliographic field list transform (enabled by default).z--no-doc-infoÚdocinfo_xformz\Activate the promotion of lone subsection titles to section subtitles (disabled by default).z--section-subtitlesÚsectsubtitle_xformÚ
store_trueFz3Deactivate the promotion of lone subsection titles.z--no-section-subtitles)r   r   zstandalone reader)r   c                    s>   t ƒ  ¡ tjtjtjtjtjtj	tj
tjtjtjtjtjg S )N)ÚsuperÚget_transformsr   ÚSubstitutionsÚPropagateTargetsr   ÚDocTitleÚSectionSubTitleÚDocInfoÚAnonymousHyperlinksÚIndirectHyperlinksÚ	FootnotesÚExternalTargetsÚInternalTargetsÚDanglingReferencesr   ÚTransitions)Úself©Ú	__class__© úO/home/ubuntu/.local/lib/python3.10/site-packages/docutils/readers/standalone.pyr   3   s   ôzReader.get_transforms)Ú__name__Ú
__module__Ú__qualname__Ú	supportedÚdocumentr   Úvalidate_booleanÚsettings_specÚconfig_sectionÚconfig_section_dependenciesr   Ú__classcell__r$   r$   r"   r%   r      sD    ÿüÿýÿýþðýr   N)
Ú__doc__Ú__docformat__Údocutilsr   r   Údocutils.transformsr   r   r   r   r$   r$   r$   r%   Ú<module>   s
   