B
    ü‹d*	  ã               @   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 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   úh/work/yifan.wang/ringdown/master-ringdown-env/lib/python3.7/site-packages/docutils/readers/standalone.pyr   4   s    
zReader.get_transforms)Ú__name__Ú
__module__Ú__qualname__Ú	supportedZdocumentr   Zvalidate_booleanZsettings_specZconfig_sectionZconfig_section_dependenciesr   r   r   r   r   r      s,   


r   )Ú__doc__Ú__docformat__ÚsysZdocutilsr   r   Zdocutils.transformsr   r   r   r   r   r   r   r   Ú<module>   s
   