o
    3\öa	  ã                   @   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.
Z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	dd„ Z
dS )ÚReader)Z
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-titleZdoctitle_xformÚstore_falseé   )ÚdestÚactionÚdefaultÚ	validatorzDDisable the bibliographic field list transform (enabled by default).z--no-doc-infoZdocinfo_xformz\Activate the promotion of lone subsection titles to section subtitles (disabled by default).z--section-subtitlesZsectsubtitle_xformÚ
store_truer   z3Deactivate the promotion of lone subsection titles.z--no-section-subtitles)r
   r   zstandalone reader)r   c                 C   s@   t j | ¡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)r   r   Úget_transformsr   ZSubstitutionsZPropagateTargetsr   ZDocTitleZSectionSubTitleZDocInfoZAnonymousHyperlinksZIndirectHyperlinksZ	FootnotesZExternalTargetsZInternalTargetsZDanglingReferencesr   ZTransitions)Úself© r   ú?usr/lib/python3.10/site-packages/docutils/readers/standalone.pyr   3   s   
ôzReader.get_transforms)Ú__name__Ú
__module__Ú__qualname__Z	supportedZdocumentr   Zvalidate_booleanZsettings_specZconfig_sectionZconfig_section_dependenciesr   r   r   r   r   r      sD    ÿüÿýÿýþðýr   N)
Ú__doc__Z__docformat__Údocutilsr   r   Zdocutils.transformsr   r   r   r   r   r   r   r   Ú<module>   s
   