V!\c@sdZdZddlZddlZddlmZmZmZmZddl m Z ddl m Z dej j fdYZ d ej jfd YZdS( s Plain HyperText Markup Language document tree Writer. The output conforms to the `HTML5` specification. The cascading style sheet "minimal.css" is required for proper viewing, the style sheet "plain.css" improves reading experience. treStructuredTextiN(tfrontendtnodestwriterstio(t writer_aux(t _html_basetWritercBs$eZdRZddgZdejjejjegZ dZ ejj ejjejjee Z d dSd e d gie d 6d d6fddgidd6dd6ejd6fddj edgidd6dd6ejd6ed 6fddgidd 6dd6ejd6fdd gid!d"6d#d6fd$e d%gid&d6ejd6e d 6fd'd(gid)jd*6d+d 6d,d6fd-d.gid/d0gd*6d0d 6d1d6d2d6fd3d4gid5d6d7d8gd*6d5d 6d1d6fd9d:gied 6dd6ejd6fd;d<gid=d"6d#d6fd>d?gied 6dd6ejd6fd@dAgidBd"6d#d6fdCdDgidEd 6fdFdGgidHd 6fdIdJgied 6dd6ejd6fdKdLgidMd"6d#d6fdNdOgidd6ejd6fffZdPZdQZRS(Tthtmlthtml5thtml4txhtmltxhtml10s minimal.csss plain.csst.s template.txtsHTML-Specific Optionss<Specify the template file (UTF-8 encoded). Default is "%s".s --templatetdefaultstmetavarshComma separated list of stylesheet URLs. Overrides previous --stylesheet and --stylesheet-path settings.s --stylesheetststylesheet_patht overridest validatorsComma separated list of stylesheet paths. Relative paths are expanded if a matching file is found in the --stylesheet-dirs. With --link-stylesheet, the path is rewritten relative to the output HTML file. Default: "%s"t,s--stylesheet-pathst stylesheetsEmbed the stylesheet(s) in the output HTML file. The stylesheet files must be accessible during processing. This is the default.s--embed-stylesheetit store_truetactionsNLink to the stylesheet(s) in the output HTML file. Default: embed stylesheets.s--link-stylesheettembed_stylesheettdestt store_falsesComma-separated list of directories where stylesheets are found. Used by --stylesheet-path when expanding relative path arguments. Default: "%s"s--stylesheet-dirsss|Specify the initial header level. Default is 1 for "

". Does not affect document title & subtitle (see --no-doc-title).s--initial-header-levels 1 2 3 4 5 6tchoicest1ss[Format for footnote references: one of "superscript" or "brackets". Default is "brackets".s--footnote-referencest superscripttbracketssttrim_footnote_reference_spaces{Format for block quote attributions: one of "dash" (em-dash prefix), "parentheses"/"parens", or "none". Default is "dash".s --attributiontdasht parenthesestparenstnonespRemove extra vertical whitespace between items of "simple" bullet lists and enumerated lists. Default: enabled.s--compact-listss3Disable compact simple bullet and enumerated lists.s--no-compact-listst compact_listssXRemove extra vertical whitespace between items of simple field lists. Default: enabled.s--compact-field-listss#Disable compact simple field lists.s--no-compact-field-liststcompact_field_listssAdded to standard table classes. Defined styles: borderless, booktabs, align-left, align-center, align-right, colwidths-auto. Default: ""s --table-styletskMath output format (one of "MathML", "HTML", "MathJax", or "LaTeX") and option(s). Default: "HTML math.css"s --math-outputs HTML math.csssGPrepend an XML declaration. (Thwarts HTML5 conformance.) Default: Falses--xml-declarationsOmit the XML declaration.s--no-xml-declarationtxml_declarationsyObfuscate email addresses to confuse harvesters while still keeping email links usable with standards-compliant browsers.s--cloak-email-addressess html5 writercCsi|_t|_dS(N(tpartstHTMLTranslatorttranslator_class(tself((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pyt__init__s (shtmlR R R R N(t__name__t __module__t supportedtdefault_stylesheetstostpathtabspathtdirnamet__file__tdefault_stylesheet_dirstdefault_templatetjointdefault_template_pathtNoneRtvalidate_comma_separated_listtvalidate_booleantsplittTruetFalset settings_spectconfig_sectionR+(((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pyR$s $ $                R(cBszeZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d ZRS( s> This writer generates `polyglot markup`: HTML5 that is also valid XML. Safe subclassing: when overriding, treat ``visit_*`` and ``depart_*`` methods as a unit to prevent breaks due to internal changes. See the docstring of docutils.writers._html_base.HTMLTranslator for details and examples. cCs#|jj|j|dddS(NtabbrR%(tbodytappendtstarttag(R*tnode((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pyt visit_acronymscCs|jjddS(Ns(RBRC(R*RE((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pytdepart_acronymscCs|j|ddtdS(Ntauthorstmeta(tvisit_docinfo_itemR>(R*RE((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pyt visit_authorsscCs|jdS(N(tdepart_docinfo_item(R*RE((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pytdepart_authorsscCs|j|ddtdS(Nt copyrightRI(RJR>(R*RE((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pytvisit_copyrightscCs|jdS(N(RL(R*RE((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pytdepart_copyrightscCs|j|ddtdS(NtdateRI(RJR>(R*RE((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pyt visit_datescCs|jdS(N(RL(R*RE((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pyt depart_datescCsL|jdr |d|d(R*RE((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pytvisit_organizationscCs|jdS(N(RL(R*RE((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pytdepart_organizations(R,R-t__doc__RFRGRKRMRORPRRRSRYRZR\R](((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pyR(s          (R^t __docformat__tos.pathR0tdocutilsRRRRtdocutils.transformsRtdocutils.writersRRR((((sL/tmp/pip-install-usGedi/docutils/docutils/writers/html5_polyglot/__init__.pyts  "p