Commit 869e77c5 authored by Dmitry Shachnev's avatar Dmitry Shachnev 🐧

New upstream version 0.15.2+dfsg

parent 53bfbc33
......@@ -4,7 +4,7 @@
:Author: David Goodger; open to all Docutils developers
:Contact: goodger@python.org
:Date: $Date: 2017-06-09 13:02:35 +0200 (Fr, 09 Jun 2017) $
:Date: $Date: 2017-06-09 13:02:35 +0200 (Fr, 09. Jun 2017) $
:Revision: $Revision: 8103 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: goodger@python.org
:Date: $Date: 2015-05-08 17:56:32 +0200 (Fr, 08 Mai 2015) $
:Date: $Date: 2015-05-08 17:56:32 +0200 (Fr, 08. Mai 2015) $
:Web site: http://docutils.sourceforge.net/
:Copyright: This document has been placed in the public domain.
......
......@@ -9,7 +9,7 @@
Docutils FAQ (Frequently Asked Questions)
===========================================
:Date: $Date: 2016-02-26 22:40:17 +0100 (Fr, 26 Feb 2016) $
:Date: $Date: 2016-02-26 22:40:17 +0100 (Fr, 26. Feb 2016) $
:Revision: $Revision: 7934 $
:Web site: http://docutils.sourceforge.net/
:Copyright: This document has been placed in the public domain.
......
......@@ -6,8 +6,8 @@
:Author: David Goodger; open to all Docutils developers
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2019-07-20 21:50:51 +0200 (Sa, 20 Jul 2019) $
:Revision: $Revision: 8267 $
:Date: $Date: 2019-07-24 11:22:01 +0200 (Mi, 24. Jul 2019) $
:Revision: $Revision: 8295 $
:Web site: http://docutils.sourceforge.net/
:Copyright: This document has been placed in the public domain.
......@@ -16,6 +16,15 @@
Changes Since 0.15
==================
branches/rel-0.15
-----------------
* docutils/nodes.py
- Fix 366: circular import when docutils nodes is iported before docutils.utils
by putting ``import docutils.utils`` into astext.
- Fix 366: as it is done in trunk Commit [r8294], moving the function.
Release 0.15 (2019-07-20)
=========================
......
Metadata-Version: 1.1
Metadata-Version: 1.2
Name: docutils
Version: 0.15
Version: 0.15.2
Summary: Docutils -- Python Documentation Utilities
Home-page: http://docutils.sourceforge.net/
Author: docutils-develop list
Author-email: docutils-develop@lists.sourceforge.net
Author: David Goodger
Author-email: goodger@python.org
Maintainer: docutils-develop list
Maintainer-email: docutils-develop@lists.sourceforge.net
License: public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)
Description: Docutils is a modular system for processing documentation
into useful formats, such as HTML, XML, and LaTeX. For
......@@ -29,6 +31,7 @@ Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Documentation
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Text Processing
......@@ -52,3 +55,4 @@ Classifier: Natural Language :: Russian
Classifier: Natural Language :: Slovak
Classifier: Natural Language :: Spanish
Classifier: Natural Language :: Swedish
Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*
==============================
README: Docutils 0.15rc1.dev
==============================
=========================
README: Docutils 0.15.2
=========================
:Author: David Goodger
:Contact: goodger@python.org
:Date: $Date: 2019-07-20 16:03:04 +0200 (Sa, 20 Jul 2019) $
:Date: $Date: 2019-07-30 11:51:07 +0200 (Di, 30. Jul 2019) $
:Web site: http://docutils.sourceforge.net/
:Copyright: This document has been placed in the public domain.
......
......@@ -6,7 +6,7 @@
:Contact: grubert@users.sourceforge.net
:Maintainer: docutils-develop@lists.sourceforge.net
:Date: $Date: 2019-07-20 21:50:51 +0200 (Sa, 20 Jul 2019) $
:Date: $Date: 2019-07-20 21:50:51 +0200 (Sa, 20. Jul 2019) $
:Revision: $Revision: 8267 $
:Web site: http://docutils.sourceforge.net/
:Copyright: This document has been placed in the public domain.
......
......@@ -5,7 +5,7 @@ Acknowledgements
:Author: David Goodger
:Contact: goodger@python.org
:Date: $Date: 2015-02-09 00:21:18 +0100 (Mo, 09 Feb 2015) $
:Date: $Date: 2015-02-09 00:21:18 +0100 (Mo, 09. Feb 2015) $
:Revision: $Revision: 7784 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Revision: $Revision: 7302 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Revision: $Revision: 7302 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Revision: $Revision: 7302 $
:Copyright: This document has been placed in the public domain.
......
......@@ -5,7 +5,7 @@
:Author: Lea Wiemann
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8162 $
:Date: $Date: 2017-08-10 19:51:01 +0200 (Do, 10 Aug 2017) $
:Date: $Date: 2017-08-10 19:51:01 +0200 (Do, 10. Aug 2017) $
:Copyright: This document has been placed in the public domain.
.. _Docutils: http://docutils.sourceforge.net/
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Revision: $Revision: 7302 $
:Copyright: 2004 by `Enthought, Inc. <http://www.enthought.com>`_
:License: `Enthought License`_ (BSD-style)
......
......@@ -5,7 +5,7 @@
:Author: Lea Wiemann
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7302 $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Copyright: This document has been placed in the public domain.
:Abstract: This is the introduction to Docutils for all persons who
......
......@@ -4,7 +4,7 @@
:Author: David Goodger; open to all Docutils developers
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2017-08-18 18:44:27 +0200 (Fr, 18 Aug 2017) $
:Date: $Date: 2017-08-18 18:44:27 +0200 (Fr, 18. Aug 2017) $
:Revision: $Revision: 8173 $
:Copyright: This document has been placed in the public domain.
......
......@@ -5,7 +5,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7302 $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Copyright: This DTD has been placed in the public domain.
:Filename: pysource.dtd
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7302 $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Copyright: This document has been placed in the public domain.
This document explores issues around extracting and processing
......
......@@ -4,7 +4,7 @@
:Authors: David Goodger; Lea Wiemann; open to all Docutils developers
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2017-09-08 18:09:13 +0200 (Fr, 08 Sep 2017) $
:Date: $Date: 2017-09-08 18:09:13 +0200 (Fr, 08. Sep 2017) $
:Revision: $Revision: 8177 $
:Copyright: This document has been placed in the public domain.
......
......@@ -5,7 +5,7 @@
:Author: Lea Wiemann
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7800 $
:Date: $Date: 2015-02-24 14:01:43 +0100 (Di, 24 Feb 2015) $
:Date: $Date: 2015-02-24 14:01:43 +0100 (Di, 24. Feb 2015) $
:Copyright: This document has been placed in the public domain.
.. _Docutils: http://docutils.sourceforge.net/
......
......@@ -5,7 +5,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7383 $
:Date: $Date: 2012-03-19 18:04:49 +0100 (Mo, 19 Mär 2012) $
:Date: $Date: 2012-03-19 18:04:49 +0100 (Mo, 19. Mär 2012) $
:Copyright: This document has been placed in the public domain.
The following are ideas, alternatives, and justifications that were
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7302 $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Copyright: This document has been placed in the public domain.
There are several problems, unresolved issues, and areas of
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7302 $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Copyright: This document has been placed in the public domain.
These are notes for a possible future PEP providing the final piece of
......
......@@ -5,7 +5,7 @@
:Authors: Lea Wiemann <LeWiemann@gmail.com>;
David Goodger <goodger@python.org>
:Revision: $Revision: 8162 $
:Date: $Date: 2017-08-10 19:51:01 +0200 (Do, 10 Aug 2017) $
:Date: $Date: 2017-08-10 19:51:01 +0200 (Do, 10. Aug 2017) $
:Copyright: This document has been placed in the public domain.
.. _Docutils: http://docutils.sourceforge.net/
......
......@@ -5,7 +5,7 @@
:Author: David Goodger (with input from many); open to all Docutils
developers
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2017-08-16 23:30:43 +0200 (Mi, 16 Aug 2017) $
:Date: $Date: 2017-08-16 23:30:43 +0200 (Mi, 16. Aug 2017) $
:Revision: $Revision: 8168 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Author: David Goodger; open to all Docutils developers
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2017-07-05 16:33:33 +0200 (Mi, 05 Jul 2017) $
:Date: $Date: 2017-07-05 16:33:33 +0200 (Mi, 05. Jul 2017) $
:Revision: $Revision: 8133 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Authors: engelbert gruber; open to all Docutils developers
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2015-05-06 18:36:40 +0200 (Mi, 06 Mai 2015) $
:Date: $Date: 2015-05-06 18:36:40 +0200 (Mi, 06. Mai 2015) $
:Revision: $Revision: 7887 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Author: Lea Wiemann
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2016-11-29 13:00:39 +0100 (Di, 29 Nov 2016) $
:Date: $Date: 2016-11-29 13:00:39 +0100 (Di, 29. Nov 2016) $
:Revision: $Revision: 7977 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2014-07-07 05:12:02 +0200 (Mo, 07 Jul 2014) $
:Date: $Date: 2014-07-07 05:12:02 +0200 (Mo, 07. Jul 2014) $
:Revision: $Revision: 7769 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Authors: Dethe Elza, David Goodger, Lea Wiemann
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Revision: $Revision: 7302 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Authors: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Revision: $Revision: 7302 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Revision: $Revision: 7302 $
:Copyright: This document has been placed in the public domain.
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Date: $Date: 2016-01-13 22:09:13 +0100 (Mi, 13 Jan 2016) $
:Date: $Date: 2016-01-13 22:09:13 +0100 (Mi, 13. Jän 2016) $
:Revision: $Revision: 7933 $
:Copyright: This document has been placed in the public domain.
......
PEP: 256
Title: Docstring Processing System Framework
Version: $Revision: 4564 $
Last-Modified: $Date: 2006-05-21 22:44:42 +0200 (So, 21 Mai 2006) $
Last-Modified: $Date: 2006-05-21 22:44:42 +0200 (So, 21. Mai 2006) $
Author: David Goodger <goodger@python.org>
Discussions-To: <doc-sig@python.org>
Status: Draft
......
PEP: 257
Title: Docstring Conventions
Version: $Revision: 4564 $
Last-Modified: $Date: 2006-05-21 22:44:42 +0200 (So, 21 Mai 2006) $
Last-Modified: $Date: 2006-05-21 22:44:42 +0200 (So, 21. Mai 2006) $
Authors: David Goodger <goodger@python.org>,
Guido van Rossum <guido@python.org>
Discussions-To: doc-sig@python.org
......
PEP: 258
Title: Docutils Design Specification
Version: $Revision: 6154 $
Last-Modified: $Date: 2009-10-05 21:08:10 +0200 (Mo, 05 Okt 2009) $
Last-Modified: $Date: 2009-10-05 21:08:10 +0200 (Mo, 05. Okt 2009) $
Author: David Goodger <goodger@python.org>
Discussions-To: <doc-sig@python.org>
Status: Draft
......
PEP: 287
Title: reStructuredText Docstring Format
Version: $Revision: 4564 $
Last-Modified: $Date: 2006-05-21 22:44:42 +0200 (So, 21 Mai 2006) $
Last-Modified: $Date: 2006-05-21 22:44:42 +0200 (So, 21. Mai 2006) $
Author: David Goodger <goodger@python.org>
Discussions-To: <doc-sig@python.org>
Status: Draft
......
......@@ -8,7 +8,7 @@ A Guide to the Docutils DTD
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7882 $
:Date: $Date: 2015-04-20 12:55:19 +0200 (Mo, 20 Apr 2015) $
:Date: $Date: 2015-04-20 12:55:19 +0200 (Mo, 20. Apr 2015) $
:Copyright: This document has been placed in the public domain.
......
......@@ -5,7 +5,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8187 $
:Date: $Date: 2017-10-19 18:21:27 +0200 (Do, 19 Okt 2017) $
:Date: $Date: 2017-10-19 18:21:27 +0200 (Do, 19. Okt 2017) $
:Copyright: This DTD has been placed in the public domain.
:Filename: docutils.dtd
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7302 $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Copyright: This document has been placed in the public domain.
.. contents::
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8186 $
:Date: $Date: 2017-10-17 15:32:24 +0200 (Di, 17 Okt 2017) $
:Date: $Date: 2017-10-17 15:32:24 +0200 (Di, 17. Okt 2017) $
:Copyright: This document has been placed in the public domain.
.. contents::
......
......@@ -4,7 +4,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7302 $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Copyright: This document has been placed in the public domain.
reStructuredText_ is an easy-to-read, what-you-see-is-what-you-get
......
......@@ -7,7 +7,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8205 $
:Date: $Date: 2017-11-27 12:07:28 +0100 (Mo, 27 Nov 2017) $
:Date: $Date: 2017-11-27 12:07:28 +0100 (Mo, 27. Nov 2017) $
:Copyright: This document has been placed in the public domain.
.. Note::
......
......@@ -5,7 +5,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8254 $
:Date: $Date: 2019-04-15 12:23:34 +0200 (Mo, 15 Apr 2019) $
:Date: $Date: 2019-04-15 12:23:34 +0200 (Mo, 15. Apr 2019) $
:Copyright: This document has been placed in the public domain.
This document describes the interpreted text roles implemented in the
......
......@@ -5,7 +5,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7530 $
:Date: $Date: 2012-10-16 14:40:36 +0200 (Di, 16 Okt 2012) $
:Date: $Date: 2012-10-16 14:40:36 +0200 (Di, 16. Okt 2012) $
:Copyright: This document has been placed in the public domain.
......
......@@ -5,7 +5,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8247 $
:Date: $Date: 2019-02-12 19:16:13 +0100 (Di, 12 Feb 2019) $
:Date: $Date: 2019-02-12 19:16:13 +0100 (Di, 12. Feb 2019) $
:Copyright: This document has been placed in the public domain.
.. sidebar:: Docutils Security for Web Applications
......
......@@ -8,7 +8,7 @@ A backwards compatibility style sheet
:Author: Guenter Milde
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7302 $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Copyright: © 2009 Günter Milde,
:License: Released under the terms of the `2-Clause BSD license`_, in short:
......
......@@ -5,7 +5,7 @@
:Author: Engelbert Gruber, Guenter Milde
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8205 $
:Date: $Date: 2017-11-27 12:07:28 +0100 (Mo, 27 Nov 2017) $
:Date: $Date: 2017-11-27 12:07:28 +0100 (Mo, 27. Nov 2017) $
:Copyright: This document has been placed in the public domain.
:Abstract: This document covers topics specific to Docutils' LaTeX_ export.
......
......@@ -5,7 +5,7 @@
:Author: Lea Wiemann, the Docutils team
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8025 $
:Date: $Date: 2017-02-06 15:35:40 +0100 (Mo, 06 Feb 2017) $
:Date: $Date: 2017-02-06 15:35:40 +0100 (Mo, 06. Feb 2017) $
:Copyright: This document has been placed in the public domain.
.. title:: Docutils Links
......
......@@ -5,7 +5,7 @@
:Author: Lea Wiemann
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8111 $
:Date: $Date: 2017-06-10 22:35:01 +0200 (Sa, 10 Jun 2017) $
:Date: $Date: 2017-06-10 22:35:01 +0200 (Sa, 10. Jun 2017) $
:Copyright: This document has been placed in the public domain.
......
......@@ -5,7 +5,7 @@
:Author: Engelbert Gruber
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 7302 $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:Date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:Copyright: This document has been placed in the public domain.
This tries to explore the posibilities to generate man-pages from
......
......@@ -5,7 +5,7 @@ Odt Writer for Docutils
:Author: Dave Kuhlman
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8162 $
:Date: $Date: 2017-08-10 19:51:01 +0200 (Do, 10 Aug 2017) $
:Date: $Date: 2017-08-10 19:51:01 +0200 (Do, 10. Aug 2017) $
:Copyright: This document has been placed in the public domain.
:abstract: This document describes the Docutils odtwriter
......
......@@ -3,7 +3,7 @@
=====================================================
:Info: See <http://docutils.sf.net/rst.html> for introductory docs.
:Author: David Goodger <goodger@python.org>
:Date: $Date: 2013-02-20 02:10:53 +0100 (Mi, 20 Feb 2013) $
:Date: $Date: 2013-02-20 02:10:53 +0100 (Mi, 20. Feb 2013) $
:Revision: $Revision: 7612 $
:Description: This is a "docinfo block", or bibliographic field list
......
......@@ -21,7 +21,7 @@
:Contact: docutils-develop@lists.sourceforge.net
:Authors: Me; Myself; I
:organization: humankind
:date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03 Jan 2012) $
:date: $Date: 2012-01-03 20:23:53 +0100 (Di, 03. Jän 2012) $
:status: This is a "work in progress"
:revision: $Revision: 7302 $
:version: 1
......
......@@ -23,7 +23,7 @@
<p align="right"><em><a href="http://docutils.sourceforge.net/docs/user/rst/quickref.html"
>http://docutils.sourceforge.net/docs/user/rst/quickref.html</a></em>
<br><em>Being a cheat-sheet for reStructuredText</em>
<br><em>Updated $Date: 2009-07-14 16:05:34 +0200 (Di, 14 Jul 2009) $</em>
<br><em>Updated $Date: 2009-07-14 16:05:34 +0200 (Di, 14. Jul 2009) $</em>
<blockquote>
<p>Copyright: This document has been placed in the public domain.
......
......@@ -5,7 +5,7 @@
=================================
:Authors: David Goodger & Chris Liechti
:Date: $Date: 2006-03-30 16:29:59 +0200 (Do, 30 Mär 2006) $
:Date: $Date: 2006-03-30 16:29:59 +0200 (Do, 30. Mär 2006) $
.. This document has been placed in the public domain.
......
......@@ -6,7 +6,7 @@ Smart Quotes for Docutils
based on SmartyPants by John Gruber, Brad Choate, and Chad Miller
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8235 $
:Date: $Date: 2018-11-21 14:58:51 +0100 (Mi, 21 Nov 2018) $
:Date: $Date: 2018-11-21 14:58:51 +0100 (Mi, 21. Nov 2018) $
:License: Released under the terms of the `2-Clause BSD license`_
:Abstract: This document describes the Docutils `smartquotes` module.
......
......@@ -5,7 +5,7 @@
:Author: David Goodger
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision: 8012 $
:Date: $Date: 2017-01-04 00:08:19 +0100 (Mi, 04 Jan 2017) $
:Date: $Date: 2017-01-04 00:08:19 +0100 (Mi, 04. Jän 2017) $
:Copyright: This document has been placed in the public domain.
.. contents::
......
Metadata-Version: 1.2
Name: docutils
Version: 0.15.2
Summary: Docutils -- Python Documentation Utilities
Home-page: http://docutils.sourceforge.net/
Author: David Goodger
Author-email: goodger@python.org
Maintainer: docutils-develop list
Maintainer-email: docutils-develop@lists.sourceforge.net
License: public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)
Description: Docutils is a modular system for processing documentation
into useful formats, such as HTML, XML, and LaTeX. For
input Docutils supports reStructuredText, an easy-to-read,
what-you-see-is-what-you-get plaintext markup syntax.
Platform: OS-independent
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Other Audience
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: Public Domain
Classifier: License :: OSI Approved :: Python Software Foundation License
Classifier: License :: OSI Approved :: BSD License
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Documentation
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Text Processing
Classifier: Natural Language :: English
Classifier: Natural Language :: Afrikaans
Classifier: Natural Language :: Catalan
Classifier: Natural Language :: Chinese (Simplified)
Classifier: Natural Language :: Chinese (Traditional)
Classifier: Natural Language :: Czech
Classifier: Natural Language :: Dutch
Classifier: Natural Language :: Esperanto
Classifier: Natural Language :: Finnish
Classifier: Natural Language :: French
Classifier: Natural Language :: Galician
Classifier: Natural Language :: German
Classifier: Natural Language :: Italian
Classifier: Natural Language :: Japanese
Classifier: Natural Language :: Polish
Classifier: Natural Language :: Portuguese (Brazilian)
Classifier: Natural Language :: Russian
Classifier: Natural Language :: Slovak
Classifier: Natural Language :: Spanish
Classifier: Natural Language :: Swedish
Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*
This diff is collapsed.
# $Id: __init__.py 8267 2019-07-20 19:50:51Z grubert $
# $Id: __init__.py 8304 2019-07-30 09:51:07Z grubert $
# Author: David Goodger <goodger@python.org>
# Copyright: This module has been placed in the public domain.
......@@ -56,7 +56,7 @@ from collections import namedtuple
__docformat__ = 'reStructuredText'
__version__ = '0.15'
__version__ = '0.15.2'
"""Docutils version identifier (complies with PEP 440)::
major.minor[.micro][releaselevel[serial]][.dev]
......@@ -73,7 +73,7 @@ VersionInfo = namedtuple(
__version_info__ = VersionInfo(
major=0,
minor=15,
micro=0,
micro=2,
releaselevel='final', # one of 'alpha', 'beta', 'candidate', 'final'
# pre-release serial number (0 for final releases and active development):
serial=0,
......
# $Id: nodes.py 8246 2019-02-12 17:56:51Z milde $
# $Id: nodes.py 8295 2019-07-24 09:22:01Z grubert $
# Author: David Goodger <goodger@python.org>
# Maintainer: docutils-develop@lists.sourceforge.net
# Copyright: This module has been placed in the public domain.
......@@ -29,8 +29,6 @@ import warnings
import types
import unicodedata
import docutils.utils
# ==============================
# Functional Node Base Classes
# ==============================
......@@ -322,6 +320,20 @@ def ensure_str(s):
return s.encode('ascii', 'backslashreplace')
return s
# definition moved here from `utils` to avoid circular import dependency
def unescape(text, restore_backslashes=False, respect_whitespace=False):
"""
Return a string with nulls removed or restored to backslashes.
Backslash-escaped spaces are also removed.
"""
# `respect_whitespace` is ignored (since introduction 2016-12-16)
if restore_backslashes:
return text.replace('\x00', '\\')
else:
for sep in ['\x00 ', '\x00\n', '\x00']:
text = ''.join(text.split(sep))
return text
class Text(Node, reprunicode):
......@@ -364,7 +376,7 @@ class Text(Node, reprunicode):
return domroot.createTextNode(unicode(self))
def astext(self):
return reprunicode(docutils.utils.unescape(self))
return reprunicode(unescape(self))
# Note about __unicode__: The implementation of __unicode__ here,
# and the one raising NotImplemented in the superclass Node had
......
# coding: utf-8
# $Id: __init__.py 8231 2018-11-20 23:55:14Z milde $
# $Id: __init__.py 8295 2019-07-24 09:22:01Z grubert $
# Author: David Goodger <goodger@python.org>
# Copyright: This module has been placed in the public domain.
......@@ -18,6 +18,7 @@ import warnings
import unicodedata
from docutils import ApplicationError, DataError, __version_info__
from docutils import nodes
from docutils.nodes import unescape
import docutils.io
from docutils.utils.error_reporting import ErrorOutput, SafeString
......@@ -576,18 +577,7 @@ def escape2null(text):
parts.append('\x00' + text[found+1:found+2])
start = found + 2 # skip character after escape