text
stringlengths
0
843k
# $Id: ca.py 9457 2023-10-02 16:25:50Z milde $ # Authors: Ivan Vilata i Balaguer <ivan@selidor.net>; # Antoni Bella Pérez <antonibella5@yahoo.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, # please read <https://docutil...
# $Id: cs.py 9452 2023-09-27 00:11:54Z milde $ # Author: Marek Blaha <mb@dat.cz> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for ...
# $Id: da.py 9030 2022-03-05 23:28:32Z milde $ # Author: E D # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each language: one i...
# $Id: de.py 9030 2022-03-05 23:28:32Z milde $ # Author: Gunnar Schwant <g.schwant@gmx.de> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be trans...
# $Id: en.py 9030 2022-03-05 23:28:32Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be tran...
# $Id: eo.py 9452 2023-09-27 00:11:54Z milde $ # Author: Marcelo Huerta San Martin <richieadler@users.sourceforge.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html...
# $Id: es.py 9452 2023-09-27 00:11:54Z milde $ # Author: Marcelo Huerta San Martín <richieadler@users.sourceforge.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html...
# $Id: fa.py 4564 2016-08-10 11:48:42Z # Author: Shahin <me@5hah.in> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each languag...
# $Id: fi.py 9452 2023-09-27 00:11:54Z milde $ # Author: Asko Soukka <asko.soukka@iki.fi> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be transl...
# $Id: fr.py 9452 2023-09-27 00:11:54Z milde $ # Author: Stefane Fermigier <sf@fermigier.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be tr...
# Author: David Goodger # Contact: goodger@users.sourceforge.net # Revision: $Revision: 2224 $ # Date: $Date: 2004-06-05 21:40:46 +0200 (Sat, 05 Jun 2004) $ # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docuti...
# Author: Meir Kriheli # Id: $Id: he.py 9452 2023-09-27 00:11:54Z milde $ # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each la...
# $Id: it.py 9030 2022-03-05 23:28:32Z milde $ # Author: Nicola Larosa <docutils@tekNico.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be tr...
# $Id: ja.py 9030 2022-03-05 23:28:32Z milde $ # Author: Hisashi Morita <hisashim@kt.rim.or.jp> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be ...
# $Id: ka.py 9444 2023-08-23 12:02:41Z grubert $ # Author: Temuri Doghonadze <temuri dot doghonadze at gmail dot com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>...
# $Id: ko.py 9030 2022-03-05 23:28:32Z milde $ # Author: Thomas SJ Kang <thomas.kangsj@ujuc.kr> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be ...
# $Id: lt.py 9030 2022-03-05 23:28:32Z milde $ # Author: Dalius Dobravolskas <dalius.do...@gmail.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files mu...
# $Id: lv.py 9030 2022-03-05 23:28:32Z milde $ # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each language: one in docutils/lan...
# $Id: nl.py 9030 2022-03-05 23:28:32Z milde $ # Author: Martijn Pieters <mjpieters@users.sourceforge.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two fil...
# $Id$ # Author: Robert Wojciechowicz <rw@smsnet.pl> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each language: one in docuti...
# $Id: pt_br.py 9452 2023-09-27 00:11:54Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be t...
# $Id: ru.py 9030 2022-03-05 23:28:32Z milde $ # Author: Roman Suzi <rnd@onego.ru> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated fo...
# $Id: sk.py 9452 2023-09-27 00:11:54Z milde $ # Author: Miroslav Vasko <zemiak@zoznam.sk> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be trans...
# $Id: sv.py 9452 2023-09-27 00:11:54Z milde $ # Author: Adam Chodorowski <chodorowski@users.sourceforge.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two ...
# $Id: uk.py 9114 2022-07-28 17:06:10Z milde $ # Author: Dmytro Kazanzhy <dkazanzhy@gmail.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be # translate...
# $Id: zh_cn.py 9452 2023-09-27 00:11:54Z milde $ # Author: Pan Junyong <panjy@zopechina.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be tr...
# $Id: zh_tw.py 9452 2023-09-27 00:11:54Z milde $ # Author: Joe YS Jaw <joeysj@users.sourceforge.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files mu...
# $Id: __init__.py 9030 2022-03-05 23:28:32Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. # Internationalization details are documented in # <https://docutils.sourceforge.io/docs/howto/i18n.html>. """ This package contains modules for language-dep...
#! /usr/bin/env python3 # :Copyright: © 2022 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are pr...
# $Id: null.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: Martin Blais <blais@furius.ca> # Copyright: This module has been placed in the public domain. """A do-nothing parser.""" from docutils import parsers class Parser(parsers.Parser): """A do-nothing parser.""" supported = ('null',) config_sect...
#!/usr/bin/env python3 # :Copyright: © 2020 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright # notice and this notice are pre...
# $Id: __init__.py 9048 2022-03-29 21:50:15Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ This package contains Docutils parser modules. """ __docformat__ = 'reStructuredText' from importlib import import_module from docutils import Componen...
# $Id: roles.py 9037 2022-03-05 23:31:10Z milde $ # Author: Edward Loper <edloper@gradient.cis.upenn.edu> # Copyright: This module has been placed in the public domain. """ This module defines standard interpreted text role functions, a registry for interpreted text roles, and an API for adding to and retrieving from ...
# $Id: states.py 9500 2023-12-14 22:38:49Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ This is the ``docutils.parsers.rst.states`` module, the core of the reStructuredText parser. It defines the following: :Classes: - `RSTStateMachine`: ...
# $Id: tableparser.py 9038 2022-03-05 23:31:46Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ This module defines table parser classes,which parse plaintext-graphic tables and produce a well-formed data structure suitable for building a CALS tab...
# $Id: __init__.py 9258 2022-11-21 14:51:43Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ This is ``docutils.parsers.rst`` package. It exports a single class, `Parser`, the reStructuredText parser. Usage ===== 1. Create a parser:: pa...
# $Id: admonitions.py 9475 2023-11-13 22:30:00Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Admonition directives. """ __docformat__ = 'reStructuredText' from docutils.parsers.rst import Directive from docutils.parsers.rst import directives...
# $Id: body.py 9500 2023-12-14 22:38:49Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Directives for additional body elements. See `docutils.parsers.rst.directives` for API details. """ __docformat__ = 'reStructuredText' from docutils impor...
# $Id: html.py 9062 2022-05-30 21:09:09Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Dummy module for backwards compatibility. This module is provisional: it will be removed in Docutils 2.0. """ __docformat__ = 'reStructuredText' import war...
# $Id: images.py 9500 2023-12-14 22:38:49Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Directives for figures and simple images. """ __docformat__ = 'reStructuredText' from urllib.request import url2pathname try: # check for the Python Ima...
# $Id: misc.py 9492 2023-11-29 16:58:13Z milde $ # Authors: David Goodger <goodger@python.org>; Dethe Elza # Copyright: This module has been placed in the public domain. """Miscellaneous directives.""" __docformat__ = 'reStructuredText' from pathlib import Path import re import time from urllib.request import urlope...
# $Id: parts.py 8993 2022-01-29 13:20:04Z milde $ # Authors: David Goodger <goodger@python.org>; Dmitry Jemerov # Copyright: This module has been placed in the public domain. """ Directives for document parts. """ __docformat__ = 'reStructuredText' from docutils import nodes, languages from docutils.transforms impor...
# $Id: references.py 7062 2011-06-30 22:14:29Z milde $ # Authors: David Goodger <goodger@python.org>; Dmitry Jemerov # Copyright: This module has been placed in the public domain. """ Directives for references and targets. """ __docformat__ = 'reStructuredText' from docutils import nodes from docutils.transforms imp...
# $Id: tables.py 9492 2023-11-29 16:58:13Z milde $ # Authors: David Goodger <goodger@python.org>; David Priest # Copyright: This module has been placed in the public domain. """ Directives for table elements. """ __docformat__ = 'reStructuredText' import csv from urllib.request import urlopen from urllib.error impo...
# $Id: __init__.py 9426 2023-07-03 12:38:54Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ This package contains directive implementation modules. """ __docformat__ = 'reStructuredText' import re import codecs from importlib import import_modu...
# $Id: af.py 9417 2023-06-27 20:04:54Z milde $ # Author: Jannie Hofmeyr <jhsh@sun.ac.za> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be transla...
# $Id: fa.py 4564 2016-08-10 11:48:42Z # Author: Shahin <me@5hah.in> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each languag...
# $Id: ca.py 9457 2023-10-02 16:25:50Z milde $ # Authors: Ivan Vilata i Balaguer <ivan@selidor.net>; # Antoni Bella Pérez <antonibella5@yahoo.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, # please read <https://docutil...
# $Id: cs.py 9452 2023-09-27 00:11:54Z milde $ # Author: Marek Blaha <mb@dat.cz> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for ...
# $Id: da.py 9417 2023-06-27 20:04:54Z milde $ # Author: E D # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each language: one i...
# $Id: de.py 9428 2023-07-07 06:50:26Z milde $ # Authors: Engelbert Gruber <grubert@users.sourceforge.net>; # Lea Wiemann <LeWiemann@gmail.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.s...
# $Id: en.py 9417 2023-06-27 20:04:54Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be tran...
# $Id: eo.py 9452 2023-09-27 00:11:54Z milde $ # Author: Marcelo Huerta San Martin <richieadler@users.sourceforge.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html...
# $Id: es.py 9452 2023-09-27 00:11:54Z milde $ # Author: Marcelo Huerta San Martín <richieadler@users.sourceforge.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html...
# $Id: fa.py 4564 2016-08-10 11:48:42Z # Author: Shahin <me@5hah.in> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each languag...
# $Id: fi.py 9452 2023-09-27 00:11:54Z milde $ # Author: Asko Soukka <asko.soukka@iki.fi> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be transl...
# $Id: fr.py 9417 2023-06-27 20:04:54Z milde $ # Authors: David Goodger <goodger@python.org>; William Dode # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two fil...
# Author: David Goodger # Contact: goodger@users.sourceforge.net # Revision: $Revision: 4229 $ # Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 2005) $ # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docuti...
# Author: Meir Kriheli # Id: $Id: he.py 9452 2023-09-27 00:11:54Z milde $ # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each la...
# $Id: it.py 9417 2023-06-27 20:04:54Z milde $ # Authors: Nicola Larosa <docutils@tekNico.net>; # Lele Gaifax <lele@seldati.it> # Copyright: This module has been placed in the public domain. # Beware: the italian translation of the reStructuredText documentation # at http://docit.bice.dyndns.org/static/ReST, ...
# $Id: ja.py 9030 2022-03-05 23:28:32Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be tran...
# $Id: ka.py 9444 2023-08-23 12:02:41Z grubert $ # Author: Temuri Doghonadze <temuri.doghonadze@gmail.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two fil...
# $Id: ko.py 9030 2022-03-05 23:28:32Z milde $ # Author: Thomas SJ Kang <thomas.kangsj@ujuc.kr> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be ...
# $Id: lt.py 9030 2022-03-05 23:28:32Z milde $ # Author: Dalius Dobravolskas <dalius.do...@gmail.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files mu...
# $Id: lv.py 9030 2022-03-05 23:28:32Z milde $ # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each language: one in docutils/lan...
# $Id: nl.py 9417 2023-06-27 20:04:54Z milde $ # Author: Martijn Pieters <mjpieters@users.sourceforge.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two fil...
# $Id$ # Author: Robert Wojciechowicz <rw@smsnet.pl> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated for each language: one in docuti...
# $Id: pt_br.py 9452 2023-09-27 00:11:54Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be t...
# $Id: ru.py 9030 2022-03-05 23:28:32Z milde $ # Author: Roman Suzi <rnd@onego.ru> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be translated fo...
# $Id: sk.py 9452 2023-09-27 00:11:54Z milde $ # Author: Miroslav Vasko <zemiak@zoznam.sk> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be trans...
# $Id: sv.py 9030 2022-03-05 23:28:32Z milde $ # Author: Adam Chodorowski <chodorowski@users.sourceforge.net> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two ...
# $Id: uk.py 9114 2022-07-28 17:06:10Z milde $ # Author: Dmytro Kazanzhy <dkazanzhy@gmail.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be # translate...
# $Id: zh_cn.py 9030 2022-03-05 23:28:32Z milde $ # Author: Panjunyong <panjy@zopechina.com> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be tra...
# $Id: zh_tw.py 9030 2022-03-05 23:28:32Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. # New language mappings are welcome. Before doing a new translation, please # read <https://docutils.sourceforge.io/docs/howto/i18n.html>. # Two files must be t...
# $Id: __init__.py 9026 2022-03-04 15:57:13Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. # Internationalization details are documented in # <https://docutils.sourceforge.io/docs/howto/i18n.html>. """ This package contains modules for language-dep...
# $Id: doctree.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: Martin Blais <blais@furius.ca> # Copyright: This module has been placed in the public domain. """Reader for existing document trees.""" from docutils import readers, utils, transforms class Reader(readers.ReReader): """ Adapt the Reader API fo...
# $Id: pep.py 9258 2022-11-21 14:51:43Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Python Enhancement Proposal (PEP) Reader. """ __docformat__ = 'reStructuredText' from docutils.readers import standalone from docutils.transforms import pep...
# $Id: standalone.py 9539 2024-02-17 10:36:51Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Standalone file Reader for the reStructuredText markup syntax. """ __docformat__ = 'reStructuredText' from docutils import frontend, readers from doc...
# $Id: __init__.py 9258 2022-11-21 14:51:43Z milde $ # Authors: David Goodger <goodger@python.org>; Ueli Schlaepfer # Copyright: This module has been placed in the public domain. """ This package contains Docutils Reader modules. """ __docformat__ = 'reStructuredText' from importlib import import_module from docuti...
# $Id: components.py 9037 2022-03-05 23:31:10Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Docutils component-related transforms. """ from docutils.transforms import Transform __docformat__ = 'reStructuredText' class Filter(Transform): ...
# $Id: frontmatter.py 9552 2024-03-08 23:41:31Z milde $ # Author: David Goodger, Ueli Schlaepfer <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Transforms_ related to the front matter of a document or a section (information found before the main text): - `DocTitle`: Used to tr...
# $Id: misc.py 9037 2022-03-05 23:31:10Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Miscellaneous transforms. """ __docformat__ = 'reStructuredText' from docutils import nodes from docutils.transforms import Transform class CallBack(Trans...
# $Id: parts.py 9038 2022-03-05 23:31:46Z milde $ # Authors: David Goodger <goodger@python.org>; Ueli Schlaepfer; Dmitry Jemerov # Copyright: This module has been placed in the public domain. """ Transforms related to document parts. """ __docformat__ = 'reStructuredText' import sys from docutils import nodes from ...
# $Id: peps.py 9037 2022-03-05 23:31:10Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Transforms for PEP processing. - `Headers`: Used to transform a PEP's initial RFC-2822 header. It remains a field list, but some entries get processed. - ...
# $Id: references.py 9613 2024-04-06 13:27:52Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Transforms for resolving references. """ __docformat__ = 'reStructuredText' from docutils import nodes, utils from docutils.transforms import Transfor...
# $Id: universal.py 9502 2023-12-14 22:39:08Z milde $ # Authors: David Goodger <goodger@python.org>; Ueli Schlaepfer; Günter Milde # Maintainer: docutils-develop@lists.sourceforge.net # Copyright: This module has been placed in the public domain. """ Transforms needed by most or all documents: - `Decorations`: Genera...
# $Id: writer_aux.py 9037 2022-03-05 23:31:10Z milde $ # Author: Lea Wiemann <LeWiemann@gmail.com> # Copyright: This module has been placed in the public domain. """ Auxiliary transforms mainly to be used by Writer components. This module is called "writer_aux" because otherwise there would be conflicting imports lik...
# $Id: __init__.py 9502 2023-12-14 22:39:08Z milde $ # Authors: David Goodger <goodger@python.org>; Ueli Schlaepfer # Copyright: This module has been placed in the public domain. """ This package contains modules for standard tree transforms available to Docutils components. Tree transforms serve a variety of purposes...
# :Author: Georg Brandl; Lea Wiemann; Günter Milde # :Date: $Date: 2022-11-16 15:01:31 +0100 (Mi, 16. Nov 2022) $ # :Copyright: This module has been placed in the public domain. """Lexical analysis of formal languages (i.e. code) using Pygments.""" from docutils import ApplicationError try: import pygments fr...
#!/usr/bin/env python3 # :Id: $Id: error_reporting.py 9078 2022-06-17 11:31:40Z milde $ # :Copyright: © 2011 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: # # Copying and distribution of this file, with or without modification, # are permitted in any medium without r...
# :Id: $Id: punctuation_chars.py 9270 2022-11-24 20:28:03Z milde $ # :Copyright: © 2011, 2017 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided...
############################################################################## # # Copyright (c) 2001 Mark Pilgrim and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWA...
#!/usr/bin/python3 # :Id: $Id: smartquotes.py 9481 2023-11-19 21:19:20Z milde $ # :Copyright: © 2010-2023 Günter Milde, # original `SmartyPants`_: © 2003 John Gruber # smartypants.py: © 2004, 2007 Chad Miller # :Maintainer: docutils-develop@lists.sourceforge.net # :License: Released und...
# $Id: urischemes.py 9315 2023-01-15 19:27:55Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ `schemes` is a dictionary with lowercase URI addressing schemes as keys and descriptions as values. It was compiled from the index at http://www.iana.or...
# $Id: __init__.py 9544 2024-02-17 10:37:45Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ Miscellaneous utilities for the documentation utilities. """ __docformat__ = 'reStructuredText' import sys import os import os.path from pathlib import ...
# :Id: $Id: latex2mathml.py 9536 2024-02-01 13:04:22Z milde $ # :Copyright: © 2005 Jens Jørgen Mortensen [1]_ # © 2010, 2021, 2024 Günter Milde. # # :License: Released under the terms of the `2-Clause BSD license`_, in short: # # Copying and distribution of this file, with or without modification, # a...
#! /usr/bin/env python3 # math2html: convert LaTeX equations to HTML output. # # Copyright (C) 2009-2011 Alex Fernández, 2021 Günter Milde # # Released under the terms of the `2-Clause BSD license'_, in short: # Copying and distribution of this file, with or without modification, # are permitted in any medium...
#!/usr/bin/env python3 # # LaTeX math to Unicode symbols translation dictionaries for # the content of math alphabet commands (\mathtt, \mathbf, ...). # Generated with ``write_mathalphabet2unichar.py`` from the data in # http://milde.users.sourceforge.net/LUCR/Math/ # # :Copyright: © 2024 Günter Milde. # :License: Rele...
# :Id: $Id: mathml_elements.py 9561 2024-03-14 16:34:48Z milde $ # :Copyright: 2024 Günter Milde. # # :License: Released under the terms of the `2-Clause BSD license`_, in short: # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the cop...
# :Id: $Id: tex2mathml_extern.py 9536 2024-02-01 13:04:22Z milde $ # :Copyright: © 2015 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`__, in short: # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the ...