o
    @x#[$	  ã                   @   sJ   d Z dZddl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é    N)Ú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)Ú
standaloneNzStandalone Readerzœ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_falseé   )Ú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_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   ÚSubstitutionsÚPropagateTargetsr   ÚDocTitleÚSectionSubTitleÚDocInfoÚAnonymousHyperlinksÚIndirectHyperlinksÚ	FootnotesÚExternalTargetsÚInternalTargetsÚDanglingReferencesr   ÚTransitions)Úself© r"   ú=/usr/lib/python3/dist-packages/docutils/readers/standalone.pyr   4   s   
ôzReader.get_transforms)Ú__name__Ú
__module__Ú__qualname__Ú	supportedÚdocumentr   Úvalidate_booleanÚsettings_specÚconfig_sectionÚconfig_section_dependenciesr   r"   r"   r"   r#   r      sD    ÿüÿýÿýþðýr   )Ú__doc__Ú__docformat__ÚsysÚdocutilsr   r   Údocutils.transformsr   r   r   r   r"   r"   r"   r#   Ú<module>   s   