3 Eã\#ã@sndZddlZdZdZdZdZGd d „d eƒZGd d „d eƒZGd d„dƒZ Gdd„dƒZ Gdd„de e ƒZ dS)a] This is the Docutils (Python Documentation Utilities) package. Package Structure ================= Modules: - __init__.py: Contains component base classes, exception classes, and Docutils version information. - core.py: Contains the ``Publisher`` class and ``publish_*()`` convenience functions. - frontend.py: Runtime settings (command-line interface, configuration files) processing, for Docutils front-ends. - io.py: Provides a uniform API for low-level input and output. - nodes.py: Docutils document tree (doctree) node class library. - statemachine.py: A finite state machine specialized for regular-expression-based text filters. Subpackages: - languages: Language-specific mappings of terms. - parsers: Syntax-specific input parser modules or packages. - readers: Context-specific input handlers which understand the data source and manage a parser. - transforms: Modules used by readers and writers to modify DPS doctrees. - utils: Contains the ``Reporter`` system warning class and miscellaneous utilities used by readers, writers, and transforms. utils/urischemes.py: Contains a complete mapping of known URI addressing scheme names to descriptions. - utils/math: Contains functions for conversion of mathematical notation between different formats (LaTeX, MathML, text, ...). - writers: Format-specific output translators. éNZreStructuredTextz0.14éÚfinalTÚc@seZdZejdkrdd„ZdS)ÚApplicationErroréécCs dj|jƒS)Nz, )ÚjoinÚargs)Úself©r úk/private/var/folders/pf/wv4htv3x0qs2c2mp0dnn0kchsvlck3/T/pip-install-emcbgzcf/docutils/docutils/__init__.pyÚ __unicode__vszApplicationError.__unicode__N)rr)Ú__name__Ú __module__Ú __qualname__ÚsysÚ version_infor r r r r rps rc@s eZdZdS)Ú DataErrorN)rrrr r r r rzsrc@s(eZdZdZfZdZdZfZdZdZ dS)Ú SettingsSpecz€ Runtime setting specification base class. SettingsSpec subclass objects used by `docutils.frontend.OptionParser`. N) rrrÚ__doc__Z settings_specZsettings_defaultsZsettings_default_overridesZrelative_path_settingsZconfig_sectionZconfig_section_dependenciesr r r r r}s'rc@s eZdZdZdd„ZfZfZdS)Ú TransformSpecz„ Runtime transform specification base class. TransformSpec subclass objects used by `docutils.transforms.Transformer`. cCs,|jfkr(ddl}|jdtƒt|jƒSgS)z;Transforms required by this class. Override in subclasses.rNzMdefault_transforms attribute deprecated. Use get_transforms() method instead.)Údefault_transformsÚwarningsÚwarnÚDeprecationWarningÚlist)r rr r r Úget_transformsÎs   zTransformSpec.get_transformsN)rrrrrrZunknown_reference_resolversr r r r rÆs  rc@s eZdZdZdZfZdd„ZdS)Ú Componentz#Base class for Docutils components.NcCs ||jkS)z¼ Is `format` supported by this component? To be used by transforms to ask the dependent component if it supports a certain input context or output format. )Ú supported)r Úformatr r r ÚsupportsÿszComponent.supports)rrrrZcomponent_typerr r r r r rôsr)rrrrrT) rrZ __docformat__Ú __version__Ú__version_info__Z__version_details__Ú Exceptionrrrrrr r r r Ú3s I.