diff options
author | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-11-18 19:09:57 +0000 |
---|---|---|
committer | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-11-18 19:09:57 +0000 |
commit | f3804e5602f7a4cf1e9340716459582bde0395a1 (patch) | |
tree | a39acd8c910fb58f1626d722dbe57847b27332fc | |
parent | e9cf40cc34e7933f24df4dba0dba3e88c37f0bd2 (diff) | |
download | docutils-f3804e5602f7a4cf1e9340716459582bde0395a1.tar.gz |
Version: 0.18.1b
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8893 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
22 files changed, 27 insertions, 25 deletions
diff --git a/README.txt b/README.txt index d8b06b8a4..c5408f921 100644 --- a/README.txt +++ b/README.txt @@ -1,6 +1,6 @@ -============================== - README: Docutils 0.18.1b.dev -============================== +========================== + README: Docutils 0.18.1b +========================== :Author: David Goodger :Contact: goodger@python.org diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index eb9eba9c7..1d5b4cba0 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -83,8 +83,8 @@ Drop support for `old-format configuration files`_. .. _use_latex_citations: docs/user/config.html#use-latex-citations -Release 0.18.1.dev -================== +Release 0.18.1b0 +================ .. Note:: diff --git a/docutils/__init__.py b/docutils/__init__.py index c2b223456..f79f6e5cf 100644 --- a/docutils/__init__.py +++ b/docutils/__init__.py @@ -56,7 +56,7 @@ from collections import namedtuple __docformat__ = 'reStructuredText' -__version__ = '0.18.1b.dev' +__version__ = '0.18.1b' """Docutils version identifier (complies with PEP 440):: major.minor[.micro][releaselevel[serial]][.dev] @@ -116,7 +116,7 @@ __version_info__ = VersionInfo( releaselevel='beta', # one of 'alpha', 'beta', 'candidate', 'final' # pre-release serial number (0 for final releases and active development): serial=0, - release=False # True for official releases and pre-releases + release=True # True for official releases and pre-releases ) """Comprehensive version information tuple. See 'Version Numbering' in docs/dev/policies.txt.""" diff --git a/docutils/writers/manpage.py b/docutils/writers/manpage.py index d3d535d49..d8b366545 100644 --- a/docutils/writers/manpage.py +++ b/docutils/writers/manpage.py @@ -998,6 +998,8 @@ class Translator(nodes.NodeVisitor): self.body.append(self.defs['reference'][0]) def depart_reference(self, node): + # TODO check node text is different from refuri + #self.body.append("\n'UR " + node['refuri'] + "\n'UE\n") self.body.append(self.defs['reference'][1]) def visit_revision(self, node): @@ -31,7 +31,7 @@ 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.""", # wrap at col 60 'url': 'http://docutils.sourceforge.net/', - 'version': '0.18.1b.dev', + 'version': '0.18.1b', 'author': 'David Goodger', 'author_email': 'goodger@python.org', 'maintainer': 'docutils-develop list', diff --git a/test/functional/expected/compact_lists.html b/test/functional/expected/compact_lists.html index 9a3430904..0c05761ae 100644 --- a/test/functional/expected/compact_lists.html +++ b/test/functional/expected/compact_lists.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>compact_lists.txt</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> </head> diff --git a/test/functional/expected/dangerous.html b/test/functional/expected/dangerous.html index 3be603927..d28f86a2a 100644 --- a/test/functional/expected/dangerous.html +++ b/test/functional/expected/dangerous.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>dangerous.txt</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> </head> diff --git a/test/functional/expected/embed_images_html5.html b/test/functional/expected/embed_images_html5.html index 5b74aa988..da1980fd7 100644 --- a/test/functional/expected/embed_images_html5.html +++ b/test/functional/expected/embed_images_html5.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>Embedded Images</title> <link rel="stylesheet" href="../input/data/minimal.css" type="text/css" /> <link rel="stylesheet" href="../input/data/plain.css" type="text/css" /> diff --git a/test/functional/expected/field_name_limit.html b/test/functional/expected/field_name_limit.html index 0fa74e702..6729b4b08 100644 --- a/test/functional/expected/field_name_limit.html +++ b/test/functional/expected/field_name_limit.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>field_list.txt</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> </head> diff --git a/test/functional/expected/footnotes_html5.html b/test/functional/expected/footnotes_html5.html index 1a4fc4d8b..3315f39f3 100644 --- a/test/functional/expected/footnotes_html5.html +++ b/test/functional/expected/footnotes_html5.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>Test footnote and citation rendering</title> <link rel="stylesheet" href="../input/data/minimal.css" type="text/css" /> <link rel="stylesheet" href="../input/data/responsive.css" type="text/css" /> diff --git a/test/functional/expected/math_output_html.html b/test/functional/expected/math_output_html.html index 87393b7d2..b2f3ecff2 100644 --- a/test/functional/expected/math_output_html.html +++ b/test/functional/expected/math_output_html.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>Mathematics</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> <link rel="stylesheet" href="../input/data/math.css" type="text/css" /> diff --git a/test/functional/expected/math_output_latex.html b/test/functional/expected/math_output_latex.html index 1c45f9588..af717fa59 100644 --- a/test/functional/expected/math_output_latex.html +++ b/test/functional/expected/math_output_latex.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>Mathematics</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> </head> diff --git a/test/functional/expected/math_output_mathjax.html b/test/functional/expected/math_output_mathjax.html index 773f600e1..71cb3fad2 100644 --- a/test/functional/expected/math_output_mathjax.html +++ b/test/functional/expected/math_output_mathjax.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>Mathematics</title> <script type="text/javascript" src="/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS_CHTML"></script> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> diff --git a/test/functional/expected/math_output_mathml.html b/test/functional/expected/math_output_mathml.html index 42e75454e..a0049baaf 100644 --- a/test/functional/expected/math_output_mathml.html +++ b/test/functional/expected/math_output_mathml.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>Mathematics</title> <link rel="stylesheet" href="../input/data/minimal.css" type="text/css" /> <link rel="stylesheet" href="../input/data/plain.css" type="text/css" /> diff --git a/test/functional/expected/misc_rst_html4css1.html b/test/functional/expected/misc_rst_html4css1.html index a37135d92..1bd1623df 100644 --- a/test/functional/expected/misc_rst_html4css1.html +++ b/test/functional/expected/misc_rst_html4css1.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>Additional tests with html4css1</title> <link rel="stylesheet" href="foo&bar.css" type="text/css" /> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> diff --git a/test/functional/expected/misc_rst_html5.html b/test/functional/expected/misc_rst_html5.html index 5e42e3b1e..36a8f7cbc 100644 --- a/test/functional/expected/misc_rst_html5.html +++ b/test/functional/expected/misc_rst_html5.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>Additional tests with HTML 5</title> <link rel="stylesheet" href="../input/data/minimal.css" type="text/css" /> <link rel="stylesheet" href="../input/data/responsive.css" type="text/css" /> diff --git a/test/functional/expected/pep_html.html b/test/functional/expected/pep_html.html index 492e9758e..9b17dc84f 100644 --- a/test/functional/expected/pep_html.html +++ b/test/functional/expected/pep_html.html @@ -8,7 +8,7 @@ to templates. DO NOT USE THIS HTML FILE AS YOUR TEMPLATE! --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> + <meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>PEP 100 -- Test PEP</title> <link rel="stylesheet" href="../input/data/html4css1.css" type="text/css" /> </head> diff --git a/test/functional/expected/standalone_rst_docutils_xml.xml b/test/functional/expected/standalone_rst_docutils_xml.xml index 220fc0e1b..048e0e187 100644 --- a/test/functional/expected/standalone_rst_docutils_xml.xml +++ b/test/functional/expected/standalone_rst_docutils_xml.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE document PUBLIC "+//IDN docutils.sourceforge.net//DTD Docutils Generic//EN//XML" "http://docutils.sourceforge.net/docs/ref/docutils.dtd"> -<!-- Generated by Docutils 0.18.1b.dev --> +<!-- Generated by Docutils 0.18.1b --> <document ids="restructuredtext-test-document doctitle" names="restructuredtext\ test\ document doctitle" source="functional/input/standalone_rst_docutils_xml.txt" title="reStructuredText Test Document"> <title>reStructuredText Test Document</title> <subtitle ids="examples-of-syntax-constructs subtitle" names="examples\ of\ syntax\ constructs subtitle">Examples of Syntax Constructs</subtitle> diff --git a/test/functional/expected/standalone_rst_html4css1.html b/test/functional/expected/standalone_rst_html4css1.html index cb29b74dd..04a85babd 100644 --- a/test/functional/expected/standalone_rst_html4css1.html +++ b/test/functional/expected/standalone_rst_html4css1.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>reStructuredText Test Document</title> <meta content="reStructuredText, test, parser" name="keywords" /> <meta content="A test document, containing at least one example of each reStructuredText construct." lang="en" name="description" /> diff --git a/test/functional/expected/standalone_rst_html5.html b/test/functional/expected/standalone_rst_html5.html index c28ef8454..4975f0096 100644 --- a/test/functional/expected/standalone_rst_html5.html +++ b/test/functional/expected/standalone_rst_html5.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <title>reStructuredText Test Document</title> <meta content="reStructuredText, test, parser" name="keywords" /> <meta content="A test document, containing at least one example of each reStructuredText construct." lang="en" name="description" xml:lang="en" /> diff --git a/test/functional/expected/standalone_rst_s5_html_1.html b/test/functional/expected/standalone_rst_s5_html_1.html index b2335408c..5fdb8473b 100644 --- a/test/functional/expected/standalone_rst_s5_html_1.html +++ b/test/functional/expected/standalone_rst_s5_html_1.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Slide Shows</title> <meta name="author" content="David Goodger" /> diff --git a/test/functional/expected/standalone_rst_s5_html_2.html b/test/functional/expected/standalone_rst_s5_html_2.html index c129f9956..7672f37f4 100644 --- a/test/functional/expected/standalone_rst_s5_html_2.html +++ b/test/functional/expected/standalone_rst_s5_html_2.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="Docutils 0.18.1b.dev: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.18.1b: http://docutils.sourceforge.net/" /> <meta name="version" content="S5 1.1" /> <title>Slide Shows</title> <meta name="author" content="David Goodger" /> |