File: //lib/python3.6/site-packages/docutils/readers/__pycache__/standalone.cpython-36.opt-1.pyc
3
�aWE$ � @ sJ d Z dZddlZddlmZmZ ddlmZmZm Z G dd� dej
�Z
dS )z@
Standalone file Reader for the reStructuredText markup syntax.
ZreStructuredText� N)�frontend�readers)�frontmatter�
references�miscc @ s� e Zd ZdZdZddddgdddejd �fd
dgdddejd �fd
dgdddejd �fddgddd�fffZdZdZ dd� Z
dS )�Reader�
standaloneNzStandalone 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-titleZdoctitle_xformZstore_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-subtitlesZsectsubtitle_xform�
store_truer z3Deactivate the promotion of lone subsection titles.z--no-section-subtitles)r
r zstandalone readerr c
C s@ t jj| �tjtjtjtjtj tj
tjtjtj
tjtjtjg S )N)r r �get_transformsr Z
SubstitutionsZPropagateTargetsr ZDocTitleZSectionSubTitleZDocInfoZAnonymousHyperlinksZIndirectHyperlinksZ FootnotesZExternalTargetsZInternalTargetsZDanglingReferencesr ZTransitions)�self� r � /usr/lib/python3.6/standalone.pyr 4 s
zReader.get_transforms)r )r )�__name__�
__module__�__qualname__Z supportedZdocumentr Zvalidate_booleanZ
settings_specZconfig_sectionZconfig_section_dependenciesr r r r r r s,
r )�__doc__Z
__docformat__�sysZdocutilsr r Zdocutils.transformsr r r r r r r r �<module> s