U
    O’“e	  ã                   @   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	‡ 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-titleZdoctitle_xformÚstore_falseé   )ÚdestÚactionÚdefaultZ	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                    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   ZSubstitutionsZPropagateTargetsr   ZDocTitleZSectionSubTitleZDocInfoZAnonymousHyperlinksZIndirectHyperlinksZ	FootnotesZExternalTargetsZInternalTargetsZDanglingReferencesr   ZTransitions)Úself©Ú	__class__© ú?/tmp/pip-unpacked-wheel-rro3auwd/docutils/readers/standalone.pyr   3   s    ôzReader.get_transforms)Ú__name__Ú
__module__Ú__qualname__Ú	supportedÚdocumentr   Zvalidate_booleanZsettings_specZconfig_sectionZconfig_section_dependenciesr   Ú__classcell__r   r   r   r   r      s>   ÿüÿýÿýþðýr   N)
Ú__doc__Z__docformat__Zdocutilsr   r   Zdocutils.transformsr   r   r   r   r   r   r   r   Ú<module>   s   