ó
©aWEc           @   sg   d  Z  d Z d d l Z d d l m Z m Z d d l m Z m Z m	 Z	 d e j
 f d „  ƒ  YZ
 d S(   s@   
Standalone file Reader for the reStructuredText markup syntax.
t   reStructuredTextiÿÿÿÿN(   t   frontendt   readers(   t   frontmattert
   referencest   misct   Readerc        
   B   sß   e  Z d Z d Z d d d d g i d d 6d d 6d d	 6e j d
 6f d d g i d d 6d d 6d d	 6e j d
 6f d d g i d d 6d d 6d d	 6e j d
 6f d d g i d d 6d d 6f f f Z d Z d Z	 d „  Z
 RS(   t
   standalones   Standalone Readersœ   Disable the promotion of a lone top-level section title to document title (and subsequent section title to document subtitle promotion; enabled by default).s   --no-doc-titlet   doctitle_xformt   destt   store_falset   actioni   t   defaultt	   validatorsD   Disable the bibliographic field list transform (enabled by default).s   --no-doc-infot   docinfo_xforms\   Activate the promotion of lone subsection titles to section subtitles (disabled by default).s   --section-subtitlest   sectsubtitle_xformt
   store_truei    s3   Deactivate the promotion of lone subsection titles.s   --no-section-subtitless   standalone readerR   c         C   s\   t  j 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   t   get_transformsR   t   Substitutionst   PropagateTargetsR   t   DocTitlet   SectionSubTitlet   DocInfot   AnonymousHyperlinkst   IndirectHyperlinkst	   Footnotest   ExternalTargetst   InternalTargetst   DanglingReferencesR   t   Transitions(   t   self(    (    s?   /usr/lib/python2.7/dist-packages/docutils/readers/standalone.pyR   4   s    (   R   N(   s   readers(   t   __name__t
   __module__t	   supportedt   Nonet   documentR   t   validate_booleant   settings_spect   config_sectiont   config_section_dependenciesR   (    (    (    s?   /usr/lib/python2.7/dist-packages/docutils/readers/standalone.pyR      s,   (   t   __doc__t   __docformat__t   syst   docutilsR   R   t   docutils.transformsR   R   R   R   (    (    (    s?   /usr/lib/python2.7/dist-packages/docutils/readers/standalone.pyt   <module>   s
   