|
From: <mi...@us...> - 2022-01-21 13:46:08
|
Revision: 8960
http://sourceforge.net/p/docutils/code/8960
Author: milde
Date: 2022-01-21 13:46:05 +0000 (Fri, 21 Jan 2022)
Log Message:
-----------
Update base URL config settings defaults.
The default values for the "pep-references", "rfc-base-url", and
"python-home" `configuration settings`_ now uses the "https:" scheme.
Based on a patch by Adam Turner.
Modified Paths:
--------------
trunk/docutils/HISTORY.txt
trunk/docutils/RELEASE-NOTES.txt
trunk/docutils/docutils/parsers/rst/__init__.py
trunk/docutils/docutils/writers/pep_html/__init__.py
trunk/docutils/test/functional/expected/latex_literal_block.tex
trunk/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex
trunk/docutils/test/functional/expected/latex_literal_block_listings.tex
trunk/docutils/test/functional/expected/latex_literal_block_verbatim.tex
trunk/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex
trunk/docutils/test/functional/expected/latex_memoir.tex
trunk/docutils/test/functional/expected/pep_html.html
trunk/docutils/test/functional/expected/standalone_rst_docutils_xml.xml
trunk/docutils/test/functional/expected/standalone_rst_html4css1.html
trunk/docutils/test/functional/expected/standalone_rst_html5.html
trunk/docutils/test/functional/expected/standalone_rst_latex.tex
trunk/docutils/test/functional/expected/standalone_rst_pseudoxml.txt
trunk/docutils/test/functional/expected/standalone_rst_xetex.tex
trunk/docutils/test/test_parsers/test_rst/test_interpreted.py
trunk/docutils/test/test_readers/test_pep/test_inline_markup.py
Modified: trunk/docutils/HISTORY.txt
===================================================================
--- trunk/docutils/HISTORY.txt 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/HISTORY.txt 2022-01-21 13:46:05 UTC (rev 8960)
@@ -36,6 +36,10 @@
.. _"include" directive: docs/ref/rst/directives.html#include
+* docutils/parsers/rst/__init__.py
+
+ - use "https:" scheme in PEP and RFC base link defaults.
+
* docutils/parsers/rst/directives/__init__.py
- parser_name() keeps details if converting ImportError to ValueError.
@@ -54,6 +58,10 @@
- Add deprecation warning.
+* docutils/writers/pep_html/:
+
+ - use "https:" scheme in "python_home" URL default.
+
* test/DocutilsTestSupport.py
- exception_data() returns None if no exception was raised.
Modified: trunk/docutils/RELEASE-NOTES.txt
===================================================================
--- trunk/docutils/RELEASE-NOTES.txt 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/RELEASE-NOTES.txt 2022-01-21 13:46:05 UTC (rev 8960)
@@ -91,6 +91,11 @@
* Support calling the "myst" parser (https://pypi.org/project/myst-docutils)
from docutils-cli.py_.
+* The default values for the "pep-references", "rfc-base-url",
+ and "python-home" `configuration settings`_ now uses the "https:" scheme.
+
+.. _configuration settings: docs/user/config.html
+
Release 0.18.1 (2021-12-23)
===========================
Modified: trunk/docutils/docutils/parsers/rst/__init__.py
===================================================================
--- trunk/docutils/docutils/parsers/rst/__init__.py 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/docutils/parsers/rst/__init__.py 2022-01-21 13:46:05 UTC (rev 8960)
@@ -91,9 +91,9 @@
['--pep-references'],
{'action': 'store_true', 'validator': frontend.validate_boolean}),
('Base URL for PEP references '
- '(default "http://www.python.org/dev/peps/").',
+ '(default "https://www.python.org/dev/peps/").',
['--pep-base-url'],
- {'metavar': '<URL>', 'default': 'http://www.python.org/dev/peps/',
+ {'metavar': '<URL>', 'default': 'https://www.python.org/dev/peps/',
'validator': frontend.validate_url_trailing_slash}),
('Template for PEP file part of URL. (default "pep-%04d")',
['--pep-file-url-template'],
@@ -101,9 +101,9 @@
('Recognize and link to standalone RFC references (like "RFC 822").',
['--rfc-references'],
{'action': 'store_true', 'validator': frontend.validate_boolean}),
- ('Base URL for RFC references (default "http://tools.ietf.org/html/").',
+ ('Base URL for RFC references (default "https://tools.ietf.org/html/").',
['--rfc-base-url'],
- {'metavar': '<URL>', 'default': 'http://tools.ietf.org/html/',
+ {'metavar': '<URL>', 'default': 'https://tools.ietf.org/html/',
'validator': frontend.validate_url_trailing_slash}),
('Set number of spaces for tab expansion (default 8).',
['--tab-width'],
Modified: trunk/docutils/docutils/writers/pep_html/__init__.py
===================================================================
--- trunk/docutils/docutils/writers/pep_html/__init__.py 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/docutils/writers/pep_html/__init__.py 2022-01-21 13:46:05 UTC (rev 8960)
@@ -37,9 +37,9 @@
'option is "%s", and the default value for --template is "%s". '
'See HTML Writer Options above.'
% (default_stylesheet_path, default_template_path),
- (('Python\'s home URL. Default is "http://www.python.org".',
+ (('Python\'s home URL. Default is "https://www.python.org".',
['--python-home'],
- {'default': 'http://www.python.org', 'metavar': '<URL>'}),
+ {'default': 'https://www.python.org', 'metavar': '<URL>'}),
('Home URL prefix for PEPs. Default is "." (current directory).',
['--pep-home'],
{'default': '.', 'metavar': '<URL>'}),
Modified: trunk/docutils/test/functional/expected/latex_literal_block.tex
===================================================================
--- trunk/docutils/test/functional/expected/latex_literal_block.tex 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/latex_literal_block.tex 2022-01-21 13:46:05 UTC (rev 8960)
@@ -137,8 +137,8 @@
citation~references~(\hyperlink{cit2002}{[CIT2002]}),~and~more.\\
~\\
~~~Here~are~some~explicit~interpreted~text~roles:\\
-a~PEP~reference~(\href{http://www.python.org/dev/peps/pep-0287}{PEP~287}),\\
-an~RFC~reference~(\href{http://tools.ietf.org/html/rfc2822.html}{RFC~2822}),\\
+a~PEP~reference~(\href{https://www.python.org/dev/peps/pep-0287}{PEP~287}),\\
+an~RFC~reference~(\href{https://tools.ietf.org/html/rfc2822.html}{RFC~2822}),\\
an~abbreviation~(\DUrole{abbreviation}{abb.}),~an~acronym~(\DUrole{acronym}{reST}),\\
code~(\texttt{\DUrole{code}{print~\textquotedbl{}hello~world\textquotedbl{}}}),\\
maths~$\sin^2(x)$,\\
Modified: trunk/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex
===================================================================
--- trunk/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex 2022-01-21 13:46:05 UTC (rev 8960)
@@ -137,8 +137,8 @@
citation~references~(\hyperlink{cit2002}{[CIT2002]}),~and~more.\\
~\\
~~~Here~are~some~explicit~interpreted~text~roles:\\
-a~PEP~reference~(\href{http://www.python.org/dev/peps/pep-0287}{PEP~287}),\\
-an~RFC~reference~(\href{http://tools.ietf.org/html/rfc2822.html}{RFC~2822}),\\
+a~PEP~reference~(\href{https://www.python.org/dev/peps/pep-0287}{PEP~287}),\\
+an~RFC~reference~(\href{https://tools.ietf.org/html/rfc2822.html}{RFC~2822}),\\
an~abbreviation~(\DUrole{abbreviation}{abb.}),~an~acronym~(\DUrole{acronym}{reST}),\\
code~(\texttt{\DUrole{code}{print~\textquotedbl{}hello~world\textquotedbl{}}}),\\
maths~$\sin^2(x)$,\\
Modified: trunk/docutils/test/functional/expected/latex_literal_block_listings.tex
===================================================================
--- trunk/docutils/test/functional/expected/latex_literal_block_listings.tex 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/latex_literal_block_listings.tex 2022-01-21 13:46:05 UTC (rev 8960)
@@ -140,8 +140,8 @@
citation~references~(\hyperlink{cit2002}{[CIT2002]}),~and~more.\\
~\\
~~~Here~are~some~explicit~interpreted~text~roles:\\
-a~PEP~reference~(\href{http://www.python.org/dev/peps/pep-0287}{PEP~287}),\\
-an~RFC~reference~(\href{http://tools.ietf.org/html/rfc2822.html}{RFC~2822}),\\
+a~PEP~reference~(\href{https://www.python.org/dev/peps/pep-0287}{PEP~287}),\\
+an~RFC~reference~(\href{https://tools.ietf.org/html/rfc2822.html}{RFC~2822}),\\
an~abbreviation~(\DUrole{abbreviation}{abb.}),~an~acronym~(\DUrole{acronym}{reST}),\\
code~(\texttt{\DUrole{code}{print~\textquotedbl{}hello~world\textquotedbl{}}}),\\
maths~$\sin^2(x)$,\\
Modified: trunk/docutils/test/functional/expected/latex_literal_block_verbatim.tex
===================================================================
--- trunk/docutils/test/functional/expected/latex_literal_block_verbatim.tex 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/latex_literal_block_verbatim.tex 2022-01-21 13:46:05 UTC (rev 8960)
@@ -136,8 +136,8 @@
citation~references~(\hyperlink{cit2002}{[CIT2002]}),~and~more.\\
~\\
~~~Here~are~some~explicit~interpreted~text~roles:\\
-a~PEP~reference~(\href{http://www.python.org/dev/peps/pep-0287}{PEP~287}),\\
-an~RFC~reference~(\href{http://tools.ietf.org/html/rfc2822.html}{RFC~2822}),\\
+a~PEP~reference~(\href{https://www.python.org/dev/peps/pep-0287}{PEP~287}),\\
+an~RFC~reference~(\href{https://tools.ietf.org/html/rfc2822.html}{RFC~2822}),\\
an~abbreviation~(\DUrole{abbreviation}{abb.}),~an~acronym~(\DUrole{acronym}{reST}),\\
code~(\texttt{\DUrole{code}{print~\textquotedbl{}hello~world\textquotedbl{}}}),\\
maths~$\sin^2(x)$,\\
Modified: trunk/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex
===================================================================
--- trunk/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex 2022-01-21 13:46:05 UTC (rev 8960)
@@ -137,8 +137,8 @@
citation~references~(\hyperlink{cit2002}{[CIT2002]}),~and~more.\\
~\\
~~~Here~are~some~explicit~interpreted~text~roles:\\
-a~PEP~reference~(\href{http://www.python.org/dev/peps/pep-0287}{PEP~287}),\\
-an~RFC~reference~(\href{http://tools.ietf.org/html/rfc2822.html}{RFC~2822}),\\
+a~PEP~reference~(\href{https://www.python.org/dev/peps/pep-0287}{PEP~287}),\\
+an~RFC~reference~(\href{https://tools.ietf.org/html/rfc2822.html}{RFC~2822}),\\
an~abbreviation~(\DUrole{abbreviation}{abb.}),~an~acronym~(\DUrole{acronym}{reST}),\\
code~(\texttt{\DUrole{code}{print~\textquotedbl{}hello~world\textquotedbl{}}}),\\
maths~$\sin^2(x)$,\\
Modified: trunk/docutils/test/functional/expected/latex_memoir.tex
===================================================================
--- trunk/docutils/test/functional/expected/latex_memoir.tex 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/latex_memoir.tex 2022-01-21 13:46:05 UTC (rev 8960)
@@ -345,8 +345,8 @@
reference to the \hyperref[doctitle]{doctitle} and the \hyperref[subtitle]{subtitle}.
The default role for interpreted text is \DUroletitlereference{Title Reference}. Here are
-some explicit interpreted text roles: a PEP reference (\href{http://www.python.org/dev/peps/pep-0287}{PEP 287}); an
-RFC reference (\href{http://tools.ietf.org/html/rfc2822.html}{RFC 2822}); an abbreviation (\DUrole{abbreviation}{abb.}), an acronym
+some explicit interpreted text roles: a PEP reference (\href{https://www.python.org/dev/peps/pep-0287}{PEP 287}); an
+RFC reference (\href{https://tools.ietf.org/html/rfc2822.html}{RFC 2822}); an abbreviation (\DUrole{abbreviation}{abb.}), an acronym
(\DUrole{acronym}{reST}), code (\texttt{\DUrole{code}{print \textquotedbl{}hello world\textquotedbl{}}}); a \textsubscript{subscript};
a \textsuperscript{superscript} and explicit roles for \DUroletitlereference{Docutils}'
\emph{standard} \textbf{inline} \texttt{markup}.
Modified: trunk/docutils/test/functional/expected/pep_html.html
===================================================================
--- trunk/docutils/test/functional/expected/pep_html.html 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/pep_html.html 2022-01-21 13:46:05 UTC (rev 8960)
@@ -45,7 +45,7 @@
</tr>
<tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td>
</tr>
-<tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference external" href="http://www.python.org/dev/peps/pep-0012">text/x-rst</a></td>
+<tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference external" href="https://www.python.org/dev/peps/pep-0012">text/x-rst</a></td>
</tr>
<tr class="field"><th class="field-name">Created:</th><td class="field-body">01-Jun-2001</td>
</tr>
Modified: trunk/docutils/test/functional/expected/standalone_rst_docutils_xml.xml
===================================================================
--- trunk/docutils/test/functional/expected/standalone_rst_docutils_xml.xml 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/standalone_rst_docutils_xml.xml 2022-01-21 13:46:05 UTC (rev 8960)
@@ -255,8 +255,8 @@
<target anonymous="1" ids="target-1" refuri="http://www.python.org/"></target>
<target anonymous="1" ids="target-2" refuri="https://docutils.sourceforge.io/"></target>
<paragraph>The default role for interpreted text is <title_reference>Title Reference</title_reference>. Here are
- some explicit interpreted text roles: a PEP reference (<reference refuri="http://www.python.org/dev/peps/pep-0287">PEP 287</reference>); an
- RFC reference (<reference refuri="http://tools.ietf.org/html/rfc2822.html">RFC 2822</reference>); an abbreviation (<abbreviation>abb.</abbreviation>), an acronym
+ some explicit interpreted text roles: a PEP reference (<reference refuri="https://www.python.org/dev/peps/pep-0287">PEP 287</reference>); an
+ RFC reference (<reference refuri="https://tools.ietf.org/html/rfc2822.html">RFC 2822</reference>); an abbreviation (<abbreviation>abb.</abbreviation>), an acronym
(<acronym>reST</acronym>), code (<literal classes="code">print "hello world"</literal>); a <subscript>subscript</subscript>;
a <superscript>superscript</superscript> and explicit roles for <title_reference>Docutils</title_reference>'
<emphasis>standard</emphasis> <strong>inline</strong> <literal>markup</literal>.</paragraph>
Modified: trunk/docutils/test/functional/expected/standalone_rst_html4css1.html
===================================================================
--- trunk/docutils/test/functional/expected/standalone_rst_html4css1.html 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/standalone_rst_html4css1.html 2022-01-21 13:46:05 UTC (rev 8960)
@@ -185,8 +185,8 @@
(generated by processing errors; this one is intentional). Here is a
reference to the <a class="reference internal" href="#doctitle">doctitle</a> and the <a class="reference internal" href="#subtitle">subtitle</a>.</p>
<p>The default role for interpreted text is <cite>Title Reference</cite>. Here are
-some explicit interpreted text roles: a PEP reference (<a class="reference external" href="http://www.python.org/dev/peps/pep-0287">PEP 287</a>); an
-RFC reference (<a class="reference external" href="http://tools.ietf.org/html/rfc2822.html">RFC 2822</a>); an abbreviation (<abbr>abb.</abbr>), an acronym
+some explicit interpreted text roles: a PEP reference (<a class="reference external" href="https://www.python.org/dev/peps/pep-0287">PEP 287</a>); an
+RFC reference (<a class="reference external" href="https://tools.ietf.org/html/rfc2822.html">RFC 2822</a>); an abbreviation (<abbr>abb.</abbr>), an acronym
(<acronym>reST</acronym>), code (<code>print "hello world"</code>); a <sub>subscript</sub>;
a <sup>superscript</sup> and explicit roles for <cite>Docutils</cite>'
<em>standard</em> <strong>inline</strong> <tt class="docutils literal">markup</tt>.</p>
Modified: trunk/docutils/test/functional/expected/standalone_rst_html5.html
===================================================================
--- trunk/docutils/test/functional/expected/standalone_rst_html5.html 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/standalone_rst_html5.html 2022-01-21 13:46:05 UTC (rev 8960)
@@ -203,8 +203,8 @@
(generated by processing errors; this one is intentional). Here is a
reference to the <a class="reference internal" href="#doctitle">doctitle</a> and the <a class="reference internal" href="#subtitle">subtitle</a>.</p>
<p>The default role for interpreted text is <cite>Title Reference</cite>. Here are
-some explicit interpreted text roles: a PEP reference (<a class="reference external" href="http://www.python.org/dev/peps/pep-0287">PEP 287</a>); an
-RFC reference (<a class="reference external" href="http://tools.ietf.org/html/rfc2822.html">RFC 2822</a>); an abbreviation (<abbr>abb.</abbr>), an acronym
+some explicit interpreted text roles: a PEP reference (<a class="reference external" href="https://www.python.org/dev/peps/pep-0287">PEP 287</a>); an
+RFC reference (<a class="reference external" href="https://tools.ietf.org/html/rfc2822.html">RFC 2822</a>); an abbreviation (<abbr>abb.</abbr>), an acronym
(<abbr>reST</abbr>), code (<code>print "hello world"</code>); a <sub>subscript</sub>;
a <sup>superscript</sup> and explicit roles for <cite>Docutils</cite>'
<em>standard</em> <strong>inline</strong> <span class="docutils literal">markup</span>.</p>
Modified: trunk/docutils/test/functional/expected/standalone_rst_latex.tex
===================================================================
--- trunk/docutils/test/functional/expected/standalone_rst_latex.tex 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/standalone_rst_latex.tex 2022-01-21 13:46:05 UTC (rev 8960)
@@ -346,8 +346,8 @@
reference to the \hyperref[doctitle]{doctitle} and the \hyperref[subtitle]{subtitle}.
The default role for interpreted text is \DUroletitlereference{Title Reference}. Here are
-some explicit interpreted text roles: a PEP reference (\href{http://www.python.org/dev/peps/pep-0287}{PEP 287}); an
-RFC reference (\href{http://tools.ietf.org/html/rfc2822.html}{RFC 2822}); an abbreviation (\DUrole{abbreviation}{abb.}), an acronym
+some explicit interpreted text roles: a PEP reference (\href{https://www.python.org/dev/peps/pep-0287}{PEP 287}); an
+RFC reference (\href{https://tools.ietf.org/html/rfc2822.html}{RFC 2822}); an abbreviation (\DUrole{abbreviation}{abb.}), an acronym
(\DUrole{acronym}{reST}), code (\texttt{\DUrole{code}{print \textquotedbl{}hello world\textquotedbl{}}}); a \textsubscript{subscript};
a \textsuperscript{superscript} and explicit roles for \DUroletitlereference{Docutils}’
\emph{standard} \textbf{inline} \texttt{markup}.
Modified: trunk/docutils/test/functional/expected/standalone_rst_pseudoxml.txt
===================================================================
--- trunk/docutils/test/functional/expected/standalone_rst_pseudoxml.txt 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/standalone_rst_pseudoxml.txt 2022-01-21 13:46:05 UTC (rev 8960)
@@ -505,11 +505,11 @@
Title Reference
. Here are
some explicit interpreted text roles: a PEP reference (
- <reference refuri="http://www.python.org/dev/peps/pep-0287">
+ <reference refuri="https://www.python.org/dev/peps/pep-0287">
PEP 287
); an
RFC reference (
- <reference refuri="http://tools.ietf.org/html/rfc2822.html">
+ <reference refuri="https://tools.ietf.org/html/rfc2822.html">
RFC 2822
); an abbreviation (
<abbreviation>
Modified: trunk/docutils/test/functional/expected/standalone_rst_xetex.tex
===================================================================
--- trunk/docutils/test/functional/expected/standalone_rst_xetex.tex 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/functional/expected/standalone_rst_xetex.tex 2022-01-21 13:46:05 UTC (rev 8960)
@@ -347,8 +347,8 @@
reference to the \hyperref[doctitle]{doctitle} and the \hyperref[subtitle]{subtitle}.
The default role for interpreted text is \DUroletitlereference{Title Reference}. Here are
-some explicit interpreted text roles: a PEP reference (\href{http://www.python.org/dev/peps/pep-0287}{PEP 287}); an
-RFC reference (\href{http://tools.ietf.org/html/rfc2822.html}{RFC 2822}); an abbreviation (\DUrole{abbreviation}{abb.}), an acronym
+some explicit interpreted text roles: a PEP reference (\href{https://www.python.org/dev/peps/pep-0287}{PEP 287}); an
+RFC reference (\href{https://tools.ietf.org/html/rfc2822.html}{RFC 2822}); an abbreviation (\DUrole{abbreviation}{abb.}), an acronym
(\DUrole{acronym}{reST}), code (\texttt{\DUrole{code}{print \textquotedbl{}hello world\textquotedbl{}}}); a \textsubscript{subscript};
a \textsuperscript{superscript} and explicit roles for \DUroletitlereference{Docutils}’
\emph{standard} \textbf{inline} \texttt{markup}.
Modified: trunk/docutils/test/test_parsers/test_rst/test_interpreted.py
===================================================================
--- trunk/docutils/test/test_parsers/test_rst/test_interpreted.py 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/test_parsers/test_rst/test_interpreted.py 2022-01-21 13:46:05 UTC (rev 8960)
@@ -301,7 +301,7 @@
"""\
<document source="test data">
<paragraph>
- <reference refuri="http://www.python.org/dev/peps/pep-0000">
+ <reference refuri="https://www.python.org/dev/peps/pep-0000">
PEP 0
"""],
["""\
@@ -322,7 +322,7 @@
"""\
<document source="test data">
<paragraph>
- <reference refuri="http://tools.ietf.org/html/rfc2822.html">
+ <reference refuri="https://tools.ietf.org/html/rfc2822.html">
RFC 2822
"""],
["""\
@@ -343,7 +343,7 @@
"""\
<document source="test data">
<paragraph>
- <reference refuri="http://tools.ietf.org/html/rfc2822.html#section1">
+ <reference refuri="https://tools.ietf.org/html/rfc2822.html#section1">
RFC 2822
"""],
]
Modified: trunk/docutils/test/test_readers/test_pep/test_inline_markup.py
===================================================================
--- trunk/docutils/test/test_readers/test_pep/test_inline_markup.py 2022-01-21 13:45:42 UTC (rev 8959)
+++ trunk/docutils/test/test_readers/test_pep/test_inline_markup.py 2022-01-21 13:46:05 UTC (rev 8960)
@@ -30,20 +30,20 @@
<document source="test data">
<paragraph>
See \n\
- <reference refuri="http://www.python.org/dev/peps/pep-0287">
+ <reference refuri="https://www.python.org/dev/peps/pep-0287">
PEP 287
(
- <reference refuri="http://www.python.org/dev/peps/pep-0287">
+ <reference refuri="https://www.python.org/dev/peps/pep-0287">
pep-0287.txt
),
and \n\
- <reference refuri="http://tools.ietf.org/html/rfc2822.html">
+ <reference refuri="https://tools.ietf.org/html/rfc2822.html">
RFC 2822
(which obsoletes \n\
- <reference refuri="http://tools.ietf.org/html/rfc822.html">
+ <reference refuri="https://tools.ietf.org/html/rfc822.html">
RFC822
and \n\
- <reference refuri="http://tools.ietf.org/html/rfc733.html">
+ <reference refuri="https://tools.ietf.org/html/rfc733.html">
RFC-733
).
"""],
@@ -61,11 +61,11 @@
<paragraph>
References split across lines:
<paragraph>
- <reference refuri="http://www.python.org/dev/peps/pep-0287">
+ <reference refuri="https://www.python.org/dev/peps/pep-0287">
PEP
287
<paragraph>
- <reference refuri="http://tools.ietf.org/html/rfc2822.html">
+ <reference refuri="https://tools.ietf.org/html/rfc2822.html">
RFC
2822
"""],
@@ -72,7 +72,7 @@
["""\
Test PEP-specific implicit references before a URL:
-PEP 287 (http://www.python.org/dev/peps/pep-0287), RFC 2822.
+PEP 287 (https://www.python.org/dev/peps/pep-0287), RFC 2822.
""",
"""\
<document source="test data">
@@ -79,13 +79,13 @@
<paragraph>
Test PEP-specific implicit references before a URL:
<paragraph>
- <reference refuri="http://www.python.org/dev/peps/pep-0287">
+ <reference refuri="https://www.python.org/dev/peps/pep-0287">
PEP 287
(
- <reference refuri="http://www.python.org/dev/peps/pep-0287">
- http://www.python.org/dev/peps/pep-0287
+ <reference refuri="https://www.python.org/dev/peps/pep-0287">
+ https://www.python.org/dev/peps/pep-0287
), \n\
- <reference refuri="http://tools.ietf.org/html/rfc2822.html">
+ <reference refuri="https://tools.ietf.org/html/rfc2822.html">
RFC 2822
.
"""],
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|