From c8a9da0b9ddd0ecbf309da0b0bdfff87451f29be Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Sun, 16 Jan 2022 17:57:56 +0000 Subject: [PATCH 1/2] Add GHA scripts --- .github/workflows/linting.yml | 20 +++++++++ .github/workflows/test.yml | 35 +++++++++++++++ docutils/.flake8 | 85 +++++++++++++++++++++++++++++++++++ 3 files changed, 140 insertions(+) create mode 100644 .github/workflows/linting.yml create mode 100644 .github/workflows/test.yml create mode 100644 docutils/.flake8 diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml new file mode 100644 index 000000000..0b5435fea --- /dev/null +++ b/.github/workflows/linting.yml @@ -0,0 +1,20 @@ +name: 🎨 linting + +on: [push, pull_request] + +jobs: + linting: + name: lint using flake8 + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3 + - name: Install dependencies + run: pip install flake8 + - name: Run flake8 + run: | + cd docutils + flake8 docutils diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..ea0be727f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,35 @@ +name: ✅ tests #and coverage + +on: [push, pull_request] + +jobs: + tests: + name: test with Python ${{ matrix.python-version }} + runs-on: ubuntu-latest + strategy: + matrix: + python-version: + - "3.7" + - "3.8" + - "3.9" + - "3.10" + - "3.11-dev" + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + cd docutils + python -m pip install --upgrade pip + python -m pip install -e . + python -m pip install pygments + + - name: Run test suite + run: | + cd docutils + python test/alltests.py diff --git a/docutils/.flake8 b/docutils/.flake8 new file mode 100644 index 000000000..d40602322 --- /dev/null +++ b/docutils/.flake8 @@ -0,0 +1,85 @@ +[flake8] +# The following rules are ignored as they're stylistic and can be addressed at +# a later point: +# +# E101 indentation contains mixed spaces and tabs +# E111 indentation is not a multiple of four +# E114 indentation is not a multiple of four (comment) +# E115 expected an indented block (comment) +# E116 unexpected indentation (comment) +# E117 over-indented +# E121 continuation line under-indented for hanging indent +# E122 continuation line missing indentation or outdented +# E123 closing bracket does not match indentation of opening bracket's line +# E124 closing bracket does not match visual indentation +# E125 continuation line with same indent as next logical line +# E126 continuation line over-indented for hanging indent +# E127 continuation line over-indented for visual indent +# E128 continuation line under-indented for visual indent +# E129 visually indented line with same indent as next logical line +# E131 continuation line unaligned for hanging indent +# E201 whitespace after '(' +# E202 whitespace before '}' +# E203 whitespace before ':' +# E211 whitespace before '(' +# E221 multiple spaces before operator +# E222 multiple spaces after operator +# E225 missing whitespace around operator +# E226 missing whitespace around arithmetic operator +# E228 missing whitespace around modulo operator +# E231 missing whitespace after ',' +# E241 multiple spaces after ':' +# E251 unexpected spaces around keyword / parameter equals +# E261 at least two spaces before inline comment +# E262 inline comment should start with '# ' +# E265 block comment should start with '# ' +# E266 too many leading '#' for block comment +# E271 multiple spaces after keyword +# E301 expected 1 blank line, found 0 +# E302 expected 2 blank lines, found 1 +# E303 too many blank lines (N) +# E305 expected 2 blank lines after class or function definition, found 1 +# E306 expected 1 blank line before a nested definition, found 0 +# E401 multiple imports on one line +# E402 module level import not at top of file +# E501 line too long (N > 79 characters) +# E502 the backslash is redundant between brackets +# E701 multiple statements on one line (colon) +# E704 multiple statements on one line (def) +# E711 comparison to None should be 'if cond is not None:' +# E713 test for membership should be 'not in' +# E721 do not compare types, use 'isinstance()' +# E722 do not use bare 'except' +# E731 do not assign a lambda expression, use a def +# E741 ambiguous variable name 'a' +# W191 indentation contains tabs +# W291 trailing whitespace +# W293 blank line contains whitespace +# W391 blank line at end of file +# W503 line break before binary operator +# W504 line break after binary operator +# F401 'foo' imported but unused +# F841 local variable 'foo' is assigned to but never used +# +# The following rules are required for Python 3 support and so are not +# disabled +# +# W605 invalid escape sequence '\ ' +# W601 .has_key() is deprecated, use 'in' +# W602 deprecated form of raising exception +# F811 redefinition of unused 'foo' from line 79 +# +# Similarly, the following are straight up bugs that should be addressed +# immediately: +# +# E999 SyntaxError: invalid syntax +# F404 from __future__ imports must occur at the beginning of the file +# F821 undefined name 'foo' +ignore = E101,E111,E114,E115,E116,E117,E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E201,E202,E203,E211,E221,E222,E225,E226,E228,E231,E241,E251,E261,E262,E265,E266,E271,E301,E302,E303,E305,E306,E401,E402,E501,E502,E701,E704,E711,E713,E721,E722,E731,E741,W191,W291,W293,W391,W503,W504,W605,F401,F841 +exclude = .venv,.tox,dist,*egg,build +max-complexity = 35 +# Some rules are disabled for specific files (requires flake8 3.7.0) +# +# F821, disabled due to use of 'settings_overrides' +per-file-ignores = + docutils/test/functional/tests/*:F821 From 49ee6e7433de7478350e8926114576ee8d83391f Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Thu, 20 Jan 2022 04:34:23 +0000 Subject: [PATCH 2/2] http:// -> https:// --- docutils/BUGS.txt | 4 +- docutils/COPYING.txt | 12 +- docutils/FAQ.txt | 28 ++--- docutils/HISTORY.txt | 12 +- docutils/README.txt | 10 +- docutils/RELEASE-NOTES.txt | 6 +- docutils/THANKS.txt | 4 +- docutils/docs/dev/distributing.txt | 2 +- docutils/docs/dev/hacking.txt | 18 +-- docutils/docs/dev/policies.txt | 14 +-- docutils/docs/dev/release.txt | 2 +- docutils/docs/dev/repository.txt | 6 +- docutils/docs/dev/rst/alternatives.txt | 114 +++++++++--------- docutils/docs/dev/rst/problems.txt | 42 +++---- docutils/docs/dev/semantics.txt | 4 +- docutils/docs/dev/todo.txt | 76 ++++++------ docutils/docs/howto/i18n.txt | 8 +- docutils/docs/peps/pep-0256.txt | 10 +- docutils/docs/peps/pep-0257.txt | 8 +- docutils/docs/peps/pep-0258.txt | 8 +- docutils/docs/peps/pep-0287.txt | 24 ++-- docutils/docs/ref/doctree.txt | 6 +- docutils/docs/ref/rst/definitions.txt | 2 +- docutils/docs/ref/rst/directives.txt | 16 +-- docutils/docs/ref/rst/introduction.txt | 32 ++--- docutils/docs/ref/rst/mathematics.txt | 4 +- docutils/docs/ref/rst/restructuredtext.txt | 62 +++++----- docutils/docs/ref/rst/roles.txt | 8 +- docutils/docs/user/config.txt | 22 ++-- docutils/docs/user/emacs.txt | 4 +- docutils/docs/user/html.txt | 24 ++-- docutils/docs/user/images/rsp.svg | 8 +- docutils/docs/user/images/s5-files.svg | 6 +- docutils/docs/user/latex.txt | 94 +++++++-------- docutils/docs/user/links.txt | 8 +- docutils/docs/user/mailing-lists.txt | 16 +-- docutils/docs/user/odt.txt | 8 +- docutils/docs/user/rst/demo.txt | 6 +- .../rst/images/biohazard-bitmap-scaling.svg | 8 +- .../docs/user/rst/images/biohazard-bitmap.svg | 8 +- .../user/rst/images/biohazard-scaling.svg | 2 +- docutils/docs/user/rst/images/biohazard.svg | 2 +- .../docs/user/rst/images/title-scaling.svg | 2 +- docutils/docs/user/rst/images/title.svg | 2 +- docutils/docs/user/rst/quickref.html | 22 ++-- docutils/docs/user/slide-shows.txt | 2 +- docutils/docs/user/smartquotes.txt | 2 +- docutils/docs/user/tools.txt | 8 +- docutils/docutils/io.py | 2 +- docutils/docutils/nodes.py | 4 +- docutils/docutils/parsers/rst/__init__.py | 8 +- .../docutils/parsers/rst/include/isoamsa.txt | 2 +- .../docutils/parsers/rst/include/isoamsb.txt | 2 +- .../docutils/parsers/rst/include/isoamsc.txt | 2 +- .../docutils/parsers/rst/include/isoamsn.txt | 2 +- .../docutils/parsers/rst/include/isoamso.txt | 2 +- .../docutils/parsers/rst/include/isoamsr.txt | 2 +- .../docutils/parsers/rst/include/isobox.txt | 2 +- .../docutils/parsers/rst/include/isocyr1.txt | 2 +- .../docutils/parsers/rst/include/isocyr2.txt | 2 +- .../docutils/parsers/rst/include/isodia.txt | 2 +- .../docutils/parsers/rst/include/isogrk1.txt | 2 +- .../docutils/parsers/rst/include/isogrk2.txt | 2 +- .../docutils/parsers/rst/include/isogrk3.txt | 2 +- .../parsers/rst/include/isogrk4-wide.txt | 2 +- .../docutils/parsers/rst/include/isogrk4.txt | 2 +- .../docutils/parsers/rst/include/isolat1.txt | 2 +- .../docutils/parsers/rst/include/isolat2.txt | 2 +- .../parsers/rst/include/isomfrk-wide.txt | 2 +- .../docutils/parsers/rst/include/isomfrk.txt | 2 +- .../parsers/rst/include/isomopf-wide.txt | 2 +- .../docutils/parsers/rst/include/isomopf.txt | 2 +- .../parsers/rst/include/isomscr-wide.txt | 2 +- .../docutils/parsers/rst/include/isomscr.txt | 2 +- .../docutils/parsers/rst/include/isonum.txt | 2 +- .../docutils/parsers/rst/include/isopub.txt | 2 +- .../docutils/parsers/rst/include/isotech.txt | 2 +- .../docutils/parsers/rst/include/mmlalias.txt | 2 +- .../parsers/rst/include/mmlextra-wide.txt | 2 +- .../docutils/parsers/rst/include/mmlextra.txt | 2 +- .../parsers/rst/include/xhtml1-lat1.txt | 2 +- .../parsers/rst/include/xhtml1-special.txt | 2 +- .../parsers/rst/include/xhtml1-symbol.txt | 2 +- docutils/docutils/utils/__init__.py | 2 +- docutils/docutils/utils/error_reporting.py | 6 +- docutils/docutils/utils/math/latex2mathml.py | 10 +- .../docutils/utils/math/tex2mathml_extern.py | 2 +- docutils/docutils/utils/roman.py | 2 +- docutils/docutils/utils/smartquotes.py | 4 +- docutils/docutils/utils/urischemes.py | 2 +- docutils/docutils/writers/_html_base.py | 4 +- .../docutils/writers/html4css1/__init__.py | 2 +- .../writers/html5_polyglot/__init__.py | 2 +- .../docutils/writers/html5_polyglot/plain.css | 2 +- .../writers/html5_polyglot/responsive.css | 2 +- .../writers/html5_polyglot/tuftig.css | 2 +- docutils/docutils/writers/latex2e/__init__.py | 4 +- docutils/docutils/writers/odf_odt/__init__.py | 40 +++--- .../docutils/writers/pep_html/__init__.py | 4 +- docutils/docutils/writers/pep_html/pep.css | 2 +- .../docutils/writers/pep_html/template.txt | 6 +- docutils/licenses/gpl-3-0.txt | 6 +- docutils/licenses/python-2-1-1.txt | 2 +- docutils/test/DocutilsTestSupport.py | 2 +- docutils/test/data/config_1.txt | 2 +- docutils/test/data/config_old.txt | 2 +- .../functional/expected/compact_lists.html | 4 +- .../test/functional/expected/dangerous.html | 4 +- .../expected/embed_images_html5.html | 2 +- .../functional/expected/field_name_limit.html | 4 +- .../functional/expected/footnotes_html5.html | 2 +- .../functional/expected/latex_cornercases.tex | 18 +-- .../expected/latex_literal_block.tex | 8 +- .../expected/latex_literal_block_fancyvrb.tex | 8 +- .../expected/latex_literal_block_listings.tex | 8 +- .../expected/latex_literal_block_verbatim.tex | 8 +- .../latex_literal_block_verbatimtab.tex | 8 +- .../test/functional/expected/latex_memoir.tex | 20 +-- .../functional/expected/math_output_html.html | 4 +- .../expected/math_output_latex.html | 4 +- .../expected/math_output_mathjax.html | 4 +- .../expected/math_output_mathml.html | 52 ++++---- .../expected/misc_rst_html4css1.html | 4 +- .../functional/expected/misc_rst_html5.html | 2 +- .../test/functional/expected/pep_html.html | 22 ++-- .../expected/standalone_rst_docutils_xml.xml | 26 ++-- .../expected/standalone_rst_html4css1.html | 26 ++-- .../expected/standalone_rst_html5.html | 24 ++-- .../expected/standalone_rst_latex.tex | 20 +-- .../expected/standalone_rst_pseudoxml.txt | 38 +++--- .../expected/standalone_rst_s5_html_1.html | 4 +- .../expected/standalone_rst_s5_html_2.html | 4 +- .../expected/standalone_rst_xetex.tex | 24 ++-- .../input/data/comprehensive-math-test.txt | 2 +- .../test/functional/input/data/standard.txt | 12 +- docutils/test/functional/input/data/urls.txt | 18 +-- .../functional/input/latex_literal_block.txt | 4 +- docutils/test/functional/input/pep_html.txt | 2 +- .../input/standalone_rst_html4css1.txt | 2 +- .../functional/input/standalone_rst_html5.txt | 4 +- .../functional/input/standalone_rst_xetex.txt | 2 +- docutils/test/functional/tests/pep_html.py | 4 +- .../test_recommonmark/test_inline_markup.py | 14 +-- .../test_recommonmark/test_targets.py | 4 +- .../test_character_level_inline_markup.py | 18 +-- .../test_parsers/test_rst/test_comments.py | 4 +- .../test_rst/test_directives/test_include.py | 2 +- .../test_rst/test_directives/test_raw.py | 4 +- .../test_rst/test_directives/test_replace.py | 4 +- .../test_rst/test_directives/test_tables.py | 4 +- .../test_rst/test_inline_markup.py | 92 +++++++------- .../test_parsers/test_rst/test_interpreted.py | 6 +- .../test_parsers/test_rst/test_targets.py | 26 ++-- .../test_pep/test_inline_markup.py | 24 ++-- docutils/test/test_settings.py | 8 +- .../test/test_transforms/test_hyperlinks.py | 4 +- docutils/test/test_transforms/test_peps.py | 8 +- .../test/test_transforms/test_target_notes.py | 20 +-- .../test/test_writers/test_html4css1_parts.py | 24 ++-- .../test_writers/test_html4css1_template.py | 10 +- .../test_writers/test_html5_polyglot_parts.py | 24 ++-- docutils/test/test_writers/test_s5.py | 8 +- docutils/tools/dev/create_unimap.py | 4 +- .../tools/dev/generate_punctuation_chars.py | 2 +- docutils/tools/dev/unicode2rstsubs.py | 4 +- docutils/tools/editors/emacs/rst.el | 2 +- .../tools/editors/emacs/tests/ert-buffer.el | 2 +- docutils/tools/editors/emacs/tests/re.el | 2 +- 168 files changed, 856 insertions(+), 856 deletions(-) diff --git a/docutils/BUGS.txt b/docutils/BUGS.txt index 48f2cabac..bfa06981a 100644 --- a/docutils/BUGS.txt +++ b/docutils/BUGS.txt @@ -124,7 +124,7 @@ __ http://svn.collab.net/viewcvs/svn/trunk/BUGS?view=markup .. _mailing list archives: https://docutils.sourceforge.io/#mailing-lists .. _Docutils-users: docs/user/mailing-lists.html#docutils-users .. _SourceForge Bug Tracker: - http://sourceforge.net/p/docutils/bugs/ + https://sourceforge.net/p/docutils/bugs/ Known Bugs @@ -155,7 +155,7 @@ Also see the `SourceForge Bug Tracker`_. .. gmane web interface is down. TODO: find this article in the Sourceforge mail archives For details, see `this posting by Alan G. Isaac - `_. + `_. * Footnote label "5" should be "4" when processing the following input:: diff --git a/docutils/COPYING.txt b/docutils/COPYING.txt index 26d16017d..3bc6802d7 100644 --- a/docutils/COPYING.txt +++ b/docutils/COPYING.txt @@ -28,9 +28,9 @@ below (the "Work") to the public domain. The primary repository for the Work is the Internet World Wide Web site . The Work consists of the files within the "docutils" module of the Docutils project Subversion -repository (Internet host docutils.svn.sourceforge.net, filesystem path -/svnroot/docutils), whose Internet web interface is located at -. Files dedicated to the +repository (http://svn.code.sf.net/p/docutils/code/), +whose Internet web interface is located at +. Files dedicated to the public domain may be identified by the inclusion, near the beginning of each file, of a declaration of the form:: @@ -143,10 +143,10 @@ licenses_ directory. .. _sandbox: https://docutils.sourceforge.io/sandbox/README.html .. _licenses: licenses/ -.. _Python 2.1.1 license: http://www.python.org/2.1.1/license.html -.. _GNU General Public License: http://www.gnu.org/copyleft/gpl.html +.. _Python 2.1.1 license: https://www.python.org/2.1.1/license.html +.. _GNU General Public License: https://www.gnu.org/copyleft/gpl.html .. _BSD 2-Clause License: http://opensource.org/licenses/BSD-2-Clause .. _BSD 3-Clause License: https://opensource.org/licenses/BSD-3-Clause .. _OSI-approved: http://opensource.org/licenses/ .. _license-list: -.. _GPL-compatible: http://www.gnu.org/licenses/license-list.html +.. _GPL-compatible: https://www.gnu.org/licenses/license-list.html diff --git a/docutils/FAQ.txt b/docutils/FAQ.txt index 93c9b16b1..c79e7f600 100644 --- a/docutils/FAQ.txt +++ b/docutils/FAQ.txt @@ -61,13 +61,13 @@ Docutils is implemented in Python_. .. _Docutils: https://docutils.sourceforge.io/ .. _PEPs (Python Enhancement Proposals): - http://www.python.org/peps/pep-0012.html + https://www.python.org/peps/pep-0012.html .. _can be used by client code: docs/api/publisher.html .. _front-end tools: docs/user/tools.html .. _test suite: docs/dev/testing.html .. _documentation: docs/index.html -.. _PEP 258: http://www.python.org/peps/pep-0258.html -.. _Python: http://www.python.org/ +.. _PEP 258: https://www.python.org/peps/pep-0258.html +.. _Python: https://www.python.org/ Why is it called "Docutils"? @@ -99,9 +99,9 @@ or any other variation. It is pronounced as in "DOCumentation UTILitieS", with emphasis on the first syllable. .. _An Introduction to reStructuredText: docs/ref/rst/introduction.html -__ http://mail.python.org/pipermail/doc-sig/1999-December/000878.html -__ http://mail.python.org/pipermail/doc-sig/2000-November/001252.html -__ http://mail.python.org/pipermail/doc-sig/2000-November/001239.html +__ https://mail.python.org/pipermail/doc-sig/1999-December/000878.html +__ https://mail.python.org/pipermail/doc-sig/2000-November/001252.html +__ https://mail.python.org/pipermail/doc-sig/2000-November/001239.html __ http://homepage.ntlworld.com/tibsnjoan/docutils/STpy.html @@ -154,7 +154,7 @@ How can I get a new feature into Docutils? .. _extensions and related projects: docs/dev/policies.html#extensions-and-related-projects .. _feature request tracker: - http://sourceforge.net/p/docutils/feature-requests/ + https://sourceforge.net/p/docutils/feature-requests/ reStructuredText @@ -210,7 +210,7 @@ The abbreviations "reSTX" and "rSTX"/"rstx" should **not** be used; they overemphasize reStructuredText's predecessor, Zope's StructuredText. -__ http://en.wikipedia.org/wiki/Representational_State_Transfer +__ https://en.wikipedia.org/wiki/Representational_State_Transfer What's the standard filename extension for a reStructuredText file? @@ -456,7 +456,7 @@ With no implied endorsement or recommendation, and in no particular order: * `Firedrop `__ -* `PyBloxsom `__ +* `PyBloxsom `__ * `Lino WebMan `__ * `Pelican `__ (also listed `on PyPi `__) @@ -571,7 +571,7 @@ They are not recommended. Here is an |emphasized hyperlink|_. .. |emphasized hyperlink| replace:: *emphasized hyperlink* - .. _emphasized hyperlink: http://example.org + .. _emphasized hyperlink: https://example.org It is not possible for just a portion of the replacement text to be a hyperlink; it's the entire replacement text or nothing. @@ -588,7 +588,7 @@ They are not recommended. .. |stuff| raw:: html emphasized text containing a - hyperlink and + hyperlink and inline literals Raw LaTeX is supported for LaTeX output, etc. @@ -781,7 +781,7 @@ Persian/Farsi. This should allow reasonable use of editors limited to a single base direction for the whole document (like Notepad, Vim and text boxes in Firefox). -.. _Unicode Bidi Algorithm: http://www.unicode.org/reports/tr9/ +.. _Unicode Bidi Algorithm: https://www.unicode.org/reports/tr9/ .. _geresh: http://www.typo.co.il/~mooffie/geresh/ .. _translate: docs/howto/i18n.html @@ -1157,7 +1157,7 @@ Full question: + "https://www.w3.org/TR/xht ml1/DTD/xhtml1-transitional.dtd"> But this is followed by:: @@ -1268,7 +1268,7 @@ addition fits better in the `extensions and related projects`_. .. _supported Python versions: README.html#requirements .. _feature branch: docs/dev/policies.html#feature-branch .. _Git: http://git-scm.com/ -.. _bug tracker: http://sourceforge.net/p/docutils/bugs/ +.. _bug tracker: https://sourceforge.net/p/docutils/bugs/ diff --git a/docutils/HISTORY.txt b/docutils/HISTORY.txt index 9df033efa..37d5642ba 100644 --- a/docutils/HISTORY.txt +++ b/docutils/HISTORY.txt @@ -945,9 +945,9 @@ Release 0.13.1 (2016-12-09) To use, install the ``tox`` package via pip or easy_install and use tox from the project root directory. -.. _polyglot: http://www.w3.org/TR/html-polyglot/ -.. _HTML 5: http://www.w3.org/TR/html5/ -.. _XHTML 1.0: http://www.w3.org/TR/xhtml1/ +.. _polyglot: https://www.w3.org/TR/html-polyglot/ +.. _HTML 5: https://www.w3.org/TR/html5/ +.. _XHTML 1.0: https://www.w3.org/TR/xhtml1/ Release 0.12 (2014-07-06) @@ -1180,8 +1180,8 @@ Release 0.9 (2012-05-02) via ``import PIL`` as starting with PIL 1.2, "PIL lives in the PIL namespace only" (announcement__). -.. _Pygments: http://pygments.org/ -__ http://mail.python.org/pipermail/image-sig/2011-January/006650.html +.. _Pygments: https://pygments.org/ +__ https://mail.python.org/pipermail/image-sig/2011-January/006650.html * setup.py @@ -1298,7 +1298,7 @@ Release 0.8 (2011-07-07) - Some additions to the Docutils core are released under the 2-Clause BSD license, see COPYING_ for details. - .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt + .. _BCP 47: https://www.rfc-editor.org/rfc/bcp/bcp47.txt .. _COPYING: COPYING.html * reStructuredText: diff --git a/docutils/README.txt b/docutils/README.txt index a694cca9e..5664c858a 100644 --- a/docutils/README.txt +++ b/docutils/README.txt @@ -17,7 +17,7 @@ Quick-Start This is for those who want to get up & running quickly. 1. Docutils requires **Python**, available from - http://www.python.org/. + https://www.python.org/. See Dependencies_ below for details. 2. Install the latest stable release from PyPi with pip_:: @@ -62,7 +62,7 @@ Support for the following sources is planned: * And others as discovered. .. _PEPs (Python Enhancement Proposals): - http://www.python.org/peps/pep-0012.html + https://www.python.org/peps/pep-0012.html Dependencies @@ -75,7 +75,7 @@ To run the code, Python_ must be installed. * Docutils 0.16 to 0.18 require Python 2.7 or 3.5+. * Docutils 0.14 dropped Python 2.4, 2.5, 3.1 and 3.2 support. -.. _Python: http://www.python.org/. +.. _Python: https://www.python.org/. Optional Dependencies @@ -193,7 +193,7 @@ GNU/Linux, BSDs, Unix, Mac OS X, etc. required version. The last installed version will be used in the `shebang line`_ of the `front-end scripts`_. - .. _shebang line: http://en.wikipedia.org/wiki/Shebang_%28Unix%29 + .. _shebang line: https://en.wikipedia.org/wiki/Shebang_%28Unix%29 Windows ------- @@ -368,7 +368,7 @@ Windows users type these commands:: .. _Docutils Testing: https://docutils.sourceforge.io/docs/dev/testing.html .. _open a bug report: - http://sourceforge.net/p/docutils/bugs/ + https://sourceforge.net/p/docutils/bugs/ .. _send an email: mailto:docutils-users@lists.sourceforge.net ?subject=Test%20suite%20failure .. _web interface: https://sourceforge.net/p/docutils/mailman/ diff --git a/docutils/RELEASE-NOTES.txt b/docutils/RELEASE-NOTES.txt index 8ad21827a..db28cf654 100644 --- a/docutils/RELEASE-NOTES.txt +++ b/docutils/RELEASE-NOTES.txt @@ -422,7 +422,7 @@ Release 0.13.1 (2016-12-09) - New HTML writer generating `HTML 5`_. - .. _HTML 5: http://www.w3.org/TR/html5/ + .. _HTML 5: https://www.w3.org/TR/html5/ * tools/ @@ -567,7 +567,7 @@ Release 0.9 (2012-05-02) by Pygments_. - "code" option of the "include" directive. - .. _Pygments: http://pygments.org/ + .. _Pygments: https://pygments.org/ - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation characters and "international" quotes around inline markup. @@ -625,7 +625,7 @@ Release 0.8 (2011-07-07) ``math`` and ``math_block`` doctree elements. - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox. - .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt + .. _BCP 47: https://www.rfc-editor.org/rfc/bcp/bcp47.txt * reStructuredText: diff --git a/docutils/THANKS.txt b/docutils/THANKS.txt index f9b04d9f4..d1e8fca1c 100644 --- a/docutils/THANKS.txt +++ b/docutils/THANKS.txt @@ -162,8 +162,8 @@ donations, tasty treats, and related projects: Thank you! -Special thanks to `SourceForge `__ and the -`Python Software Foundation `__. +Special thanks to `SourceForge `__ and the +`Python Software Foundation `__. Hopefully I haven't forgotten anyone or misspelled any names; apologies (and please let me know!) if I have. diff --git a/docutils/docs/dev/distributing.txt b/docutils/docs/dev/distributing.txt index a42ff477a..e9801e9f5 100644 --- a/docutils/docs/dev/distributing.txt +++ b/docutils/docs/dev/distributing.txt @@ -46,7 +46,7 @@ Docutils has the following dependencies: .. _Python Imaging Library: https://en.wikipedia.org/wiki/Python_Imaging_Library .. _Pillow: https://pypi.org/project/Pillow/ -.. _Pygments: http://pygments.org/ +.. _Pygments: https://pygments.org/ .. _recommonmark: https://pypi.org/project/recommonmark/ .. _code directives: ../ref/rst/directives.html#code diff --git a/docutils/docs/dev/hacking.txt b/docutils/docs/dev/hacking.txt index 9b724a660..17f7d7106 100644 --- a/docutils/docs/dev/hacking.txt +++ b/docutils/docs/dev/hacking.txt @@ -32,7 +32,7 @@ Consider the following reStructuredText file:: My *favorite* language is Python_. - .. _Python: http://www.python.org/ + .. _Python: https://www.python.org/ Using the ``rst2html.py`` front-end tool, you would get an HTML output which looks like this:: @@ -40,7 +40,7 @@ which looks like this:: [uninteresting HTML code removed]
-

My favorite language is Python.

+

My favorite language is Python.

@@ -84,7 +84,7 @@ might need to type ``python quicktest.py test.txt``):: Python . - + Let us now examine the node tree: @@ -106,7 +106,7 @@ Transforming the Document ------------------------- In the node tree above, the ``reference`` node does not contain the -target URI (``http://www.python.org/``) yet. +target URI (``https://www.python.org/``) yet. Assigning the target URI (from the ``target`` node) to the ``reference`` node is *not* done by the parser (the parser only @@ -133,10 +133,10 @@ has changed after applying the Transforms, we use the favorite language is - + Python . - + For our small test document, the only change is that the ``refname`` attribute of the reference has been replaced by a ``refuri`` @@ -160,8 +160,8 @@ For HTML output, we can test this using the ``rst2html.py`` tool:: $ rst2html.py --link-stylesheet test.txt - - + + @@ -170,7 +170,7 @@ For HTML output, we can test this using the ``rst2html.py`` tool::
-

My favorite language is Python.

+

My favorite language is Python.

diff --git a/docutils/docs/dev/policies.txt b/docutils/docs/dev/policies.txt index cbea8c491..4d59076b0 100644 --- a/docutils/docs/dev/policies.txt +++ b/docutils/docs/dev/policies.txt @@ -98,8 +98,8 @@ Conventions`_ PEPs, summarized, clarified, and extended as follows: quotes""" for docstrings. .. _Style Guide for Python Code: - http://www.python.org/peps/pep-0008.html -.. _Docstring Conventions: http://www.python.org/peps/pep-0257.html + https://www.python.org/peps/pep-0008.html +.. _Docstring Conventions: https://www.python.org/peps/pep-0257.html .. _Docutils Internationalization: ../howto/i18n.html#python-code @@ -230,7 +230,7 @@ discussed on the `docutils-develop mailing list`_ and reviewed before being merged into the core. .. _docutils-develop mailing list: - http://lists.sourceforge.net/lists/listinfo/docutils-develop + https://lists.sourceforge.net/lists/listinfo/docutils-develop Review Criteria @@ -534,15 +534,15 @@ snapshot" button in the head of the code listing table). TODO: do we have active maintenance branches? (the only branch looking like a maintenance branch is - http://sourceforge.net/p/docutils/code/HEAD/tree/branches/docutils-0.4) + https://sourceforge.net/p/docutils/code/HEAD/tree/branches/docutils-0.4) * `development branches`_, representing ongoing development efforts to bring new features into Docutils. .. _Docutils core: - http://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils + https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils .. _development branches: - http://sourceforge.net/p/docutils/code/HEAD/tree/branches/ + https://sourceforge.net/p/docutils/code/HEAD/tree/branches/ Setting Up For Docutils Development @@ -626,7 +626,7 @@ Docutils, may graduate to become `parallel projects`_. .. _sandbox README: https://docutils.sourceforge.io/sandbox/README.html .. _sandbox directory: - http://sourceforge.net/p/docutils/code/HEAD/tree/trunk/sandbox/ + https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/sandbox/ .. _parallel project: diff --git a/docutils/docs/dev/release.txt b/docutils/docs/dev/release.txt index 1a1ed4eb4..4d07186b9 100644 --- a/docutils/docs/dev/release.txt +++ b/docutils/docs/dev/release.txt @@ -8,7 +8,7 @@ :Revision: $Revision$ :Copyright: This document has been placed in the public domain. -.. _Docutils: http://docutils.sourceforge.io/ +.. _Docutils: https://docutils.sourceforge.io/ Releasing (post 2020) --------------------- diff --git a/docutils/docs/dev/repository.txt b/docutils/docs/dev/repository.txt index fbe89f781..f1c500276 100644 --- a/docutils/docs/dev/repository.txt +++ b/docutils/docs/dev/repository.txt @@ -45,7 +45,7 @@ __ policies.html#subversion-repository .. _SVN: .. _Subversion: https://subversion.apache.org/ .. _TortoiseSVN: https://tortoisesvn.net/ -.. _SourceForge.net: http://sourceforge.net/ +.. _SourceForge.net: https://sourceforge.net/ .. _Git: http://git-scm.com/ .. contents:: @@ -58,7 +58,7 @@ Web Access ---------- The repository can be browsed and examined via the web at -http://sourceforge.net/p/docutils/code. +https://sourceforge.net/p/docutils/code. Alternatively, use the web interface at http://repo.or.cz/docutils.git. [#github-mirrors]_ @@ -237,7 +237,7 @@ changes to the repository.) Sourceforge SVN access is documented `here`__ -__ http://sourceforge.net/p/forge/documentation/svn/ +__ https://sourceforge.net/p/forge/documentation/svn/ Ensure any changes comply with the `Docutils Project Policies`_ diff --git a/docutils/docs/dev/rst/alternatives.txt b/docutils/docs/dev/rst/alternatives.txt index 885438a41..7b387c3a4 100644 --- a/docutils/docs/dev/rst/alternatives.txt +++ b/docutils/docs/dev/rst/alternatives.txt @@ -32,7 +32,7 @@ The ideas are divided into sections: .. _Setext: https://docutils.sourceforge.io/mirror/setext.html .. _StructuredText: - http://www.zope.org/DevHome/Members/jim/StructuredTextWiki/FrontPage + https://www.zope.org/DevHome/Members/jim/StructuredTextWiki/FrontPage .. _Problems with StructuredText: problems.html .. _reStructuredText Markup Specification: ../../ref/rst/restructuredtext.html @@ -155,7 +155,7 @@ implement the bibliographic elements explicitly. For example, there would be no need for such a transformation for an XML-based markup syntax. -.. _RFC822: http://www.rfc-editor.org/rfc/rfc822.txt +.. _RFC822: https://www.rfc-editor.org/rfc/rfc822.txt Interpreted Text "Roles" @@ -287,21 +287,21 @@ Alan Jaffray came up with this idea, along with the following syntax:: Search the `Python DOC-SIG mailing list archives`{}_. - .. _: http://mail.python.org/pipermail/doc-sig/ + .. _: https://mail.python.org/pipermail/doc-sig/ The idea is sound and useful. I suggested a "double underscore" syntax:: Search the `Python DOC-SIG mailing list archives`__. - .. __: http://mail.python.org/pipermail/doc-sig/ + .. __: https://mail.python.org/pipermail/doc-sig/ But perhaps single underscores are okay? The syntax looks better, but the hyperlink itself doesn't explicitly say "anonymous":: Search the `Python DOC-SIG mailing list archives`_. - .. _: http://mail.python.org/pipermail/doc-sig/ + .. _: https://mail.python.org/pipermail/doc-sig/ Mixing anonymous and named hyperlinks becomes confusing. The order of targets is not significant for named hyperlinks, but it is for @@ -696,7 +696,7 @@ Syntax alternatives for the definition: I had lunch with Jonathan_ today. We talked about Zope_. .. _Jonathan: lj [user=jhl] - .. _Zope: http://www.zope.org/ + .. _Zope: https://www.zope.org/ A problem with the proposed syntax is that URIs which look like simple reference names (alphanum plus ".", "-", "_") would be @@ -706,7 +706,7 @@ Syntax alternatives for the definition: I had lunch with Jonathan_ today. We talked about Zope_. .. _Jonathan: lj:: user=jhl - .. _Zope: http://www.zope.org/ + .. _Zope: https://www.zope.org/ (``::`` after ``.. _Jonathan: lj``.) @@ -748,7 +748,7 @@ allows us to click on an image-link:: .. |biohazard| image:: biohazard.png [height=20 width=20] - .. _biohazard: http://www.cdc.gov/ + .. _biohazard: https://www.cdc.gov/ There have been several suggestions for the naming of these constructs, originally called "substitution references" and @@ -829,9 +829,9 @@ Currently reStructuredText has two hyperlink syntax variations: a `phrase reference`_. Phrase references may even cross `line boundaries`_. - .. _reference: http://www.example.org/reference/ - .. _phrase reference: http://www.example.org/phrase_reference/ - .. _line boundaries: http://www.example.org/line_boundaries/ + .. _reference: https://www.example.org/reference/ + .. _phrase reference: https://www.example.org/phrase_reference/ + .. _line boundaries: https://www.example.org/line_boundaries/ + Advantages: @@ -853,9 +853,9 @@ Currently reStructuredText has two hyperlink syntax variations: `phrase reference`__. Phrase references may even cross `line boundaries`__. - __ http://www.example.org/reference/ - __ http://www.example.org/phrase_reference/ - __ http://www.example.org/line_boundaries/ + __ https://www.example.org/reference/ + __ https://www.example.org/phrase_reference/ + __ https://www.example.org/line_boundaries/ + Advantages: @@ -873,15 +873,15 @@ syntaxes for hyperlinks: * First, ``"reference text":URL``:: - This is a "reference":http://www.example.org/reference/ + This is a "reference":https://www.example.org/reference/ of one word ("reference"). Here is a "phrase - reference":http://www.example.org/phrase_reference/. + reference":https://www.example.org/phrase_reference/. -* Second, ``"reference text", http://example.com/absolute_URL``:: +* Second, ``"reference text", https://example.com/absolute_URL``:: - This is a "reference", http://www.example.org/reference/ + This is a "reference", https://www.example.org/reference/ of one word ("reference"). Here is a "phrase reference", - http://www.example.org/phrase_reference/. + https://www.example.org/phrase_reference/. Both syntaxes share advantages and disadvantages: @@ -905,14 +905,14 @@ A new type of "inline external hyperlink" has been proposed. 1. On 2002-06-28, Simon Budig proposed__ a new syntax for reStructuredText hyperlinks:: - This is a reference_(http://www.example.org/reference/) of one + This is a reference_(https://www.example.org/reference/) of one word ("reference"). Here is a `phrase - reference`_(http://www.example.org/phrase_reference/). Are + reference`_(https://www.example.org/phrase_reference/). Are these examples, (single-underscore), named? If so, `anonymous - references`__(http://www.example.org/anonymous/) using two + references`__(https://www.example.org/anonymous/) using two underscores would probably be preferable. - __ http://mail.python.org/pipermail/doc-sig/2002-June/002648.html + __ https://mail.python.org/pipermail/doc-sig/2002-June/002648.html The syntax, advantages, and disadvantages are similar to those of StructuredText. @@ -953,13 +953,13 @@ A new type of "inline external hyperlink" has been proposed. following compromise syntax:: This is an anonymous reference__ - __ of one word + __ of one word ("reference"). Here is a `phrase reference`__ - __. `Named - references`_ _ use single + __. `Named + references`_ _ use single underscores. - __ http://mail.python.org/pipermail/doc-sig/2002-July/002670.html + __ https://mail.python.org/pipermail/doc-sig/2002-July/002670.html The syntax builds on that of the existing "inline internal targets": ``an _`inline internal target`.`` @@ -989,8 +989,8 @@ A new type of "inline external hyperlink" has been proposed. target to appear later, such as after the end of the sentence:: This is a named reference__ of one word ("reference"). - __ Here is a `phrase - reference`__. __ + __ Here is a `phrase + reference`__. __ Problem: this could only work for one reference at a time (reference/target pairs must be proximate [refA trgA refB trgB], @@ -1030,9 +1030,9 @@ A new type of "inline external hyperlink" has been proposed. Here's an alternative syntax embedding the target URL in the reference:: - This is an anonymous `reference `__ of one word ("reference"). Here is a `phrase - reference `__. + reference `__. Advantages and disadvantages are similar to those in (2). Readability is still an issue, but the syntax is a bit less @@ -1045,7 +1045,7 @@ A new type of "inline external hyperlink" has been proposed. Problem: how to refer to a title like "HTML Anchors: " (which ends with an HTML/SGML/XML tag)? We could either require more syntax on the target (like ``"`reference text - __`__"``), or require the odd conflicting + __`__"``), or require the odd conflicting title to be escaped (like ``"`HTML Anchors: \`__"``). The latter seems preferable, and not too onerous. @@ -1058,17 +1058,17 @@ A new type of "inline external hyperlink" has been proposed. Other syntax variations have been proposed (by Brett Cannon and Benja Fallenstein):: - `phrase reference`->http://www.example.com + `phrase reference`->https://www.example.com - `phrase reference`@http://www.example.com + `phrase reference`@https://www.example.com - `phrase reference`__ ->http://www.example.com + `phrase reference`__ ->https://www.example.com - `phrase reference` [-> http://www.example.com] + `phrase reference` [-> https://www.example.com] - `phrase reference`__ [-> http://www.example.com] + `phrase reference`__ [-> https://www.example.com] - `phrase reference` _ + `phrase reference` _ None of these variations are clearly superior to #3 above. Some have problems that exclude their use. @@ -1239,7 +1239,7 @@ There are several possibilities for the implementation: Solution 3 was chosen for incorporation into the document tree model. -.. _HTML: http://www.w3.org/MarkUp/ +.. _HTML: https://www.w3.org/MarkUp/ Syntax for Line Blocks @@ -1288,7 +1288,7 @@ Syntax for Line Blocks | President, SuperDuper Corp. | jdoe@example.org - __ http://thread.gmane.org/gmane.text.docutils.devel/1187 + __ https://thread.gmane.org/gmane.text.docutils.devel/1187 This syntax is very natural. However, these "plain lists" seem very similar to line blocks, and I see so little intrinsic "list-ness" @@ -1807,7 +1807,7 @@ ugly or confusing (depending on which alternative is chosen). auto-numbered lists be limited to begin with ordinal-1 ("1", "A", "a", "I", or "i")? - __ http://sourceforge.net/tracker/index.php?func=detail&aid=548802 + __ https://sourceforge.net/tracker/index.php?func=detail&aid=548802 &group_id=38414&atid=422032 4. Alternative proposed by Tony Ibbs:: @@ -1886,7 +1886,7 @@ b) full backwards compatibility .. _Inline markup recognition rules: ../../ref/rst/restructuredtext.html#inline-markup-recognition-rules .. _Unicode categories: - http://www.unicode.org/Public/5.1.0/ucd/UCD.html#General_Category_Values + https://www.unicode.org/Public/5.1.0/ucd/UCD.html#General_Category_Values ----------------- @@ -2006,12 +2006,12 @@ Syntax proposals: - Current syntax (footnote syntax):: .. [GVR2001] Python Documentation; van Rossum, Drake, et al.; - http://www.python.org/doc/ + https://www.python.org/doc/ - Possible new syntax:: _[GVR2001] Python Documentation; van Rossum, Drake, et al.; - http://www.python.org/doc/ + https://www.python.org/doc/ _[DJG2002] Docutils: Python Documentation Utilities project; Goodger @@ -2022,7 +2022,7 @@ Syntax proposals: alignment (I'd rather not):: _[GVR2001] Python Documentation; van Rossum, Drake, et al.; - http://www.python.org/doc/ + https://www.python.org/doc/ I proposed adopting the "minimal" syntax for footnotes and footnote references, and adding citations and citation references to @@ -2209,7 +2209,7 @@ in RST markup`__. Several arguments were made; the first argument begat later arguments. Below, the arguments are paraphrased "in quotes", with responses. -__ http://thread.gmane.org/gmane.text.docutils.devel/1386 +__ https://thread.gmane.org/gmane.text.docutils.devel/1386 1. References and targets take this form:: @@ -2407,9 +2407,9 @@ mailing list messages should be referred to for details. inside what must be well thought out first though. .. _Ed Loper's 2001-03-21 post: - http://mail.python.org/pipermail/doc-sig/2001-March/001487.html + https://mail.python.org/pipermail/doc-sig/2001-March/001487.html - -- http://mail.python.org/pipermail/doc-sig/2001-October/002354.html + -- https://mail.python.org/pipermail/doc-sig/2001-October/002354.html * In a 2001-11-09 Doc-SIG post, I wrote: @@ -2426,7 +2426,7 @@ mailing list messages should be referred to for details. markup. The first algorithm ("first identify the outer inline markup as we do now, then recursively scan for nested inline markup") won't work; counterexamples were given in my `last post - `__. + `__. The second algorithm makes my head hurt:: @@ -2457,7 +2457,7 @@ mailing list messages should be referred to for details. at least not now. If somebody codes up a consistent, working, general solution, I'll be happy to consider it. - -- http://mail.python.org/pipermail/doc-sig/2001-November/002388.html + -- https://mail.python.org/pipermail/doc-sig/2001-November/002388.html * In a `2003-05-06 Docutils-Users post`__ Paul Tremblay proposed a new syntax to allow for easier nesting. It eventually evolved into @@ -2468,7 +2468,7 @@ mailing list messages should be referred to for details. The duplication with the existing interpreted text syntax is problematic though. - __ http://article.gmane.org/gmane.text.docutils.user/317 + __ https://article.gmane.org/gmane.text.docutils.user/317 * Could the parser be extended to parse nested interpreted text? :: @@ -2481,7 +2481,7 @@ mailing list messages should be referred to for details. ideas. The implementation was flawed, however, by the change in semantics required for backslash escapes. - __ http://article.gmane.org/gmane.text.docutils.devel/795 + __ https://article.gmane.org/gmane.text.docutils.devel/795 * Docutils-develop threads between David Abrahams, David Goodger, and Mark Nodine (beginning 2004-01-16__ and 2004-01-19__) hashed out @@ -2489,8 +2489,8 @@ mailing list messages should be referred to for details. described below. David Abrahams checked in code to the "nesting" branch of CVS, awaiting thorough review. - __ http://thread.gmane.org/gmane.text.docutils.devel/1102 - __ http://thread.gmane.org/gmane.text.docutils.devel/1125 + __ https://thread.gmane.org/gmane.text.docutils.devel/1102 + __ https://thread.gmane.org/gmane.text.docutils.devel/1125 It may be possible to accomplish nested inline markup in general with a more powerful inline markup parser. There may be some issues, but @@ -2704,9 +2704,9 @@ See the `Doc-SIG discussion starting 2001-04-18`__ with Ed Loper's follow-ups, here__ and here__). Also `docutils-users, 2003-02-17`__ and `beginning 2003-08-04`__. -__ http://mail.python.org/pipermail/doc-sig/2001-April/001776.html -__ http://mail.python.org/pipermail/doc-sig/2001-April/001789.html -__ http://mail.python.org/pipermail/doc-sig/2001-April/001793.html +__ https://mail.python.org/pipermail/doc-sig/2001-April/001776.html +__ https://mail.python.org/pipermail/doc-sig/2001-April/001789.html +__ https://mail.python.org/pipermail/doc-sig/2001-April/001793.html __ https://sourceforge.net/mailarchive/message.php?msg_id=3838913 __ https://sf.net/mailarchive/forum.php?thread_id=2957175&forum_id=11444 diff --git a/docutils/docs/dev/rst/problems.txt b/docutils/docs/dev/rst/problems.txt index d6397dfa0..a02af06e4 100644 --- a/docutils/docs/dev/rst/problems.txt +++ b/docutils/docs/dev/rst/problems.txt @@ -115,7 +115,7 @@ there is no such mechanism (although ZWiki uses '!'). What are the candidates? 1. ``!`` - (http://www.zope.org/DevHome/Members/jim/StructuredTextWiki/NGEscaping) + (https://www.zope.org/DevHome/Members/jim/StructuredTextWiki/NGEscaping) 2. ``\`` 3. ``~`` 4. doubling of characters @@ -599,7 +599,7 @@ __ alternatives.html Alternative choices are carets (#10) and TeX-style quotes (#11). For examples of TeX-style quoting, see -http://www.zope.org/Members/jim/StructuredTextWiki/CustomizingTheDocumentProcessor. +https://www.zope.org/Members/jim/StructuredTextWiki/CustomizingTheDocumentProcessor. Some existing uses of backquotes: @@ -649,7 +649,7 @@ There are three forms of hyperlink currently in StructuredText_: followed by a colon, a URI, and concluded by punctuation plus white space, or just white space, is treated as a hyperlink:: - "Python":http://www.python.org/ + "Python":https://www.python.org/ 2. (Absolute URIs only.) Text enclosed by double quotes followed by a comma, one or more spaces, an absolute URI and concluded by @@ -666,7 +666,7 @@ There are three forms of hyperlink currently in StructuredText_: Please refer to the fine manual [GVR2001]. .. [GVR2001] Python Documentation, Release 2.1, van Rossum, - Drake, et al., http://www.python.org/doc/ + Drake, et al., https://www.python.org/doc/ The problem with forms 1 and 2 is that they are neither intuitive nor unobtrusive (they break design goals 5 & 2). They overload @@ -683,7 +683,7 @@ Alternatives: address) after an alphanumeric word. To de-emphasize the URI, simply enclose it in parentheses: - Python (http://www.python.org/) + Python (https://www.python.org/) B. Leave special hyperlink markup as a domain-specific extension. Hyperlinks in ordinary reStructuredText documents would be @@ -742,7 +742,7 @@ and Python lists:: Please refer to the fine manual [GVR2000]_. .. [GVR2000] Python Documentation, van Rossum, Drake, et al., - http://www.python.org/doc/ + https://www.python.org/doc/ The two-dots-and-a-space syntax was generalized by Setext for comments, which are removed from the (visible) processed output. @@ -798,25 +798,25 @@ styles, and the reStructuredText hypertext style. Each example contains an indirect link, a direct link, a footnote/endnote, and bracketed text. In HTML, each example should evaluate to:: -

A URI, see +

A URI, see [eggs2000] (in Bacon [Publisher]). Also see - http://eggs.org.

+ https://eggs.org.

[eggs2000] "Spam, Spam, Spam, Eggs, Bacon, and Spam"

1. No markup:: - A URI http://spam.org, see eggs2000 (in Bacon [Publisher]). - Also see http://eggs.org. + A URI https://spam.org, see eggs2000 (in Bacon [Publisher]). + Also see https://eggs.org. eggs2000 "Spam, Spam, Spam, Eggs, Bacon, and Spam" 2. StructuredText absolute/relative URI syntax - ("text":http://www.url.org):: + ("text":https://www.url.org):: - A "URI":http://spam.org, see [eggs2000] (in Bacon [Publisher]). - Also see "http://eggs.org":http://eggs.org. + A "URI":https://spam.org, see [eggs2000] (in Bacon [Publisher]). + Also see "https://eggs.org":https://eggs.org. .. [eggs2000] "Spam, Spam, Spam, Eggs, Bacon, and Spam" @@ -827,17 +827,17 @@ bracketed text. In HTML, each example should evaluate to:: 3. StructuredText absolute-only URI syntax ("text", mailto:you@your.com):: - A "URI", http://spam.org, see [eggs2000] (in Bacon - [Publisher]). Also see "http://eggs.org", http://eggs.org. + A "URI", https://spam.org, see [eggs2000] (in Bacon + [Publisher]). Also see "https://eggs.org", https://eggs.org. .. [eggs2000] "Spam, Spam, Spam, Eggs, Bacon, and Spam" 4. reStructuredText syntax:: 4. A URI_, see [eggs2000]_ (in Bacon [Publisher]). - Also see http://eggs.org. + Also see https://eggs.org. - .. _URI: http:/spam.org + .. _URI: https:/spam.org .. [eggs2000] "Spam, Spam, Spam, Eggs, Bacon, and Spam" The bracketed text '[Publisher]' may be problematic with @@ -848,14 +848,14 @@ text is separated from the link URI and the footnote, resulting in cleanly readable text. .. _StructuredText: - http://www.zope.org/DevHome/Members/jim/StructuredTextWiki/FrontPage + https://www.zope.org/DevHome/Members/jim/StructuredTextWiki/FrontPage .. _Setext: https://docutils.sourceforge.io/mirror/setext.html .. _reStructuredText: https://docutils.sourceforge.io/rst.html .. _detailed description: - http://homepage.ntlworld.com/tibsnjoan/docutils/STNG-format.html -.. _STMinus: http://www.cis.upenn.edu/~edloper/pydoc/stminus.html + https://www.tibsnjoan.co.uk/docutils/STNG-format.html +.. _STMinus: https://web.archive.org/web/20060426045747/http://www.cis.upenn.edu:80/~edloper/pydoc/stminus.html .. _StructuredTextNG: - http://www.zope.org/DevHome/Members/jim/StructuredTextWiki/StructuredTextNG + https://www.zope.org/DevHome/Members/jim/StructuredTextWiki/StructuredTextNG .. _README: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/ python/python/dist/src/README .. _Emacs table mode: http://table.sourceforge.net/ diff --git a/docutils/docs/dev/semantics.txt b/docutils/docs/dev/semantics.txt index f56fccebf..ccc40d11e 100644 --- a/docutils/docs/dev/semantics.txt +++ b/docutils/docs/dev/semantics.txt @@ -101,13 +101,13 @@ Other Ideas an attachment to his Doc-SIG post of 2001-05-30. -.. _PEP 257: http://www.python.org/peps/pep-0257.html +.. _PEP 257: https://www.python.org/peps/pep-0257.html .. _JavaDoc: http://java.sun.com/j2se/javadoc/ .. _pythondoc: http://starship.python.net/crew/danilo/pythondoc/ .. _Grouch: http://www.mems-exchange.org/software/grouch/ .. _epydoc: http://epydoc.sourceforge.net/ .. _iPhrase Python documentation conventions: - http://mail.python.org/pipermail/doc-sig/2001-May/001840.html + https://mail.python.org/pipermail/doc-sig/2001-May/001840.html .. diff --git a/docutils/docs/dev/todo.txt b/docutils/docs/dev/todo.txt index 9966b4af3..13b1ae4a9 100644 --- a/docutils/docs/dev/todo.txt +++ b/docutils/docs/dev/todo.txt @@ -24,7 +24,7 @@ see done but are unable to implement it yourself, please consider donating to Docutils: |donate| .. |donate| image:: http://images.sourceforge.net/images/project-support.jpg - :target: http://sourceforge.net/donate/index.php?group_id=38414 + :target: https://sourceforge.net/donate/index.php?group_id=38414 :align: middle :width: 88 :height: 32 @@ -143,7 +143,7 @@ Code cleanup and modernization: +1 Allows to configure command-line encoding in a config file, -1 More complicated. - Cf. . + Cf. . * Improve handling on Windows: @@ -386,7 +386,7 @@ Code cleanup and modernization: can either be embedded or referenced) and the destination (which can either be embedded or referenced as well). - See . + See . * Add testing for Docutils' front end tools? @@ -476,7 +476,7 @@ Code cleanup and modernization: "rest checking and source path"`_ thread. .. _2004-02-18 "rest checking and source path": - http://thread.gmane.org/gmane.text.docutils.user/1112 + https://thread.gmane.org/gmane.text.docutils.user/1112 * Add a "disable_transforms" setting? Would allow for easy syntax checking. Where ("null" writer, generic, parser(s), docutils-cli.py)? @@ -687,7 +687,7 @@ User Docs * Add a FAQ entry about using Docutils (with reStructuredText) on a server and that it's terribly slow. See the first paragraphs in - . + . * Add document about what Docutils has previously been used for (web/use-cases.txt?). @@ -910,21 +910,21 @@ Misc * Treat enumerated lists that are not arabic and consist of only one item in a single line as ordinary paragraphs. See - . + . * The citation syntax could use some improvements. See - (and the + (and the sub-thread at - , + , and the follow-ups at - , - , - ), - , - , - , - , - . + , + , + ), + , + , + , + , + . * The current list-recognition logic has too many false positives, as in :: @@ -937,7 +937,7 @@ Misc confusion. We need to find a solution that resolves such problems without complicating the spec to much. - See . + See . * Add indirect links via citation references & footnote references. Example:: @@ -947,12 +947,12 @@ Misc .. _Goodger (2005): [goodger2005]_ .. [goodger2005] citation text - See . + See . * Complain about bad URI characters - (http://article.gmane.org/gmane.text.docutils.user/2046) and + (https://article.gmane.org/gmane.text.docutils.user/2046) and disallow internal whitespace - (http://article.gmane.org/gmane.text.docutils.user/2214). + (https://article.gmane.org/gmane.text.docutils.user/2214). * Create ``info``-level system messages for unnecessarily backslash-escaped characters (as in ``"\something"``, rendered as @@ -971,7 +971,7 @@ Misc * Support generic hyperlink references to _`targets in other documents`? Not in an HTML-centric way, though (it's trivial to say - ``http://www.example.com/doc#name``, and useless in non-HTML + ``https://www.example.com/doc#name``, and useless in non-HTML contexts). XLink/XPointer? ``.. baseref::``? See Doc-SIG 2001-08-10. @@ -1025,7 +1025,7 @@ Misc Appendix E ("Recommendations for Delimiting URI in Context") of `RFC 2396`_. - .. _RFC 2396: http://www.rfc-editor.org/rfc/rfc2396.txt + .. _RFC 2396: https://www.rfc-editor.org/rfc/rfc2396.txt * Use the vertical spacing of the source text to determine the corresponding vertical spacing of the output? @@ -1156,7 +1156,7 @@ Misc grid tables inside XML comments. .. _feature request [6]: - http://sourceforge.net/p/docutils/feature-requests/6 + https://sourceforge.net/p/docutils/feature-requests/6 .. _list-table: ../ref/rst/directives.html#list-table @@ -1428,7 +1428,7 @@ MathML_ For an overview of MathML implementations and tests, see, e.g., the `mathweb wiki`_ or the `ConTeXT MathML page`_. - .. _MathML: http://www.w3.org/TR/MathML2/ + .. _MathML: https://www.w3.org/TR/MathML2/ .. _mathweb wiki: http://www.mathweb.org/wiki/MathML .. _ConTeXT MathML page: http://wiki.contextgarden.net/MathML @@ -1462,7 +1462,7 @@ ASCIIMath_ .. _ASCIIMath tutorial: http://www.wjagray.co.uk/maths/ASCIIMathTutorial.html .. _ASCIIMathML: http://pypi.python.org/pypi/asciimathml/ - .. _ASCIIMathPython: http://sourceforge.net/projects/asciimathpython/ + .. _ASCIIMathPython: https://sourceforge.net/projects/asciimathpython/ __ http://fletcherpenney.net/multimarkdown/ `Unicode Nearly Plain Text Encoding of Mathematics`_ @@ -1474,11 +1474,11 @@ ASCIIMath_ the Unicode Consortium.) .. _Unicode Nearly Plain Text Encoding of Mathematics: - http://www.unicode.org/notes/tn28/ + https://www.unicode.org/notes/tn28/ itex See `the culmination of a relevant discussion in 2003 - `__. + `__. @@ -1539,7 +1539,7 @@ MathML_ * the Unicode-Char <-> LaTeX mappings database unimathsymbols_ __ http://msevior.livejournal.com/26377.html - .. _MathML: http://www.w3.org/TR/MathML2/ + .. _MathML: https://www.w3.org/TR/MathML2/ .. _ttm: http://hutchinson.belmont.ma.us/tth/mml/ .. _TeX4ht: http://www.tug.org/applications/tex4ht/mn.html .. _MathToWeb: http://www.mathtoweb.com/ @@ -1626,12 +1626,12 @@ directive function. The "module." is not part of the directive name when used in a document. * Allow for field lists in list tables. See - . + . * .. _unify tables: Unify table implementations and unify options of table directives - (http://article.gmane.org/gmane.text.docutils.user/1857). + (https://article.gmane.org/gmane.text.docutils.user/1857). * Allow directives to be added at run-time? @@ -1698,7 +1698,7 @@ when used in a document. - _`misc.class`: - Add a ``:parent:`` option for setting the parent's class - (http://article.gmane.org/gmane.text.docutils.devel/3165). + (https://article.gmane.org/gmane.text.docutils.devel/3165). - _`misc.include`: @@ -1712,7 +1712,7 @@ when used in a document. - Add support for inclusion by URL? :: .. include:: - :url: http://www.example.org/inclusion.txt + :url: https://www.example.org/inclusion.txt - Strip blank lines from begin and end of a literal included file or file section. This would correspond to the way a literal block is @@ -1770,7 +1770,7 @@ when used in a document. "language by class attribute" does not change parsing (localized directives etc.), only supporting writers. - .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt + .. _BCP 47: https://www.rfc-editor.org/rfc/bcp/bcp47.txt - _`misc.settings`: Set any(?) Docutils runtime setting from within @@ -1782,7 +1782,7 @@ when used in a document. the directive (like ``tab-width``) shouldn't be accessible either. See this sub-thread: - + - _`misc.gather`: Gather (move, or copy) all instances of a specific element. A generalization of the `Footnote & Citation Gathering`_ @@ -2446,7 +2446,7 @@ Test and consider moving the better one into the docutils core. __ ../user/links.html#ePub .. _International Digital Publishing Forum: http://www.idpf.org/ .. _electronic reading devices: - http://en.wikipedia.org/wiki/List_of_e-book_readers + https://en.wikipedia.org/wiki/List_of_e-book_readers LaTeX writer @@ -2780,7 +2780,7 @@ but need to find a way to insert it as href argument. The following fails:: - \href{http://www.w3.org/XML/Schema^^dev}{\fragileURLi} + \href{https://www.w3.org/XML/Schema^^dev}{\fragileURLi} Use %-replacement like http://nowhere/url_with%28parens%29 ? @@ -2790,7 +2790,7 @@ Use %-replacement like http://nowhere/url_with%28parens%29 ? add-stylesheet option ````````````````````` -From http://article.gmane.org/gmane.text.docutils.devel/3429/ +From https://article.gmane.org/gmane.text.docutils.devel/3429/ The problem is that since we have a default value, we have to differentiate between adding another stylesheet and replacing the @@ -2814,7 +2814,7 @@ This run will use the default stylesheet, a custom local stylesheet, and an external stylesheet: rstpep2html.py --add-stylesheet-path custom.css \ - --add-stylesheet http://www.example.org/external.css ... + --add-stylesheet https://www.example.org/external.css ... This run will use only the second custom stylesheet: diff --git a/docutils/docs/howto/i18n.txt b/docutils/docs/howto/i18n.txt index 6027b61f8..85f99c95f 100644 --- a/docutils/docs/howto/i18n.txt +++ b/docutils/docs/howto/i18n.txt @@ -35,7 +35,7 @@ support via a module in the PYTHONPATH root (e.g. the working directory). .. [#] If anything in Docutils is insufficiently parameterized, it should be considered a bug. Please report bugs to the Docutils project bug tracker on SourceForge at - http://sourceforge.net/p/docutils/bugs/ + https://sourceforge.net/p/docutils/bugs/ .. _Docutils: https://docutils.sourceforge.io/ .. _Introduction to i18n: @@ -65,8 +65,8 @@ is "en" for English. Examples of module names include ``en.py``, .. [#] Subtags are separated from primary tags by underscores instead of hyphens, to conform to Python naming rules. -.. _language tags: http://www.w3.org/International/articles/language-tags/ -.. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt +.. _language tags: https://www.w3.org/International/articles/language-tags/ +.. _BCP 47: https://www.rfc-editor.org/rfc/bcp/bcp47.txt .. _ISO 639: http://www.loc.gov/standards/iso639-2/php/English_list.php .. _ISO 3166: http://www.iso.ch/iso/en/prods-services/iso3166ma/ 02iso-3166-code-lists/index.html @@ -175,4 +175,4 @@ If you do not have repository write access and want to contribute your language modules, feel free to submit them via the `SourceForge patch tracker`__. -__ http://sourceforge.net/p/docutils/patches/ +__ https://sourceforge.net/p/docutils/patches/ diff --git a/docutils/docs/peps/pep-0256.txt b/docutils/docs/peps/pep-0256.txt index cc5a54c44..98d37a99d 100644 --- a/docutils/docs/peps/pep-0256.txt +++ b/docutils/docs/peps/pep-0256.txt @@ -242,13 +242,13 @@ References and Footnotes ======================== .. [#PEP-287] PEP 287, reStructuredText Docstring Format, Goodger - (http://www.python.org/peps/pep-0287.html) + (https://www.python.org/peps/pep-0287.html) .. [#PEP-257] PEP 257, Docstring Conventions, Goodger, Van Rossum - (http://www.python.org/peps/pep-0257.html) + (https://www.python.org/peps/pep-0257.html) .. [#PEP-258] PEP 258, Docutils Design Specification, Goodger - (http://www.python.org/peps/pep-0258.html) + (https://www.python.org/peps/pep-0258.html) .. _Literate Programming: http://www.literateprogramming.com/ @@ -269,7 +269,7 @@ References and Footnotes .. _HappyDoc: http://happydoc.sourceforge.net/ -.. _pydoc: http://www.python.org/doc/current/lib/module-pydoc.html +.. _pydoc: https://www.python.org/doc/current/lib/module-pydoc.html .. _docutils: http://www.tibsnjoan.co.uk/docutils.html @@ -277,7 +277,7 @@ References and Footnotes .. _STMinus: http://www.cis.upenn.edu/~edloper/pydoc/ -.. _Python Doc-SIG: http://www.python.org/sigs/doc-sig/ +.. _Python Doc-SIG: https://www.python.org/sigs/doc-sig/ Copyright diff --git a/docutils/docs/peps/pep-0257.txt b/docutils/docs/peps/pep-0257.txt index 1acacbd68..bed8d5229 100644 --- a/docutils/docs/peps/pep-0257.txt +++ b/docutils/docs/peps/pep-0257.txt @@ -286,10 +286,10 @@ References and Footnotes ======================== .. [1] PEP 256, Docstring Processing System Framework, Goodger - (http://www.python.org/peps/pep-0256.html) + (https://www.python.org/peps/pep-0256.html) .. [2] PEP 258, Docutils Design Specification, Goodger - (http://www.python.org/peps/pep-0258.html) + (https://www.python.org/peps/pep-0258.html) .. [3] Guido van Rossum, Python's creator and Benevolent Dictator For Life. @@ -297,9 +297,9 @@ References and Footnotes .. _Docutils: https://docutils.sourceforge.io/ .. _Python Style Guide: - http://www.python.org/doc/essays/styleguide.html + https://www.python.org/doc/essays/styleguide.html -.. _Doc-SIG: http://www.python.org/sigs/doc-sig/ +.. _Doc-SIG: https://www.python.org/sigs/doc-sig/ Copyright diff --git a/docutils/docs/peps/pep-0258.txt b/docutils/docs/peps/pep-0258.txt index 6019ee3ae..b4eb7f69c 100644 --- a/docutils/docs/peps/pep-0258.txt +++ b/docutils/docs/peps/pep-0258.txt @@ -969,13 +969,13 @@ stylist code will lower the barrier considerably. ========================== .. [#PEP-256] PEP 256, Docstring Processing System Framework, Goodger - (http://www.python.org/peps/pep-0256.html) + (https://www.python.org/peps/pep-0256.html) .. [#PEP-224] PEP 224, Attribute Docstrings, Lemburg - (http://www.python.org/peps/pep-0224.html) + (https://www.python.org/peps/pep-0224.html) .. [#PEP-216] PEP 216, Docstring Format, Zadka - (http://www.python.org/peps/pep-0216.html) + (https://www.python.org/peps/pep-0216.html) .. _docutils.dtd: https://docutils.sourceforge.io/docs/ref/docutils.dtd @@ -997,7 +997,7 @@ stylist code will lower the barrier considerably. .. _ISO 639: http://www.loc.gov/standards/iso639-2/englangn.html -.. _Python Doc-SIG: http://www.python.org/sigs/doc-sig/ +.. _Python Doc-SIG: https://www.python.org/sigs/doc-sig/ diff --git a/docutils/docs/peps/pep-0287.txt b/docutils/docs/peps/pep-0287.txt index 3d9b60c24..348716018 100644 --- a/docutils/docs/peps/pep-0287.txt +++ b/docutils/docs/peps/pep-0287.txt @@ -561,10 +561,10 @@ Questions & Answers References and Footnotes - [1] http://www.example.org/ + [1] https://www.example.org/ [2] PEP 9876, Let's Hope We Never Get Here - http://www.python.org/peps/pep-9876.html + https://www.python.org/peps/pep-9876.html [3] "Bogus Complexity Addition" @@ -584,7 +584,7 @@ Questions & Answers References & Footnotes ====================== - .. _frungible doodads: http://www.example.org/ + .. _frungible doodads: https://www.example.org/ .. [#pep9876] PEP 9876, Let's Hope We Never Get Here @@ -728,32 +728,32 @@ References & Footnotes ====================== .. [#PEP-1] PEP 1, PEP Guidelines, Warsaw, Hylton - (http://www.python.org/peps/pep-0001.html) + (https://www.python.org/peps/pep-0001.html) .. [#PEP-9] PEP 9, Sample PEP Template, Warsaw - (http://www.python.org/peps/pep-0009.html) + (https://www.python.org/peps/pep-0009.html) .. [#Zen] From `The Zen of Python (by Tim Peters)`__ (or just "``import this``" in Python) -__ http://www.python.org/doc/Humor.html#zen +__ https://www.python.org/doc/Humor.html#zen .. [#PEP-216] PEP 216, Docstring Format, Zadka - (http://www.python.org/peps/pep-0216.html) + (https://www.python.org/peps/pep-0216.html) .. _reStructuredText markup: https://docutils.sourceforge.io/rst.html -.. _Doc-SIG: http://www.python.org/sigs/doc-sig/ +.. _Doc-SIG: https://www.python.org/sigs/doc-sig/ -.. _XML: http://www.w3.org/XML/ +.. _XML: https://www.w3.org/XML/ .. _SGML: http://www.oasis-open.org/cover/general.html .. _DocBook: http://docbook.org/tdg/en/html/docbook.html -.. _HTML: http://www.w3.org/MarkUp/ +.. _HTML: https://www.w3.org/MarkUp/ -.. _XHTML: http://www.w3.org/MarkUp/#xhtml1 +.. _XHTML: https://www.w3.org/MarkUp/#xhtml1 .. _TeX: http://www.tug.org/interest.html @@ -764,7 +764,7 @@ __ http://www.python.org/doc/Humor.html#zen .. _Setext: https://docutils.sourceforge.io/mirror/setext.html .. _StructuredText: - http://www.zope.org/DevHome/Members/jim/StructuredTextWiki/FrontPage + https://www.zope.org/DevHome/Members/jim/StructuredTextWiki/FrontPage .. _A ReStructuredText Primer: https://docutils.sourceforge.io/docs/user/rst/quickstart.html diff --git a/docutils/docs/ref/doctree.txt b/docutils/docs/ref/doctree.txt index 4d5fec1e5..a6aaa8fca 100644 --- a/docutils/docs/ref/doctree.txt +++ b/docutils/docs/ref/doctree.txt @@ -94,7 +94,7 @@ occur at the same level. .. _HTML: https://www.w3.org/TR/html52/ .. _DocBook: https://tdg.docbook.org/tdg/5.1/ -.. _XMLSpec: http://www.w3.org/XML/1998/06/xmlspec-report.htm +.. _XMLSpec: https://www.w3.org/XML/1998/06/xmlspec-report.htm Structural Elements @@ -1658,7 +1658,7 @@ testing environment via the `doctest module`_ in the Python standard library. .. _doctest module: - http://www.python.org/doc/current/lib/module-doctest.html + https://www.python.org/doc/current/lib/module-doctest.html Details @@ -4676,7 +4676,7 @@ _`idrefs.type` `reference names`_ or from the auto_id_prefix_, prepending the id_prefix_ and potentially appending numbers for disambiguation. - __ http://www.w3.org/TR/html401/types.html#type-name + __ https://www.w3.org/TR/html401/types.html#type-name __ https://www.w3.org/TR/html50/dom.html#the-id-attribute __ https://www.w3.org/TR/html-polyglot/#id-attribute __ https://tex.stackexchange.com/questions/18311/what-are-the-valid-names-as-labels diff --git a/docutils/docs/ref/rst/definitions.txt b/docutils/docs/ref/rst/definitions.txt index 484bffae2..86f660a1d 100644 --- a/docutils/docs/ref/rst/definitions.txt +++ b/docutils/docs/ref/rst/definitions.txt @@ -84,7 +84,7 @@ the ``tools/dev/unicode2rstsubs.py`` program from the input file unicode.xml__, which is maintained as part of the MathML 2 Recommentation XML source. -__ http://www.w3.org/2003/entities/xml/ +__ https://www.w3.org/2003/entities/xml/ =================== ================================================= Entity Set File Description diff --git a/docutils/docs/ref/rst/directives.txt b/docutils/docs/ref/rst/directives.txt index c6e89a963..7a5aae092 100644 --- a/docutils/docs/ref/rst/directives.txt +++ b/docutils/docs/ref/rst/directives.txt @@ -532,11 +532,11 @@ when Pygments_ is not installed or the language is not in the For inline code, use the `"code" role`_. -__ http://pygments.org/docs/cmdline/#generating-styles +__ https://pygments.org/docs/cmdline/#generating-styles __ https://docutils.sourceforge.io/sandbox/stylesheets/ -.. _Pygments: http://pygments.org/ +.. _Pygments: https://pygments.org/ .. _syntax_highlight: ../../user/config.html#syntax-highlight -.. _supported languages and markup formats: http://pygments.org/languages/ +.. _supported languages and markup formats: https://pygments.org/languages/ .. _"code" role: roles.html#code @@ -1284,7 +1284,7 @@ the "replace" directive:: I recommend you try |Python|_. .. |Python| replace:: Python, *the* best language around - .. _Python: http://www.python.org/ + .. _Python: https://www.python.org/ .. _unicode: @@ -1700,7 +1700,7 @@ For example ``"Rot.Gelb&Grün:+2008"`` becomes ``"rot-gelb-grun-2008"`` and hyphens ("-"), underscores ("_"), colons (":"), and periods ("."). - -- http://www.w3.org/TR/html401/types.html#type-name + -- https://www.w3.org/TR/html401/types.html#type-name - The `CSS1 spec`_ defines identifiers based on the "name" token ("flex" tokenizer notation below; "latin1" and "escape" 8-bit @@ -1729,8 +1729,8 @@ For example ``"Rot.Gelb&Grün:+2008"`` becomes ``"rot-gelb-grun-2008"`` and __ https://www.w3.org/TR/CSS22/syndata.html __ https://www.w3.org/TR/css-syntax-3/#typedef-ident-token - .. _HTML 4.01 spec: http://www.w3.org/TR/html401/ - .. _CSS1 spec: http://www.w3.org/TR/REC-CSS1 + .. _HTML 4.01 spec: https://www.w3.org/TR/html401/ + .. _CSS1 spec: https://www.w3.org/TR/REC-CSS1 .. _role: @@ -1941,7 +1941,7 @@ HTML equivalent:: https://html.spec.whatwg.org/multipage/semantics.html#the-meta-element .. _ODT file properties: https://en.wikipedia.org/wiki/OpenDocument_technical_specification#Metadata -.. _hyperref: http://ctan.org/pkg/hyperref +.. _hyperref: https://ctan.org/pkg/hyperref .. _bibliographic fields: restructuredtext.html#bibliographic-fields diff --git a/docutils/docs/ref/rst/introduction.txt b/docutils/docs/ref/rst/introduction.txt index aedd647e3..d5c247f0e 100644 --- a/docutils/docs/ref/rst/introduction.txt +++ b/docutils/docs/ref/rst/introduction.txt @@ -31,7 +31,7 @@ https://docutils.sourceforge.io/rst.html. .. _reStructuredText: https://docutils.sourceforge.io/rst.html .. _StructuredText: - http://www.zope.org/DevHome/Members/jim/StructuredTextWiki/FrontPage + https://www.zope.org/DevHome/Members/jim/StructuredTextWiki/FrontPage .. _Setext: https://docutils.sourceforge.io/mirror/setext.html .. _Docutils: https://docutils.sourceforge.io/ .. _A ReStructuredText Primer: ../../user/rst/quickstart.html @@ -144,7 +144,7 @@ Author's note: David Goodger (goodger@python.org), 2001-04-20 -.. _Doc-SIG: http://www.python.org/sigs/doc-sig/ +.. _Doc-SIG: https://www.python.org/sigs/doc-sig/ History @@ -218,9 +218,9 @@ parts: - `Problems With StructuredText`__ - `reStructuredText: Revised Structured Text Specification`__ -__ http://mail.python.org/pipermail/doc-sig/2000-November/001239.html -__ http://mail.python.org/pipermail/doc-sig/2000-November/001240.html -__ http://mail.python.org/pipermail/doc-sig/2000-November/001241.html +__ https://mail.python.org/pipermail/doc-sig/2000-November/001239.html +__ https://mail.python.org/pipermail/doc-sig/2000-November/001240.html +__ https://mail.python.org/pipermail/doc-sig/2000-November/001241.html In March 2001 a flurry of activity on the Doc-SIG spurred me to further revise and refine my specification, the result of which you @@ -269,10 +269,10 @@ followed. - `Python Extensions to the reStructuredText Markup Specification`__ - __ http://mail.python.org/pipermail/doc-sig/2001-June/001858.html - __ http://mail.python.org/pipermail/doc-sig/2001-June/001859.html - __ http://mail.python.org/pipermail/doc-sig/2001-June/001860.html - __ http://mail.python.org/pipermail/doc-sig/2001-June/001861.html + __ https://mail.python.org/pipermail/doc-sig/2001-June/001858.html + __ https://mail.python.org/pipermail/doc-sig/2001-June/001859.html + __ https://mail.python.org/pipermail/doc-sig/2001-June/001860.html + __ https://mail.python.org/pipermail/doc-sig/2001-June/001861.html .. [#peps-1] First drafts of the PEPs: @@ -284,25 +284,25 @@ followed. https://docutils.sourceforge.io/docs/peps/, and official versions can be found in the `master PEP repository`_. - __ http://mail.python.org/pipermail/doc-sig/2001-June/001855.html - __ http://mail.python.org/pipermail/doc-sig/2001-June/001856.html - __ http://mail.python.org/pipermail/doc-sig/2001-June/001857.html + __ https://mail.python.org/pipermail/doc-sig/2001-June/001855.html + __ https://mail.python.org/pipermail/doc-sig/2001-June/001856.html + __ https://mail.python.org/pipermail/doc-sig/2001-June/001857.html .. _Zope Corporation: http://www.zope.com -.. _ZOPE: http://www.zope.org +.. _ZOPE: https://www.zope.org .. _reStructuredText SourceForge project: http://structuredtext.sourceforge.net/ .. _pythondoc: http://starship.python.net/crew/danilo/pythondoc/ .. _StructuredTextNG: - http://www.zope.org/DevHome/Members/jim/StructuredTextWiki/StructuredTextNG + https://www.zope.org/DevHome/Members/jim/StructuredTextWiki/StructuredTextNG .. _project history file: ../../../HISTORY.html .. _PEP 287: ../../peps/pep-0287.html .. _Docstring Processing System framework: ../../peps/pep-0256.html .. _comp.lang.python: news:comp.lang.python -.. _Python-dev: http://mail.python.org/pipermail/python-dev/ +.. _Python-dev: https://mail.python.org/pipermail/python-dev/ .. _Docstring Processing System: http://docstring.sourceforge.net/ -.. _master PEP repository: http://www.python.org/peps/ +.. _master PEP repository: https://www.python.org/peps/ .. diff --git a/docutils/docs/ref/rst/mathematics.txt b/docutils/docs/ref/rst/mathematics.txt index 52fd88e07..c6db8a9f5 100644 --- a/docutils/docs/ref/rst/mathematics.txt +++ b/docutils/docs/ref/rst/mathematics.txt @@ -97,7 +97,7 @@ The result is: .. _hyperlink references: ../ref/rst/restructuredtext.html#hyperlink-references .. _Short Math Guide: - http://mirrors.ctan.org/info/short-math-guide/short-math-guide.pdf + https://mirrors.ctan.org/info/short-math-guide/short-math-guide.pdf .. _math_output: https://docutils.sourceforge.io/docs/user/config.html#math-output .. _LaTeX package: @@ -295,7 +295,7 @@ letter name with ``var`` like ``\varPhi``: \varTheta\ \varUpsilon\ \varXi\ \varOmega` -__ http://mirrors.ctan.org/macros/latex/contrib/isomath/isomath.html#table-2 +__ https://mirrors.ctan.org/macros/latex/contrib/isomath/isomath.html#table-2 Letterlike symbols diff --git a/docutils/docs/ref/rst/restructuredtext.txt b/docutils/docs/ref/rst/restructuredtext.txt index f1edf9979..486b312a4 100644 --- a/docutils/docs/ref/rst/restructuredtext.txt +++ b/docutils/docs/ref/rst/restructuredtext.txt @@ -67,7 +67,7 @@ Here are examples of `body elements`_: Paragraphs contain text and may contain inline markup: *emphasis*, **strong emphasis**, `interpreted text`, ``inline - literals``, standalone hyperlinks (http://www.python.org), + literals``, standalone hyperlinks (https://www.python.org), external hyperlinks (Python_), internal cross-references (example_), footnote references ([1]_), citation references ([CIT2002]_), substitution references (|example|), and _`inline @@ -187,7 +187,7 @@ Here are examples of `body elements`_: - `Hyperlink targets`_:: - .. _Python: http://www.python.org + .. _Python: https://www.python.org .. _example: @@ -413,7 +413,7 @@ and treating the backquoted text as a reference name:: Want to learn about `my favorite programming language`_? - .. _my favorite programming language: http://www.python.org + .. _my favorite programming language: https://www.python.org Simple reference names may also optionally use backquotes. @@ -1901,7 +1901,7 @@ indirect. .. _Python DOC-SIG mailing list archive: .. _archive: - .. _Doc-SIG: http://mail.python.org/pipermail/doc-sig/ + .. _Doc-SIG: https://mail.python.org/pipermail/doc-sig/ An inline form of internal hyperlink target is available; see `Inline Internal Targets`_. @@ -1926,12 +1926,12 @@ indirect. `Write to me`_ with your questions. - .. _Python: http://www.python.org + .. _Python: https://www.python.org .. _Write to me: jdoe@example.com After processing into HTML, the hyperlinks might be expressed as:: - See the Python home page + See the Python home page for info. Write to me with your @@ -2047,12 +2047,12 @@ instead of one:: Anonymous targets begin with ".. __:"; no reference name is required or allowed:: - .. __: http://www.python.org + .. __: https://www.python.org As a convenient alternative, anonymous targets may begin with "__" only:: - __ http://www.python.org + __ https://www.python.org The reference name of the reference is not used to match the reference to its target. Instead, the order of anonymous hyperlink references @@ -2550,10 +2550,10 @@ inline markup: Docutils 0.13 uses `Unicode version 5.2.0`_. .. _Unicode categories: - http://www.unicode.org/Public/5.1.0/ucd/UCD.html#General_Category_Values -.. _Unicode version 5.2.0: http://www.unicode.org/Public/5.2.0/ + https://www.unicode.org/Public/5.1.0/ucd/UCD.html#General_Category_Values +.. _Unicode version 5.2.0: https://www.unicode.org/Public/5.2.0/ .. _quotation marks in international usage: - http://en.wikipedia.org/wiki/Quotation_mark,_non-English_usage + https://en.wikipedia.org/wiki/Quotation_mark,_non-English_usage The inline markup recognition rules were devised to allow 90% of non-markup uses of "*", "`", "_", and "|" without escaping. For example, none of the @@ -2818,7 +2818,7 @@ A hyperlink reference may directly embed a target URI or (since Docutils 0.11) a hyperlink reference within angle brackets ("<...>") as follows:: - See the `Python home page `_ for info. + See the `Python home page `_ for info. This `link `_ is an alias to the link above. @@ -2828,7 +2828,7 @@ This is exactly equivalent to:: This link_ is an alias to the link above. - .. _Python home page: http://www.python.org + .. _Python home page: https://www.python.org .. _link: `Python home page`_ The bracketed URI must be preceded by whitespace and be the last text @@ -2840,16 +2840,16 @@ With two trailing underscores, the reference and target are both anonymous, and the target cannot be referred to again. These are "one-off" hyperlinks. For example:: - `RFC 2396 `__ and `RFC - 2732 `__ together + `RFC 2396 `__ and `RFC + 2732 `__ together define the syntax of URIs. Equivalent to:: `RFC 2396`__ and `RFC 2732`__ together define the syntax of URIs. - __ http://www.rfc-editor.org/rfc/rfc2396.txt - __ http://www.rfc-editor.org/rfc/rfc2732.txt + __ https://www.rfc-editor.org/rfc/rfc2396.txt + __ https://www.rfc-editor.org/rfc/rfc2732.txt `Standalone hyperlinks`_ are treated as URIs, even if they end with an underscore like in the example of a Python function documentation:: @@ -3014,11 +3014,11 @@ A URI (absolute URI [#URI]_ or standalone email address) within a text block is treated as a general external hyperlink with the URI itself as the link's text. For example:: - See http://www.python.org for info. + See https://www.python.org for info. would be marked up in HTML as:: - See http://www.python.org for + See https://www.python.org for info. Two forms of URI are recognized: @@ -3039,7 +3039,7 @@ Two forms of URI are recognized: use slashes to separate hierarchical components of the path. Examples are web pages and FTP sites:: - http://www.python.org + https://www.python.org ftp://ftp.python.org/pub/python @@ -3111,9 +3111,9 @@ default (e.g. "px" with HTML, "pt" with `latex2e`). See the writer specific documentation in the `user doc`__ for details. .. _length units in CSS2: - http://www.w3.org/TR/CSS2/syndata.html#length-units + https://www.w3.org/TR/CSS2/syndata.html#length-units .. _length units in CSS3: - http://www.w3.org/TR/css-values-3/#absolute-lengths + https://www.w3.org/TR/css-values-3/#absolute-lengths .. _How to configure the size of a pixel: ../../user/latex.html#size-of-a-pixel __ ../../user/ @@ -3143,26 +3143,26 @@ Markup errors are handled according to the specification in `PEP .. _transforms: https://docutils.sourceforge.io/docutils/transforms/ .. _Grouch: http://www.mems-exchange.org/software/grouch/ -.. _RFC822: http://www.rfc-editor.org/rfc/rfc822.txt +.. _RFC822: https://www.rfc-editor.org/rfc/rfc822.txt .. _DocTitle transform: .. _DocInfo transform: https://docutils.sourceforge.io/docutils/transforms/frontmatter.py .. _getopt.py: - http://www.python.org/doc/current/lib/module-getopt.html + https://www.python.org/doc/current/lib/module-getopt.html .. _GNU libc getopt_long(): - http://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Options.html + https://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Options.html .. _doctest module: - http://www.python.org/doc/current/lib/module-doctest.html + https://www.python.org/doc/current/lib/module-doctest.html .. _Emacs table mode: http://table.sourceforge.net/ .. _Official IANA Registry of URI Schemes: http://www.iana.org/assignments/uri-schemes .. _Retired Index of WWW Addressing Schemes: - http://www.w3.org/Addressing/schemes.html -.. _World Wide Web Consortium: http://www.w3.org/ + https://www.w3.org/Addressing/schemes.html +.. _World Wide Web Consortium: https://www.w3.org/ .. _HTML Techniques for Web Content Accessibility Guidelines: - http://www.w3.org/TR/WCAG10-HTML-TECHS/#link-text -.. _RFC2396: http://www.rfc-editor.org/rfc/rfc2396.txt -.. _RFC2732: http://www.rfc-editor.org/rfc/rfc2732.txt + https://www.w3.org/TR/WCAG10-HTML-TECHS/#link-text +.. _RFC2396: https://www.rfc-editor.org/rfc/rfc2396.txt +.. _RFC2732: https://www.rfc-editor.org/rfc/rfc2732.txt .. _Zope: http://www.zope.com/ .. _PEP 258: ../../peps/pep-0258.html .. _writers: ../../peps/pep-0258.html#writers diff --git a/docutils/docs/ref/rst/roles.txt b/docutils/docs/ref/rst/roles.txt index 221bbc6a6..cca39591c 100644 --- a/docutils/docs/ref/rst/roles.txt +++ b/docutils/docs/ref/rst/roles.txt @@ -137,8 +137,8 @@ In addition to "class_", the following option is recognized: See `supported languages and markup formats`_ for recognized values. .. _code directive: directives.html#code -.. _Pygments: http://pygments.org/ -.. _supported languages and markup formats: http://pygments.org/languages/ +.. _Pygments: https://pygments.org/ +.. _supported languages and markup formats: https://pygments.org/languages/ ``:math:`` @@ -185,7 +185,7 @@ This is equivalent to:: See `PEP 287`__ for more information about reStructuredText. - __ http://www.python.org/peps/pep-0287.html + __ https://www.python.org/peps/pep-0287.html ``:rfc-reference:`` @@ -207,7 +207,7 @@ This is equivalent to:: See `RFC 2822`__ for information about email headers. - __ http://tools.ietf.org/html/rfc2822.html + __ https://tools.ietf.org/html/rfc2822.html .. [#] You can link to a specific section by saying ``:rfc:`number#anchor```. (New in Docutils 0.15.) diff --git a/docutils/docs/user/config.txt b/docutils/docs/user/config.txt index e971e8dfa..d112014d2 100644 --- a/docutils/docs/user/config.txt +++ b/docutils/docs/user/config.txt @@ -193,9 +193,9 @@ file. Some knowledge of Python_ is assumed for some attributes. .. _ConfigParser.py: - http://www.python.org/doc/current/lib/module-ConfigParser.html -.. _Python: http://www.python.org/ -.. _RFC 822: http://www.rfc-editor.org/rfc/rfc822.txt + https://www.python.org/doc/current/lib/module-ConfigParser.html +.. _Python: https://www.python.org/ +.. _RFC 822: https://www.rfc-editor.org/rfc/rfc822.txt .. _front-end tool: .. _Docutils application: tools.html @@ -696,7 +696,7 @@ pep_base_url ~~~~~~~~~~~~ Base URL for PEP references. -Default: "http://www.python.org/peps/". +Default: "https://www.python.org/peps/". Option: ``--pep-base-url``. pep_file_url_template @@ -749,7 +749,7 @@ New in Docutils 0.10. .. _SmartQuotes: smartquotes.html __ smartquotes.html#localization .. _quote characters: - http://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks + https://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks smartquotes_locales @@ -795,10 +795,10 @@ Default: "long". Option: ``--syntax-highlight``. New in Docutils 0.9. -.. _Pygments: http://pygments.org/ +.. _Pygments: https://pygments.org/ .. _code: ../ref/rst/directives.html#code .. _Pygments-generated stylesheets: - http://pygments.org/docs/cmdline/#generating-styles + https://pygments.org/docs/cmdline/#generating-styles tab_width ~~~~~~~~~ @@ -1164,7 +1164,7 @@ New in Docutils 0.8. .. _math directive: ../ref/rst/directives.html#math .. _MathJax: http://www.mathjax.org/ .. _MathPlayer: http://www.dessci.com/en/products/mathplayer/ -.. _MathML: http://www.w3.org/TR/MathML/ +.. _MathML: https://www.w3.org/TR/MathML/ .. _blahtexml: http://gva.noekeon.org/blahtexml/ .. _LaTeXML: http://dlmf.nist.gov/LaTeXML/ .. _TtM: http://hutchinson.belmont.ma.us/tth/mml/ @@ -1319,7 +1319,7 @@ Writer Specific Defaults enabled (True) .. _HTML4/CSS1 Writer: html.html#html4css1 -.. _XHTML 1 Transitional: http://www.w3.org/TR/xhtml1/ +.. _XHTML 1 Transitional: https://www.w3.org/TR/xhtml1/ field_name_limit @@ -2275,8 +2275,8 @@ Default: stdin (None). No command-line options. -------------------------------------------------------------------------- -.. _language tag: http://www.w3.org/International/articles/language-tags/ -.. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt +.. _language tag: https://www.w3.org/International/articles/language-tags/ +.. _BCP 47: https://www.rfc-editor.org/rfc/bcp/bcp47.txt .. _ISO 639: http://www.loc.gov/standards/iso639-2/php/English_list.php .. _ISO 3166: http://www.iso.ch/iso/en/prods-services/iso3166ma/ 02iso-3166-code-lists/index.html diff --git a/docutils/docs/user/emacs.txt b/docutils/docs/user/emacs.txt index 51878890d..84a9734ea 100644 --- a/docutils/docs/user/emacs.txt +++ b/docutils/docs/user/emacs.txt @@ -89,7 +89,7 @@ If you decided to install locally please follow these steps. #. Download ``rst.el`` Download the most recent published version of ``rst.el`` from - http://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils/tools/editors/emacs/rst.el + https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils/tools/editors/emacs/rst.el #. Put ``rst.el`` to a directory in ``load-path`` @@ -939,7 +939,7 @@ Stefan Merten. Most of the code has been modified, enhanced and extended by Stefan Merten who also is the current maintainer of ``rst.el``. -.. _Emacs: http://www.gnu.org/software/emacs/emacs.html +.. _Emacs: https://www.gnu.org/software/emacs/emacs.html .. _reStructuredText: https://docutils.sourceforge.io/rst.html .. _Docutils: https://docutils.sourceforge.io/ diff --git a/docutils/docs/user/html.txt b/docutils/docs/user/html.txt index 0a37adb5a..e7da02c69 100644 --- a/docutils/docs/user/html.txt +++ b/docutils/docs/user/html.txt @@ -153,32 +153,32 @@ References _`HTML5` `HTML5, A vocabulary and associated APIs for HTML and XHTML`, W3C Recommendation, 28 October 2014. - http://www.w3.org/TR/html5/ + https://www.w3.org/TR/html5/ _`XHTML 1.1` `XHTML™ 1.1 - Module-based XHTML - Second Edition`, W3C Recommendation, 23 November 2010. - http://www.w3.org/TR/xhtml11/ + https://www.w3.org/TR/xhtml11/ _`XHTML 1 Transitional` `Transitional version`_ of: `XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition)`, `A Reformulation of HTML 4 in XML 1.0`, W3C Recommendation, 26 January 2000, revised 1 August 2002. - http://www.w3.org/TR/xhtml1/ + https://www.w3.org/TR/xhtml1/ _`XHTML Basic` `XHTML™ Basic 1.1 - Second Edition`, W3C Recommendation, 23 November 2010. - http://www.w3.org/TR/xhtml-basic/ + https://www.w3.org/TR/xhtml-basic/ .. _transitional version: - http://www.w3.org/TR/xhtml1/#a_dtd_XHTML-1.0-Transitional + https://www.w3.org/TR/xhtml1/#a_dtd_XHTML-1.0-Transitional _`HTML 4.01 Transitional` Transitional version of: `HTML 4.01 Specification`, W3C Recommendation 24 December 1999. - http://www.w3.org/TR/html4/ + https://www.w3.org/TR/html4/ .. _`CSS 1`: @@ -188,23 +188,23 @@ _`CSS Level 1`: _`CSS 2.1` `Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification`, W3C Recommendation 07 June 2011. - http://www.w3.org/TR/CSS21/ + https://www.w3.org/TR/CSS21/ _`CSS 3`: CSS Level 3 builds on CSS Level 2 module by module, using the CSS2.1 specification as its core. - Specifications: http://www.w3.org/Style/CSS/specs.en.html + Specifications: https://www.w3.org/Style/CSS/specs.en.html Validator: http://jigsaw.w3.org/css-validator/ .. other references ---------------- -.. _HTML Compatibility Guidelines: http://www.w3.org/TR/xhtml1/#guidelines -.. _CSS: http://www.w3.org/TR/CSS/ -.. _CSS1 specification: http://www.w3.org/TR/2008/REC-CSS1-20080411/ -.. _polyglot HTML: http://www.w3.org/TR/html-polyglot/ +.. _HTML Compatibility Guidelines: https://www.w3.org/TR/xhtml1/#guidelines +.. _CSS: https://www.w3.org/TR/CSS/ +.. _CSS1 specification: https://www.w3.org/TR/2008/REC-CSS1-20080411/ +.. _polyglot HTML: https://www.w3.org/TR/html-polyglot/ .. Beware. This specification is no longer in active maintenance and the HTML Working Group does not intend to maintain it further. diff --git a/docutils/docs/user/images/rsp.svg b/docutils/docs/user/images/rsp.svg index 03445d3bc..51d93be16 100644 --- a/docutils/docs/user/images/rsp.svg +++ b/docutils/docs/user/images/rsp.svg @@ -3,10 +3,10 @@ `_ is a browser-based reStructuredText editor @@ -364,7 +364,7 @@ Development The `Python documentation`_ is based on reStructuredText and Sphinx. - .. _Python documentation: http://docs.python.org/ + .. _Python documentation: https://docs.python.org/ * Trac_, a project management and bug/issue tracking system, supports `using reStructuredText @@ -388,7 +388,7 @@ CMS Systems application that is complete and ready to install. .. _Plone: http://plone.org/ -.. _Zope: http://www.zope.org/ +.. _Zope: https://www.zope.org/ .. _ZReST: https://docutils.sourceforge.io/sandbox/richard/ZReST/ diff --git a/docutils/docs/user/mailing-lists.txt b/docutils/docs/user/mailing-lists.txt index 7664d585b..707104305 100644 --- a/docutils/docs/user/mailing-lists.txt +++ b/docutils/docs/user/mailing-lists.txt @@ -55,7 +55,7 @@ mailing lists; use the one you feel most comfortable with. complete **archive** of the mailing list; use the search form at the top of this page to search it.) - __ http://news.gmane.org/gmane.text.docutils.user + __ https://news.gmane.org/gmane.text.docutils.user * Use a newsreader with Gmane's `NNTP interface`__ (gmane.text.docutils.user on news.gmane.org). @@ -98,7 +98,7 @@ To see the collection of prior postings to the list, visit the __ `Docutils-develop mailing list`_ __ nntp://news.gmane.org/gmane.text.docutils.devel -__ http://sourceforge.net/mailarchive/forum.php?forum_name=docutils-develop +__ https://sourceforge.net/mailarchive/forum.php?forum_name=docutils-develop Docutils-checkins ----------------- @@ -140,17 +140,17 @@ __ nntp://news.gmane.org/gmane.comp.python.documentation .. _Docutils-users mailing list: - http://lists.sourceforge.net/lists/listinfo/docutils-users + https://lists.sourceforge.net/lists/listinfo/docutils-users .. _Docutils-users Archives: - http://sourceforge.net/mailarchive/forum.php?forum_name=docutils-users + https://sourceforge.net/mailarchive/forum.php?forum_name=docutils-users .. _Docutils-develop mailing list: - http://lists.sourceforge.net/lists/listinfo/docutils-develop + https://lists.sourceforge.net/lists/listinfo/docutils-develop .. _Docutils-develop Archives: - http://sourceforge.net/mailarchive/forum.php?forum_name=docutils-develop + https://sourceforge.net/mailarchive/forum.php?forum_name=docutils-develop .. _Docutils-checkins list: - http://lists.sourceforge.net/lists/listinfo/docutils-checkins + https://lists.sourceforge.net/lists/listinfo/docutils-checkins .. _Doc-SIG: - http://mail.python.org/mailman/listinfo/doc-sig + https://mail.python.org/mailman/listinfo/doc-sig .. _Subversion repository: ../dev/repository.html .. _Docutils: https://docutils.sourceforge.io/ diff --git a/docutils/docs/user/odt.txt b/docutils/docs/user/odt.txt index 5dcc9ba8d..45b175997 100644 --- a/docutils/docs/user/odt.txt +++ b/docutils/docs/user/odt.txt @@ -717,8 +717,8 @@ contain them, do the following: configuration file obeys the file format supported by the Python ConfigParser module: `ConfigParser -- Configuration file parser -- - http://docs.python.org/lib/module-ConfigParser.html - `_. + https://docs.python.org/lib/module-ConfigParser.html + `_. 2. In the "Formats" section of the configuration file, create one option (a name-value pair) for each custom style name that you @@ -1186,7 +1186,7 @@ pick up the default paper size on platforms where the program .. _`Pygments`: - http://pygments.pocoo.org/ + https://pygments.org/ .. _`Docutils`: https://docutils.sourceforge.io/ @@ -1195,7 +1195,7 @@ pick up the default paper size on platforms where the program https://en.wikipedia.org/wiki/Python_Imaging_Library .. _`Open Document at Wikipedia`: - http://en.wikipedia.org/wiki/OpenDocument + https://en.wikipedia.org/wiki/OpenDocument .. _`OASIS Open Document Format for Office Applications (OpenDocument) TC`: http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office diff --git a/docutils/docs/user/rst/demo.txt b/docutils/docs/user/rst/demo.txt index 5e62dae34..0e70f8acd 100644 --- a/docutils/docs/user/rst/demo.txt +++ b/docutils/docs/user/rst/demo.txt @@ -88,9 +88,9 @@ Inline Markup Paragraphs contain text and may contain inline markup: *emphasis*, **strong emphasis**, ``inline literals``, standalone hyperlinks -(http://www.python.org), external hyperlinks (Python_), internal +(https://www.python.org), external hyperlinks (Python_), internal cross-references (example_), external hyperlinks with embedded URIs -(`Python web site `__), footnote references +(`Python web site `__), footnote references (manually numbered [1]_, anonymous auto-numbered [#]_, labeled auto-numbered [#label]_, or symbolic [*]_), citation references ([CIT2002]_), substitution references (|example|), and _`inline @@ -370,7 +370,7 @@ Targets_, which is a subsection of `Body Elements`_. Explicit external targets are interpolated into references such as "Python_". -.. _Python: http://www.python.org/ +.. _Python: https://www.python.org/ Targets may be indirect and anonymous. Thus `this phrase`__ may also refer to the Targets_ section. diff --git a/docutils/docs/user/rst/images/biohazard-bitmap-scaling.svg b/docutils/docs/user/rst/images/biohazard-bitmap-scaling.svg index 946e0768c..66466f9de 100644 --- a/docutils/docs/user/rst/images/biohazard-bitmap-scaling.svg +++ b/docutils/docs/user/rst/images/biohazard-bitmap-scaling.svg @@ -4,10 +4,10 @@ - + Biohazard diff --git a/docutils/docs/user/rst/images/biohazard.svg b/docutils/docs/user/rst/images/biohazard.svg index 0879dc2ba..3f46716f1 100644 --- a/docutils/docs/user/rst/images/biohazard.svg +++ b/docutils/docs/user/rst/images/biohazard.svg @@ -1,5 +1,5 @@ - + Biohazard diff --git a/docutils/docs/user/rst/images/title-scaling.svg b/docutils/docs/user/rst/images/title-scaling.svg index 0a6e597bb..61aaabdc6 100644 --- a/docutils/docs/user/rst/images/title-scaling.svg +++ b/docutils/docs/user/rst/images/title-scaling.svg @@ -1,6 +1,6 @@ + viewBox="0 0 232 24" xmlns="https://www.w3.org/2000/svg"> + xmlns="https://www.w3.org/2000/svg"> + "https://www.w3.org/TR/html4/loose.dtd"> @@ -731,7 +731,7 @@

"The doctest + href="https://www.python.org/doc/current/lib/module-doctest.html">doctest module searches a module's docstrings for text that looks like an interactive Python session, then executes all such sessions to verify they still work exactly as shown." (From the doctest docs.) @@ -1069,12 +1069,12 @@

External hyperlinks, like Python_. -

.. _Python: http://www.python.org/ +

.. _Python: https://www.python.org/
Fold-in form
External hyperlinks, like - Python. + Python.
@@ -1086,7 +1086,7 @@


Python: - http://www.python.org/ + https://www.python.org/
@@ -1117,9 +1117,9 @@

External hyperlinks, like `Python -
<http://www.python.org/>`_.
+
<https://www.python.org/>`_. External hyperlinks, like -
Python. + Python.

Python_ is `my favourite
programming language`__. -

.. _Python: http://www.python.org/ +

.. _Python: https://www.python.org/

__ Python_ -

Python is - my favourite +

Python is + my favourite programming language. @@ -1341,7 +1341,7 @@

post a message to the Docutils-Users mailing list. The Docutils project web site has more information. diff --git a/docutils/docs/user/slide-shows.txt b/docutils/docs/user/slide-shows.txt index fdf481fab..054b11376 100644 --- a/docutils/docs/user/slide-shows.txt +++ b/docutils/docs/user/slide-shows.txt @@ -691,7 +691,7 @@ Making a Custom Theme Resources: - * W3C's `Learning CSS `__ + * W3C's `Learning CSS `__ * `Creating An S5 Theme `__ diff --git a/docutils/docs/user/smartquotes.txt b/docutils/docs/user/smartquotes.txt index 260f3073e..a186501ad 100644 --- a/docutils/docs/user/smartquotes.txt +++ b/docutils/docs/user/smartquotes.txt @@ -453,7 +453,7 @@ the source: .. _right single quotation mark: http://www.fileformat.info/info/unicode/char/2019/index.htm -.. _Unicode: http://www.unicode.org/charts/PDF/U2000.pdf +.. _Unicode: https://www.unicode.org/charts/PDF/U2000.pdf History ======= diff --git a/docutils/docs/user/tools.txt b/docutils/docs/user/tools.txt index 5b85e076d..b4dc776fb 100644 --- a/docutils/docs/user/tools.txt +++ b/docutils/docs/user/tools.txt @@ -352,10 +352,10 @@ For details, please see `Easy Slide Shows With reStructuredText & S5 `_. -.. _HTML 5: http://www.w3.org/TR/html5/ -.. _HTML 4.1: http://www.w3.org/TR/html401/ -.. _XHTML 1.0 Transitional: http://www.w3.org/TR/xhtml1/ -.. _XHTML 1.1: http://www.w3.org/TR/xhtml1/ +.. _HTML 5: https://www.w3.org/TR/html5/ +.. _HTML 4.1: https://www.w3.org/TR/html401/ +.. _XHTML 1.0 Transitional: https://www.w3.org/TR/xhtml1/ +.. _XHTML 1.1: https://www.w3.org/TR/xhtml1/ LaTeX-Generating Tools diff --git a/docutils/docutils/io.py b/docutils/docutils/io.py index 2daf8f251..46d3c6bf7 100644 --- a/docutils/docutils/io.py +++ b/docutils/docutils/io.py @@ -24,7 +24,7 @@ try: locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1] except ValueError as error: # OS X may set UTF-8 without language code - # See http://bugs.python.org/issue18378 fixed in 3.8 + # See https://bugs.python.org/issue18378 fixed in 3.8 # and https://sourceforge.net/p/docutils/bugs/298/. # Drop the special case after requiring Python >= 3.8 if "unknown locale: UTF-8" in error.args: diff --git a/docutils/docutils/nodes.py b/docutils/docutils/nodes.py index 2df280c67..a971c7dc2 100644 --- a/docutils/docutils/nodes.py +++ b/docutils/docutils/nodes.py @@ -2237,8 +2237,8 @@ def make_id(string): "unicode", "latin1", or "escape" characters), this results in the ``[a-z](-?[a-z0-9]+)*`` pattern. - .. _HTML 4.01 spec: http://www.w3.org/TR/html401 - .. _CSS1 spec: http://www.w3.org/TR/REC-CSS1 + .. _HTML 4.01 spec: https://www.w3.org/TR/html401 + .. _CSS1 spec: https://www.w3.org/TR/REC-CSS1 """ id = string.lower() id = id.translate(_non_id_translate_digraphs) diff --git a/docutils/docutils/parsers/rst/__init__.py b/docutils/docutils/parsers/rst/__init__.py index 281a1d660..6afb42b58 100644 --- a/docutils/docutils/parsers/rst/__init__.py +++ b/docutils/docutils/parsers/rst/__init__.py @@ -91,9 +91,9 @@ class Parser(docutils.parsers.Parser): ['--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': '', 'default': 'http://www.python.org/dev/peps/', + {'metavar': '', '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 @@ class Parser(docutils.parsers.Parser): ('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': '', 'default': 'http://tools.ietf.org/html/', + {'metavar': '', 'default': 'https://tools.ietf.org/html/', 'validator': frontend.validate_url_trailing_slash}), ('Set number of spaces for tab expansion (default 8).', ['--tab-width'], diff --git a/docutils/docutils/parsers/rst/include/isoamsa.txt b/docutils/docutils/parsers/rst/include/isoamsa.txt index a13b1d66e..1f5bf0ccc 100644 --- a/docutils/docutils/parsers/rst/include/isoamsa.txt +++ b/docutils/docutils/parsers/rst/include/isoamsa.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isoamsb.txt b/docutils/docutils/parsers/rst/include/isoamsb.txt index d66fd4dde..51941101d 100644 --- a/docutils/docutils/parsers/rst/include/isoamsb.txt +++ b/docutils/docutils/parsers/rst/include/isoamsb.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isoamsc.txt b/docutils/docutils/parsers/rst/include/isoamsc.txt index bef4c3e78..aca17ae6a 100644 --- a/docutils/docutils/parsers/rst/include/isoamsc.txt +++ b/docutils/docutils/parsers/rst/include/isoamsc.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isoamsn.txt b/docutils/docutils/parsers/rst/include/isoamsn.txt index 65389e8d5..23ef7a7a8 100644 --- a/docutils/docutils/parsers/rst/include/isoamsn.txt +++ b/docutils/docutils/parsers/rst/include/isoamsn.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isoamso.txt b/docutils/docutils/parsers/rst/include/isoamso.txt index f17e16bc6..e33abd1ce 100644 --- a/docutils/docutils/parsers/rst/include/isoamso.txt +++ b/docutils/docutils/parsers/rst/include/isoamso.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isoamsr.txt b/docutils/docutils/parsers/rst/include/isoamsr.txt index 7d3c1aace..1781f880b 100644 --- a/docutils/docutils/parsers/rst/include/isoamsr.txt +++ b/docutils/docutils/parsers/rst/include/isoamsr.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isobox.txt b/docutils/docutils/parsers/rst/include/isobox.txt index 17d45bc67..546601edd 100644 --- a/docutils/docutils/parsers/rst/include/isobox.txt +++ b/docutils/docutils/parsers/rst/include/isobox.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isocyr1.txt b/docutils/docutils/parsers/rst/include/isocyr1.txt index 5e0a18f53..fe70c66b8 100644 --- a/docutils/docutils/parsers/rst/include/isocyr1.txt +++ b/docutils/docutils/parsers/rst/include/isocyr1.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isocyr2.txt b/docutils/docutils/parsers/rst/include/isocyr2.txt index a78190c03..3edb04617 100644 --- a/docutils/docutils/parsers/rst/include/isocyr2.txt +++ b/docutils/docutils/parsers/rst/include/isocyr2.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isodia.txt b/docutils/docutils/parsers/rst/include/isodia.txt index cfe403abf..d95486f7f 100644 --- a/docutils/docutils/parsers/rst/include/isodia.txt +++ b/docutils/docutils/parsers/rst/include/isodia.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isogrk1.txt b/docutils/docutils/parsers/rst/include/isogrk1.txt index 22a414bb4..c0c7da71b 100644 --- a/docutils/docutils/parsers/rst/include/isogrk1.txt +++ b/docutils/docutils/parsers/rst/include/isogrk1.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isogrk2.txt b/docutils/docutils/parsers/rst/include/isogrk2.txt index 4b4090ecd..e62f633ba 100644 --- a/docutils/docutils/parsers/rst/include/isogrk2.txt +++ b/docutils/docutils/parsers/rst/include/isogrk2.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isogrk3.txt b/docutils/docutils/parsers/rst/include/isogrk3.txt index 54d212f2c..777687c9b 100644 --- a/docutils/docutils/parsers/rst/include/isogrk3.txt +++ b/docutils/docutils/parsers/rst/include/isogrk3.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isogrk4-wide.txt b/docutils/docutils/parsers/rst/include/isogrk4-wide.txt index c0e0238df..ad682f675 100644 --- a/docutils/docutils/parsers/rst/include/isogrk4-wide.txt +++ b/docutils/docutils/parsers/rst/include/isogrk4-wide.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isogrk4.txt b/docutils/docutils/parsers/rst/include/isogrk4.txt index 836b6bd77..2ac194a9a 100644 --- a/docutils/docutils/parsers/rst/include/isogrk4.txt +++ b/docutils/docutils/parsers/rst/include/isogrk4.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isolat1.txt b/docutils/docutils/parsers/rst/include/isolat1.txt index 4e4202b7a..24ed6b6ce 100644 --- a/docutils/docutils/parsers/rst/include/isolat1.txt +++ b/docutils/docutils/parsers/rst/include/isolat1.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isolat2.txt b/docutils/docutils/parsers/rst/include/isolat2.txt index 808ef9376..aef1adf9f 100644 --- a/docutils/docutils/parsers/rst/include/isolat2.txt +++ b/docutils/docutils/parsers/rst/include/isolat2.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isomfrk-wide.txt b/docutils/docutils/parsers/rst/include/isomfrk-wide.txt index 73768bccd..3fb19c1fa 100644 --- a/docutils/docutils/parsers/rst/include/isomfrk-wide.txt +++ b/docutils/docutils/parsers/rst/include/isomfrk-wide.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isomfrk.txt b/docutils/docutils/parsers/rst/include/isomfrk.txt index 81dd4b6e0..b9bc1a01e 100644 --- a/docutils/docutils/parsers/rst/include/isomfrk.txt +++ b/docutils/docutils/parsers/rst/include/isomfrk.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isomopf-wide.txt b/docutils/docutils/parsers/rst/include/isomopf-wide.txt index 2c16866ea..a2b1d77ad 100644 --- a/docutils/docutils/parsers/rst/include/isomopf-wide.txt +++ b/docutils/docutils/parsers/rst/include/isomopf-wide.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isomopf.txt b/docutils/docutils/parsers/rst/include/isomopf.txt index 03c6a0d24..6382133ab 100644 --- a/docutils/docutils/parsers/rst/include/isomopf.txt +++ b/docutils/docutils/parsers/rst/include/isomopf.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isomscr-wide.txt b/docutils/docutils/parsers/rst/include/isomscr-wide.txt index acfe7a008..c30f988c7 100644 --- a/docutils/docutils/parsers/rst/include/isomscr-wide.txt +++ b/docutils/docutils/parsers/rst/include/isomscr-wide.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isomscr.txt b/docutils/docutils/parsers/rst/include/isomscr.txt index 951577e8f..0548b2da7 100644 --- a/docutils/docutils/parsers/rst/include/isomscr.txt +++ b/docutils/docutils/parsers/rst/include/isomscr.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isonum.txt b/docutils/docutils/parsers/rst/include/isonum.txt index 0d280c980..50f62b1ca 100644 --- a/docutils/docutils/parsers/rst/include/isonum.txt +++ b/docutils/docutils/parsers/rst/include/isonum.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isopub.txt b/docutils/docutils/parsers/rst/include/isopub.txt index 78e12513e..079d0c109 100644 --- a/docutils/docutils/parsers/rst/include/isopub.txt +++ b/docutils/docutils/parsers/rst/include/isopub.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/isotech.txt b/docutils/docutils/parsers/rst/include/isotech.txt index 9b01eaad2..57ca97f33 100644 --- a/docutils/docutils/parsers/rst/include/isotech.txt +++ b/docutils/docutils/parsers/rst/include/isotech.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/mmlalias.txt b/docutils/docutils/parsers/rst/include/mmlalias.txt index 49c23ca7d..40929002e 100644 --- a/docutils/docutils/parsers/rst/include/mmlalias.txt +++ b/docutils/docutils/parsers/rst/include/mmlalias.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/mmlextra-wide.txt b/docutils/docutils/parsers/rst/include/mmlextra-wide.txt index f45fc8cbe..3a15c95e2 100644 --- a/docutils/docutils/parsers/rst/include/mmlextra-wide.txt +++ b/docutils/docutils/parsers/rst/include/mmlextra-wide.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/mmlextra.txt b/docutils/docutils/parsers/rst/include/mmlextra.txt index 272624739..8a1f91b82 100644 --- a/docutils/docutils/parsers/rst/include/mmlextra.txt +++ b/docutils/docutils/parsers/rst/include/mmlextra.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/xhtml1-lat1.txt b/docutils/docutils/parsers/rst/include/xhtml1-lat1.txt index 1cae194e0..e4fd45a97 100644 --- a/docutils/docutils/parsers/rst/include/xhtml1-lat1.txt +++ b/docutils/docutils/parsers/rst/include/xhtml1-lat1.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/xhtml1-special.txt b/docutils/docutils/parsers/rst/include/xhtml1-special.txt index b19c0b511..ee500267c 100644 --- a/docutils/docutils/parsers/rst/include/xhtml1-special.txt +++ b/docutils/docutils/parsers/rst/include/xhtml1-special.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/parsers/rst/include/xhtml1-symbol.txt b/docutils/docutils/parsers/rst/include/xhtml1-symbol.txt index 1f9359056..8217c40d3 100644 --- a/docutils/docutils/parsers/rst/include/xhtml1-symbol.txt +++ b/docutils/docutils/parsers/rst/include/xhtml1-symbol.txt @@ -1,6 +1,6 @@ .. This data file has been placed in the public domain. .. Derived from the Unicode character mappings available from - . + . Processed by unicode2rstsubs.py, part of Docutils: . diff --git a/docutils/docutils/utils/__init__.py b/docutils/docutils/utils/__init__.py index 95a0baf9b..79c88d4d9 100644 --- a/docutils/docutils/utils/__init__.py +++ b/docutils/docutils/utils/__init__.py @@ -339,7 +339,7 @@ def decode_path(path): Decode file/path string in a failsafe manner if not already done. """ - # see also http://article.gmane.org/gmane.text.docutils.user/2905 + # see also https://article.gmane.org/gmane.text.docutils.user/2905 # TODO: is this still required with Python 3? if isinstance(path, str): return path diff --git a/docutils/docutils/utils/error_reporting.py b/docutils/docutils/utils/error_reporting.py index 0b34319a9..77fd86c3f 100644 --- a/docutils/docutils/utils/error_reporting.py +++ b/docutils/docutils/utils/error_reporting.py @@ -32,7 +32,7 @@ * In Python <= 2.6, ``unicode()`` uses `__str__` and fails with non-ASCII chars in`unicode` arguments. - (work around http://bugs.python.org/issue2517): + (work around https://bugs.python.org/issue2517): * In Python 2, unicode() fails, with non-ASCII chars in arguments. (Use case: in some locales, the errstr @@ -67,7 +67,7 @@ # has side-effects | might return a wrong guess. # (cf. Update 1 in http://stackoverflow.com/questions/4082645/using-python-2-xs-locale-module-to-format-numbers-and-currency) except ValueError as error: # OS X may set UTF-8 without language code - # see http://bugs.python.org/issue18378 + # see https://bugs.python.org/issue18378 # and https://sourceforge.net/p/docutils/bugs/298/ if "unknown locale: UTF-8" in error.args: locale_encoding = "UTF-8" @@ -123,7 +123,7 @@ def __unicode__(self): Try ``unicode(self.data)``, catch `UnicodeError` and * if `self.data` is an Exception instance, work around - http://bugs.python.org/issue2517 with an emulation of + https://bugs.python.org/issue2517 with an emulation of Exception.__unicode__, * else decode with `self.encoding` and `self.decoding_errors`. diff --git a/docutils/docutils/utils/math/latex2mathml.py b/docutils/docutils/utils/math/latex2mathml.py index 46c5ec798..13242f3f1 100644 --- a/docutils/docutils/utils/math/latex2mathml.py +++ b/docutils/docutils/utils/math/latex2mathml.py @@ -1315,7 +1315,7 @@ def tex2mathml(tex_math, inline=True): Set `inline` to False for displayed math. """ # Set up tree - math_tree = math(xmlns='http://www.w3.org/1998/Math/MathML') + math_tree = math(xmlns='https://www.w3.org/1998/Math/MathML') node = math_tree if not inline: math_tree['display'] = 'block' @@ -1329,15 +1329,15 @@ def tex2mathml(tex_math, inline=True): return math_tree.toprettyxml() # >>> print(tex2mathml('3')) -# +# # 3 # # >>> print(tex2mathml('3', inline=False)) -# +# # 3 # # >>> print(tex2mathml(r'a & b \\ c & d', inline=False)) -# +# # # # @@ -1358,7 +1358,7 @@ def tex2mathml(tex_math, inline=True): # # # >>> print(tex2mathml(r'a \\ b', inline=False)) -# +# # # # diff --git a/docutils/docutils/utils/math/tex2mathml_extern.py b/docutils/docutils/utils/math/tex2mathml_extern.py index 8fda1605b..8a61c9735 100644 --- a/docutils/docutils/utils/math/tex2mathml_extern.py +++ b/docutils/docutils/utils/math/tex2mathml_extern.py @@ -134,7 +134,7 @@ def blahtexml(math_code, inline=True, reporter=None): if reporter and (err.find('**** Error') >= 0 or not result): reporter.error(err) start, end = result.find('')+9, result.find('') - result = ('\n' + result = ('\n' '%s\n') % (mathmode_arg, result[start:end]) return result diff --git a/docutils/docutils/utils/roman.py b/docutils/docutils/utils/roman.py index dce927fba..a4d02a607 100644 --- a/docutils/docutils/utils/roman.py +++ b/docutils/docutils/utils/roman.py @@ -11,7 +11,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the Python 2.1.1 license, available at -http://www.python.org/2.1.1/license.html +https://www.python.org/2.1.1/license.html """ import re diff --git a/docutils/docutils/utils/smartquotes.py b/docutils/docutils/utils/smartquotes.py index 74a8537ec..ad8e7e6ef 100644 --- a/docutils/docutils/utils/smartquotes.py +++ b/docutils/docutils/utils/smartquotes.py @@ -32,7 +32,7 @@ characters, it works for any output format that supports Unicode. * Supports `language specific quote characters`__. -__ http://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks +__ https://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks Authors @@ -391,7 +391,7 @@ class smartchars(object): apostrophe = u'’' # "’" RIGHT SINGLE QUOTATION MARK # quote characters (language-specific, set in __init__()) - # [1] http://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks + # [1] https://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks # [2] http://de.wikipedia.org/wiki/Anf%C3%BChrungszeichen#Andere_Sprachen # [3] https://fr.wikipedia.org/wiki/Guillemet # [4] http://typographisme.net/post/Les-espaces-typographiques-et-le-web diff --git a/docutils/docutils/utils/urischemes.py b/docutils/docutils/utils/urischemes.py index 3f04f2b3e..059b47d53 100644 --- a/docutils/docutils/utils/urischemes.py +++ b/docutils/docutils/utils/urischemes.py @@ -6,7 +6,7 @@ `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.org/assignments/uri-schemes (revised 2005-11-28) -and an older list at http://www.w3.org/Addressing/schemes.html. +and an older list at https://www.w3.org/Addressing/schemes.html. """ # Many values are blank and should be filled in with useful descriptions. diff --git a/docutils/docutils/writers/_html_base.py b/docutils/docutils/writers/_html_base.py index 38e08684d..02e18ca4b 100644 --- a/docutils/docutils/writers/_html_base.py +++ b/docutils/docutils/writers/_html_base.py @@ -234,7 +234,7 @@ def depart_example(self, node): doctype = '\n' doctype_mathml = doctype - head_prefix_template = ('\n\n') content_type = '\n' generator = ('\n') + ' "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n') content_type = ('\n') diff --git a/docutils/docutils/writers/html5_polyglot/__init__.py b/docutils/docutils/writers/html5_polyglot/__init__.py index 5ef759c0a..d4996a484 100644 --- a/docutils/docutils/writers/html5_polyglot/__init__.py +++ b/docutils/docutils/writers/html5_polyglot/__init__.py @@ -14,7 +14,7 @@ # .. _2-Clause BSD license: https://opensource.org/licenses/BSD-2-Clause # Use "best practice" as recommended by the W3C: -# http://www.w3.org/2009/cheatsheet/ +# https://www.w3.org/2009/cheatsheet/ """ Plain HyperText Markup Language document tree Writer. diff --git a/docutils/docutils/writers/html5_polyglot/plain.css b/docutils/docutils/writers/html5_polyglot/plain.css index 0ed997925..d5720743d 100644 --- a/docutils/docutils/writers/html5_polyglot/plain.css +++ b/docutils/docutils/writers/html5_polyglot/plain.css @@ -14,7 +14,7 @@ /* This file is offered as-is, without any warranty. */ /* */ /* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */ -/* .. _CSS3: http://www.w3.org/TR/CSS3 */ +/* .. _CSS3: https://www.w3.org/TR/CSS3 */ /* Document Structure */ diff --git a/docutils/docutils/writers/html5_polyglot/responsive.css b/docutils/docutils/writers/html5_polyglot/responsive.css index 19dab8cf3..1c8c59074 100644 --- a/docutils/docutils/writers/html5_polyglot/responsive.css +++ b/docutils/docutils/writers/html5_polyglot/responsive.css @@ -15,7 +15,7 @@ /* This file is offered as-is, without any warranty. */ /* */ /* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */ -/* .. _CSS3: http://www.w3.org/TR/CSS3 */ +/* .. _CSS3: https://www.w3.org/TR/CSS3 */ /* Note: */ /* This style sheet is provisional: */ diff --git a/docutils/docutils/writers/html5_polyglot/tuftig.css b/docutils/docutils/writers/html5_polyglot/tuftig.css index fe3e86ec9..cb023397d 100644 --- a/docutils/docutils/writers/html5_polyglot/tuftig.css +++ b/docutils/docutils/writers/html5_polyglot/tuftig.css @@ -17,7 +17,7 @@ /* This file is offered as-is, without any warranty. */ /* */ /* .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause */ -/* .. _CSS3: http://www.w3.org/TR/CSS3 */ +/* .. _CSS3: https://www.w3.org/TR/CSS3 */ /* .. _tufte.css: https://edwardtufte.github.io/tufte-css/ */ /* .. _tufte-latex_: https://www.ctan.org/pkg/tufte-latex */ diff --git a/docutils/docutils/writers/latex2e/__init__.py b/docutils/docutils/writers/latex2e/__init__.py index 75b889f42..00be00bc8 100644 --- a/docutils/docutils/writers/latex2e/__init__.py +++ b/docutils/docutils/writers/latex2e/__init__.py @@ -304,12 +304,12 @@ class Babel(object): # ! not all of these are supported by Docutils! # # based on LyX' languages file with adaptions to `BCP 47`_ - # (http://www.rfc-editor.org/rfc/bcp/bcp47.txt) and + # (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) and # http://www.tug.org/TUGboat/Articles/tb29-3/tb93miklavec.pdf # * the key without subtags is the default # * case is ignored # cf. https://docutils.sourceforge.io/docs/howto/i18n.html - # http://www.w3.org/International/articles/language-tags/ + # https://www.w3.org/International/articles/language-tags/ # and http://www.iana.org/assignments/language-subtag-registry language_codes = { # code TeX/Babel-name comment diff --git a/docutils/docutils/writers/odf_odt/__init__.py b/docutils/docutils/writers/odf_odt/__init__.py index 74b35c4b2..d9da329cb 100644 --- a/docutils/docutils/writers/odf_odt/__init__.py +++ b/docutils/docutils/writers/odf_odt/__init__.py @@ -106,12 +106,12 @@ def getparent(self): #'office:version': '1.0', 'chart': 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0', 'dc': 'http://purl.org/dc/elements/1.1/', - 'dom': 'http://www.w3.org/2001/xml-events', + 'dom': 'https://www.w3.org/2001/xml-events', 'dr3d': 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0', 'draw': 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0', 'fo': 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0', 'form': 'urn:oasis:names:tc:opendocument:xmlns:form:1.0', - 'math': 'http://www.w3.org/1998/Math/MathML', + 'math': 'https://www.w3.org/1998/Math/MathML', 'meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0', 'number': 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0', 'office': NAME_SPACE_1, @@ -125,22 +125,22 @@ def getparent(self): 'svg': 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0', 'table': 'urn:oasis:names:tc:opendocument:xmlns:table:1.0', 'text': 'urn:oasis:names:tc:opendocument:xmlns:text:1.0', - 'xforms': 'http://www.w3.org/2002/xforms', - 'xlink': 'http://www.w3.org/1999/xlink', - 'xsd': 'http://www.w3.org/2001/XMLSchema', - 'xsi': 'http://www.w3.org/2001/XMLSchema-instance', + 'xforms': 'https://www.w3.org/2002/xforms', + 'xlink': 'https://www.w3.org/1999/xlink', + 'xsd': 'https://www.w3.org/2001/XMLSchema', + 'xsi': 'https://www.w3.org/2001/XMLSchema-instance', } STYLES_NAMESPACE_DICT = SNSD = { #'office:version': '1.0', 'chart': 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0', 'dc': 'http://purl.org/dc/elements/1.1/', - 'dom': 'http://www.w3.org/2001/xml-events', + 'dom': 'https://www.w3.org/2001/xml-events', 'dr3d': 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0', 'draw': 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0', 'fo': 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0', 'form': 'urn:oasis:names:tc:opendocument:xmlns:form:1.0', - 'math': 'http://www.w3.org/1998/Math/MathML', + 'math': 'https://www.w3.org/1998/Math/MathML', 'meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0', 'number': 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0', 'office': NAME_SPACE_1, @@ -153,7 +153,7 @@ def getparent(self): 'svg': 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0', 'table': 'urn:oasis:names:tc:opendocument:xmlns:table:1.0', 'text': 'urn:oasis:names:tc:opendocument:xmlns:text:1.0', - 'xlink': 'http://www.w3.org/1999/xlink', + 'xlink': 'https://www.w3.org/1999/xlink', } MANIFEST_NAMESPACE_DICT = MANNSD = { @@ -166,7 +166,7 @@ def getparent(self): 'meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0', 'office': NAME_SPACE_1, 'ooo': 'http://openoffice.org/2004/office', - 'xlink': 'http://www.w3.org/1999/xlink', + 'xlink': 'https://www.w3.org/1999/xlink', } # Attribute dictionaries for use with ElementTree, which @@ -176,12 +176,12 @@ def getparent(self): #'office:version': '1.0', 'xmlns:chart': 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0', 'xmlns:dc': 'http://purl.org/dc/elements/1.1/', - 'xmlns:dom': 'http://www.w3.org/2001/xml-events', + 'xmlns:dom': 'https://www.w3.org/2001/xml-events', 'xmlns:dr3d': 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0', 'xmlns:draw': 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0', 'xmlns:fo': 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0', 'xmlns:form': 'urn:oasis:names:tc:opendocument:xmlns:form:1.0', - 'xmlns:math': 'http://www.w3.org/1998/Math/MathML', + 'xmlns:math': 'https://www.w3.org/1998/Math/MathML', 'xmlns:meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0', 'xmlns:number': 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0', 'xmlns:office': NAME_SPACE_1, @@ -195,22 +195,22 @@ def getparent(self): 'xmlns:svg': 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0', 'xmlns:table': 'urn:oasis:names:tc:opendocument:xmlns:table:1.0', 'xmlns:text': 'urn:oasis:names:tc:opendocument:xmlns:text:1.0', - 'xmlns:xforms': 'http://www.w3.org/2002/xforms', - 'xmlns:xlink': 'http://www.w3.org/1999/xlink', - 'xmlns:xsd': 'http://www.w3.org/2001/XMLSchema', - 'xmlns:xsi': 'http://www.w3.org/2001/XMLSchema-instance', + 'xmlns:xforms': 'https://www.w3.org/2002/xforms', + 'xmlns:xlink': 'https://www.w3.org/1999/xlink', + 'xmlns:xsd': 'https://www.w3.org/2001/XMLSchema', + 'xmlns:xsi': 'https://www.w3.org/2001/XMLSchema-instance', } STYLES_NAMESPACE_ATTRIB = { #'office:version': '1.0', 'xmlns:chart': 'urn:oasis:names:tc:opendocument:xmlns:chart:1.0', 'xmlns:dc': 'http://purl.org/dc/elements/1.1/', - 'xmlns:dom': 'http://www.w3.org/2001/xml-events', + 'xmlns:dom': 'https://www.w3.org/2001/xml-events', 'xmlns:dr3d': 'urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0', 'xmlns:draw': 'urn:oasis:names:tc:opendocument:xmlns:drawing:1.0', 'xmlns:fo': 'urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0', 'xmlns:form': 'urn:oasis:names:tc:opendocument:xmlns:form:1.0', - 'xmlns:math': 'http://www.w3.org/1998/Math/MathML', + 'xmlns:math': 'https://www.w3.org/1998/Math/MathML', 'xmlns:meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0', 'xmlns:number': 'urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0', 'xmlns:office': NAME_SPACE_1, @@ -224,7 +224,7 @@ def getparent(self): 'xmlns:svg': 'urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0', 'xmlns:table': 'urn:oasis:names:tc:opendocument:xmlns:table:1.0', 'xmlns:text': 'urn:oasis:names:tc:opendocument:xmlns:text:1.0', - 'xmlns:xlink': 'http://www.w3.org/1999/xlink', + 'xmlns:xlink': 'https://www.w3.org/1999/xlink', } MANIFEST_NAMESPACE_ATTRIB = { @@ -237,7 +237,7 @@ def getparent(self): 'xmlns:meta': 'urn:oasis:names:tc:opendocument:xmlns:meta:1.0', 'xmlns:office': NAME_SPACE_1, 'xmlns:ooo': 'http://openoffice.org/2004/office', - 'xmlns:xlink': 'http://www.w3.org/1999/xlink', + 'xmlns:xlink': 'https://www.w3.org/1999/xlink', } diff --git a/docutils/docutils/writers/pep_html/__init__.py b/docutils/docutils/writers/pep_html/__init__.py index 3c9115b8b..d48cb29c9 100644 --- a/docutils/docutils/writers/pep_html/__init__.py +++ b/docutils/docutils/writers/pep_html/__init__.py @@ -37,9 +37,9 @@ class Writer(html4css1.Writer): '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': ''}), + {'default': 'https://www.python.org', 'metavar': ''}), ('Home URL prefix for PEPs. Default is "." (current directory).', ['--pep-home'], {'default': '.', 'metavar': ''}), diff --git a/docutils/docutils/writers/pep_html/pep.css b/docutils/docutils/writers/pep_html/pep.css index d75dff1d8..9e0a3e7f2 100644 --- a/docutils/docutils/writers/pep_html/pep.css +++ b/docutils/docutils/writers/pep_html/pep.css @@ -10,7 +10,7 @@ Default cascading style sheet for the PEP HTML output of Docutils. /* "! important" is used here to override other ``margin-top`` and ``margin-bottom`` styles that are later in the stylesheet or - more specific. See http://www.w3.org/TR/CSS1#the-cascade */ + more specific. See https://www.w3.org/TR/CSS1#the-cascade */ .first { margin-top: 0 ! important } diff --git a/docutils/docutils/writers/pep_html/template.txt b/docutils/docutils/writers/pep_html/template.txt index ec18d8812..7562213b5 100644 --- a/docutils/docutils/writers/pep_html/template.txt +++ b/docutils/docutils/writers/pep_html/template.txt @@ -1,9 +1,9 @@ - - + + diff --git a/docutils/licenses/gpl-3-0.txt b/docutils/licenses/gpl-3-0.txt index 94a9ed024..2a000655e 100644 --- a/docutils/licenses/gpl-3-0.txt +++ b/docutils/licenses/gpl-3-0.txt @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. +. diff --git a/docutils/licenses/python-2-1-1.txt b/docutils/licenses/python-2-1-1.txt index 7664787d1..322302e92 100644 --- a/docutils/licenses/python-2-1-1.txt +++ b/docutils/licenses/python-2-1-1.txt @@ -28,7 +28,7 @@ other PythonLabs developers joined Digital Creations. All intellectual property added from this point on, starting with Python 2.1 and its alpha and beta releases, is owned by the Python Software Foundation (PSF), a non-profit modeled after the Apache Software -Foundation. See http://www.python.org/psf/ for more information about +Foundation. See https://www.python.org/psf/ for more information about the PSF. Thanks to the many outside volunteers who have worked under Guido's diff --git a/docutils/test/DocutilsTestSupport.py b/docutils/test/DocutilsTestSupport.py index ff8106956..72e1832a4 100644 --- a/docutils/test/DocutilsTestSupport.py +++ b/docutils/test/DocutilsTestSupport.py @@ -750,7 +750,7 @@ def test_publish(self): standard_meta_value = standard_html_meta_value % 'utf-8' standard_html_prolog = """\ - + """ def format_output(self, parts): diff --git a/docutils/test/data/config_1.txt b/docutils/test/data/config_1.txt index ffb82a9b6..d130e76a5 100644 --- a/docutils/test/data/config_1.txt +++ b/docutils/test/data/config_1.txt @@ -22,5 +22,5 @@ stylesheet-path: stylesheets/default.css template: pep-html-template stylesheet-path: stylesheets/pep.css -python-home: http://www.python.org +python-home: https://www.python.org no-random: yes diff --git a/docutils/test/data/config_old.txt b/docutils/test/data/config_old.txt index fa07d6dab..99f436280 100644 --- a/docutils/test/data/config_old.txt +++ b/docutils/test/data/config_old.txt @@ -10,5 +10,5 @@ stylesheet-path: stylesheets/default.css pep-template: pep-html-template pep-stylesheet-path: stylesheets/pep.css -python-home: http://www.python.org +python-home: https://www.python.org no-random: 1 diff --git a/docutils/test/functional/expected/compact_lists.html b/docutils/test/functional/expected/compact_lists.html index 28250df6c..6928e451e 100644 --- a/docutils/test/functional/expected/compact_lists.html +++ b/docutils/test/functional/expected/compact_lists.html @@ -1,6 +1,6 @@ - - + + diff --git a/docutils/test/functional/expected/dangerous.html b/docutils/test/functional/expected/dangerous.html index f8a35f63e..096f03586 100644 --- a/docutils/test/functional/expected/dangerous.html +++ b/docutils/test/functional/expected/dangerous.html @@ -1,6 +1,6 @@ - - + + diff --git a/docutils/test/functional/expected/embed_images_html5.html b/docutils/test/functional/expected/embed_images_html5.html index 3d134c2e3..c9e989af2 100644 --- a/docutils/test/functional/expected/embed_images_html5.html +++ b/docutils/test/functional/expected/embed_images_html5.html @@ -1,5 +1,5 @@ - + diff --git a/docutils/test/functional/expected/field_name_limit.html b/docutils/test/functional/expected/field_name_limit.html index 121e1dd95..6cd3cf459 100644 --- a/docutils/test/functional/expected/field_name_limit.html +++ b/docutils/test/functional/expected/field_name_limit.html @@ -1,6 +1,6 @@ - - + + diff --git a/docutils/test/functional/expected/footnotes_html5.html b/docutils/test/functional/expected/footnotes_html5.html index 5d83d7697..8b02bbf52 100644 --- a/docutils/test/functional/expected/footnotes_html5.html +++ b/docutils/test/functional/expected/footnotes_html5.html @@ -1,5 +1,5 @@ - + diff --git a/docutils/test/functional/expected/latex_cornercases.tex b/docutils/test/functional/expected/latex_cornercases.tex index d1bd0134d..8f5052ae0 100644 --- a/docutils/test/functional/expected/latex_cornercases.tex +++ b/docutils/test/functional/expected/latex_cornercases.tex @@ -933,9 +933,9 @@ \section{External references% and not recognized as part of it: \begin{DUlineblock}{0em} -\item[] \url{http://www.example.org}/strange\textasciicircum{}\textasciicircum{}name -\item[] \url{http://www.example.org}\textbackslash{}using\textbackslash{}DOS\textbackslash{}paths\textbackslash{} -\item[] \url{http://www.example.org/XML}/strange\{n\}ame +\item[] \url{https://www.example.org}/strange\textasciicircum{}\textasciicircum{}name +\item[] \url{https://www.example.org}\textbackslash{}using\textbackslash{}DOS\textbackslash{}paths\textbackslash{} +\item[] \url{https://www.example.org/XML}/strange\{n\}ame \end{DUlineblock} They can, however be used in paths and/or filenames. @@ -946,10 +946,10 @@ \section{External references% \item \texttt{\#}, \texttt{\textbackslash{}} and \texttt{\%} are escaped: \begin{DUlineblock}{0em} -\item[] \href{http://www.w3.org/XML/Schema\#dev}{URL with \#} -\url{http://www.w3.org/XML/Schema\#dev} -\item[] \href{http://www.w3.org/XML/Schema\%dev}{URL with \%} -\url{http://example.org/Schema\%dev} +\item[] \href{https://www.w3.org/XML/Schema\#dev}{URL with \#} +\url{https://www.w3.org/XML/Schema\#dev} +\item[] \href{https://www.w3.org/XML/Schema\%dev}{URL with \%} +\url{https://example.org/Schema\%dev} \item[] \href{A:DOS\\path\\}{file with DOS path} \url{A:DOS\\path\\} \end{DUlineblock} @@ -960,8 +960,8 @@ \section{External references% These URLs are typeset inside a LaTeX command without error. \begin{DUlineblock}{0em} -\item[] \url{http://www.w3.org/XML/Schema\#dev} -\item[] \url{http://example.org/Schema\%dev} +\item[] \url{https://www.w3.org/XML/Schema\#dev} +\item[] \url{https://example.org/Schema\%dev} \item[] \url{A:DOS\\path\\} \end{DUlineblock} \end{DUadmonition} diff --git a/docutils/test/functional/expected/latex_literal_block.tex b/docutils/test/functional/expected/latex_literal_block.tex index 5767fe5a8..1a6db2b42 100644 --- a/docutils/test/functional/expected/latex_literal_block.tex +++ b/docutils/test/functional/expected/latex_literal_block.tex @@ -128,8 +128,8 @@ \begin{quote} \ttfamily\raggedright ~~~\emph{emphasis},~\textbf{strong~emphasis},~\texttt{inline~literals},\\ -standalone~hyperlinks~(\url{http://www.python.org}),\\ -\hyperref[internal]{internal}~and~\href{http://www.python.org/}{external}~hyperlinks,\\ +standalone~hyperlinks~(\url{https://www.python.org}),\\ +\hyperref[internal]{internal}~and~\href{https://www.python.org/}{external}~hyperlinks,\\ % \phantomsection\label{internal}internal~hyperlink~targets,\\ images~via~substitution~references~(\includegraphics{../../../docs/user/rst/images/biohazard.png}),\\ @@ -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)$,\\ diff --git a/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex b/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex index 6933d5aeb..81fbbe909 100644 --- a/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex +++ b/docutils/test/functional/expected/latex_literal_block_fancyvrb.tex @@ -128,8 +128,8 @@ \begin{quote} \ttfamily\raggedright ~~~\emph{emphasis},~\textbf{strong~emphasis},~\texttt{inline~literals},\\ -standalone~hyperlinks~(\url{http://www.python.org}),\\ -\hyperref[internal]{internal}~and~\href{http://www.python.org/}{external}~hyperlinks,\\ +standalone~hyperlinks~(\url{https://www.python.org}),\\ +\hyperref[internal]{internal}~and~\href{https://www.python.org/}{external}~hyperlinks,\\ % \phantomsection\label{internal}internal~hyperlink~targets,\\ images~via~substitution~references~(\includegraphics{../../../docs/user/rst/images/biohazard.png}),\\ @@ -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)$,\\ diff --git a/docutils/test/functional/expected/latex_literal_block_listings.tex b/docutils/test/functional/expected/latex_literal_block_listings.tex index f0e38a073..58d80eef3 100644 --- a/docutils/test/functional/expected/latex_literal_block_listings.tex +++ b/docutils/test/functional/expected/latex_literal_block_listings.tex @@ -131,8 +131,8 @@ \begin{quote} \ttfamily\raggedright ~~~\emph{emphasis},~\textbf{strong~emphasis},~\texttt{inline~literals},\\ -standalone~hyperlinks~(\url{http://www.python.org}),\\ -\hyperref[internal]{internal}~and~\href{http://www.python.org/}{external}~hyperlinks,\\ +standalone~hyperlinks~(\url{https://www.python.org}),\\ +\hyperref[internal]{internal}~and~\href{https://www.python.org/}{external}~hyperlinks,\\ % \phantomsection\label{internal}internal~hyperlink~targets,\\ images~via~substitution~references~(\includegraphics{../../../docs/user/rst/images/biohazard.png}),\\ @@ -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)$,\\ diff --git a/docutils/test/functional/expected/latex_literal_block_verbatim.tex b/docutils/test/functional/expected/latex_literal_block_verbatim.tex index 863d2b417..a90057c05 100644 --- a/docutils/test/functional/expected/latex_literal_block_verbatim.tex +++ b/docutils/test/functional/expected/latex_literal_block_verbatim.tex @@ -127,8 +127,8 @@ \begin{quote} \ttfamily\raggedright ~~~\emph{emphasis},~\textbf{strong~emphasis},~\texttt{inline~literals},\\ -standalone~hyperlinks~(\url{http://www.python.org}),\\ -\hyperref[internal]{internal}~and~\href{http://www.python.org/}{external}~hyperlinks,\\ +standalone~hyperlinks~(\url{https://www.python.org}),\\ +\hyperref[internal]{internal}~and~\href{https://www.python.org/}{external}~hyperlinks,\\ % \phantomsection\label{internal}internal~hyperlink~targets,\\ images~via~substitution~references~(\includegraphics{../../../docs/user/rst/images/biohazard.png}),\\ @@ -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)$,\\ diff --git a/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex b/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex index f03f90a11..dc0413841 100644 --- a/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex +++ b/docutils/test/functional/expected/latex_literal_block_verbatimtab.tex @@ -128,8 +128,8 @@ \begin{quote} \ttfamily\raggedright ~~~\emph{emphasis},~\textbf{strong~emphasis},~\texttt{inline~literals},\\ -standalone~hyperlinks~(\url{http://www.python.org}),\\ -\hyperref[internal]{internal}~and~\href{http://www.python.org/}{external}~hyperlinks,\\ +standalone~hyperlinks~(\url{https://www.python.org}),\\ +\hyperref[internal]{internal}~and~\href{https://www.python.org/}{external}~hyperlinks,\\ % \phantomsection\label{internal}internal~hyperlink~targets,\\ images~via~substitution~references~(\includegraphics{../../../docs/user/rst/images/biohazard.png}),\\ @@ -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)$,\\ diff --git a/docutils/test/functional/expected/latex_memoir.tex b/docutils/test/functional/expected/latex_memoir.tex index c0e0e3902..357a8e20f 100644 --- a/docutils/test/functional/expected/latex_memoir.tex +++ b/docutils/test/functional/expected/latex_memoir.tex @@ -330,9 +330,9 @@ \subsection{2.1.1   Inline Markup% Paragraphs contain text and may contain inline markup: \emph{emphasis}, \textbf{strong emphasis}, \texttt{inline literals}, standalone hyperlinks -(\url{http://www.python.org}), external hyperlinks (\href{http://www.python.org/}{Python}\DUfootnotemark{footnote-reference-10}{footnote-6}{5}), internal +(\url{https://www.python.org}), external hyperlinks (\href{https://www.python.org/}{Python}\DUfootnotemark{footnote-reference-10}{footnote-6}{5}), internal cross-references (\hyperref[example]{example}), external hyperlinks with embedded URIs -(\href{http://www.python.org}{Python web site}), \href{http://www.python.org/}{anonymous hyperlink +(\href{https://www.python.org}{Python web site}), \href{https://www.python.org/}{anonymous hyperlink references}\DUfootnotemark{footnote-reference-16}{footnote-6}{5} (\href{https://docutils.sourceforge.io/}{a second reference}\DUfootnotemark{footnote-reference-17}{footnote-9}{8}), footnote references (manually numbered\DUfootnotemark{footnote-reference-1}{footnote-1}{1}, anonymous auto-numbered\DUfootnotemark{footnote-reference-2}{footnote-2}{3}, labeled auto-numbered\DUfootnotemark{footnote-reference-3}{label}{2}, or symbolic\DUfootnotemark{footnote-reference-4}{footnote-3}{*}), citation references (see \hyperlink{cit2002}{[CIT2002]}), substitution references (\includegraphics{../../../docs/user/rst/images/biohazard.png} \& @@ -345,8 +345,8 @@ \subsection{2.1.1   Inline Markup% 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}. @@ -771,7 +771,7 @@ \section{2.13   Targets% \hyperref[targets]{Targets}, which is a subsection of \hyperref[body-elements]{Body Elements}. Explicit external targets are interpolated into references such as -\textquotedbl{}\href{http://www.python.org/}{Python}\DUfootnotemark{footnote-reference-11}{footnote-6}{5}\textquotedbl{}. +\textquotedbl{}\href{https://www.python.org/}{Python}\DUfootnotemark{footnote-reference-11}{footnote-6}{5}\textquotedbl{}. Targets may be indirect and anonymous. Thus \hyperref[targets]{this phrase} may also refer to the \hyperref[targets]{Targets} section. @@ -1224,11 +1224,11 @@ \subsection{2.14.6   Target Footnotes% } % \DUfootnotetext{footnote-6}{footnote-reference-10}{5}{% -\url{http://www.python.org/} +\url{https://www.python.org/} } % \DUfootnotetext{footnote-7}{footnote-reference-13}{6}{% -\url{http://pygments.org/} +\url{https://pygments.org/} } % \DUfootnotetext{footnote-8}{footnote-reference-14}{7}{% @@ -1252,7 +1252,7 @@ \subsection{2.14.7   Replacement Text% \label{replacement-text}% } -I recommend you try \href{http://www.python.org/}{Python, \emph{the} best language around}\DUfootnotemark{footnote-reference-12}{footnote-6}{5}. +I recommend you try \href{https://www.python.org/}{Python, \emph{the} best language around}\DUfootnotemark{footnote-reference-12}{footnote-6}{5}. \subsection{2.14.8   Compound Paragraph% @@ -1404,7 +1404,7 @@ \subsection{2.14.9   Parsed Literal Blocks% text},~\textsubscript{sub-}~and~\textsuperscript{super}scripts,\\ inline~formulas:~$A = 2 \pi r^2$,\\ footnotes\DUfootnotemark{footnote-reference-9}{footnote-1}{1},~% -\phantomsection\label{hyperlink-targets}hyperlink~targets,~and~\href{http://www.python.org/}{references}. +\phantomsection\label{hyperlink-targets}hyperlink~targets,~and~\href{https://www.python.org/}{references}. \end{quote} @@ -1413,7 +1413,7 @@ \subsection{2.14.10   Code% } Blocks of source code can be set with the \DUroletitlereference{code} directive. If the code -language is specified, the content is parsed and tagged by the \href{http://pygments.org/}{Pygments}\DUfootnotemark{footnote-reference-13}{footnote-7}{6} +language is specified, the content is parsed and tagged by the \href{https://pygments.org/}{Pygments}\DUfootnotemark{footnote-reference-13}{footnote-7}{6} syntax highlighter and can be formatted with a style sheet. (Code parsing is turned off using the \texttt{syntax-highlight} config setting in the test conversions in order to get identical results with/without installed diff --git a/docutils/test/functional/expected/math_output_html.html b/docutils/test/functional/expected/math_output_html.html index d839df959..f0fe14c9e 100644 --- a/docutils/test/functional/expected/math_output_html.html +++ b/docutils/test/functional/expected/math_output_html.html @@ -1,6 +1,6 @@ - - + + diff --git a/docutils/test/functional/expected/math_output_latex.html b/docutils/test/functional/expected/math_output_latex.html index b335fa279..ec226a67f 100644 --- a/docutils/test/functional/expected/math_output_latex.html +++ b/docutils/test/functional/expected/math_output_latex.html @@ -1,6 +1,6 @@ - - + + diff --git a/docutils/test/functional/expected/math_output_mathjax.html b/docutils/test/functional/expected/math_output_mathjax.html index 9d37fc7d0..6b730c511 100644 --- a/docutils/test/functional/expected/math_output_mathjax.html +++ b/docutils/test/functional/expected/math_output_mathjax.html @@ -1,6 +1,6 @@ - - + + diff --git a/docutils/test/functional/expected/math_output_mathml.html b/docutils/test/functional/expected/math_output_mathml.html index 2d38a0d1e..53021a97d 100644 --- a/docutils/test/functional/expected/math_output_mathml.html +++ b/docutils/test/functional/expected/math_output_mathml.html @@ -1,5 +1,5 @@ - + @@ -13,7 +13,7 @@

Mathematics

Docutils supports inline math with the prefix or postfix :math: -role specificator, +role specificator, n ! + @@ -26,7 +26,7 @@

Mathematics

2 ) - and + and A c @@ -43,7 +43,7 @@

Mathematics

, as well as displayed math via the math directive:

- + f ( ϵ @@ -76,7 +76,7 @@

Mathematics

Content may start on the first line of the directive, e.g.

- + N = @@ -89,7 +89,7 @@

Mathematics

See eq:M and eq:schrödinger below.

The determinant of the matrix

- + M = @@ -116,7 +116,7 @@

Mathematics

-

is +

is | M | @@ -130,7 +130,7 @@

Mathematics

More than one display math block can be put in one math directive. For example, the following sum and integral with limits:

- + 0 @@ -154,7 +154,7 @@

Mathematics

- + @@ -183,7 +183,7 @@

Mathematics

directives:

The Schrödinger equation

- + i @@ -203,7 +203,7 @@

Mathematics

,
-

with the wave function +

with the wave function Ψ , describes how the quantum state of a physical system changes in time.

@@ -211,76 +211,76 @@

Mathematics

Math-Accents:
- - - - - - - - - - - -

+

a ´ \acute{a}

+

t ˙ \dot{t}

+

γ ˆ \hat{\gamma}

+

a ` \grave{a}

+

t ¨ \ddot{t}

+

α ˜ \tilde{\alpha}

+

x ˘ \breve{x}

+

t \dddot{t}

+

ı \vec{\imath}

+

a ˇ \check{a}

+

a ˉ \bar{a}

+

R @@ -295,7 +295,7 @@

Mathematics

\widehat{xxx} -->

Modulation Transfer Function:

- + MTF = @@ -391,7 +391,7 @@

Mathematics

\begin{...} \end{...} pair, the math code is wrapped in an AMSmath align environment:

- + @@ -460,7 +460,7 @@

Mathematics

Cases with the AMSmath cases environment:

- + sgn ( x diff --git a/docutils/test/functional/expected/misc_rst_html4css1.html b/docutils/test/functional/expected/misc_rst_html4css1.html index 6025e53a5..c6cb60a9d 100644 --- a/docutils/test/functional/expected/misc_rst_html4css1.html +++ b/docutils/test/functional/expected/misc_rst_html4css1.html @@ -1,6 +1,6 @@ - - + + diff --git a/docutils/test/functional/expected/misc_rst_html5.html b/docutils/test/functional/expected/misc_rst_html5.html index c554ee981..7f94dfd7e 100644 --- a/docutils/test/functional/expected/misc_rst_html5.html +++ b/docutils/test/functional/expected/misc_rst_html5.html @@ -1,5 +1,5 @@ - + diff --git a/docutils/test/functional/expected/pep_html.html b/docutils/test/functional/expected/pep_html.html index 4a9dca992..d8655377c 100644 --- a/docutils/test/functional/expected/pep_html.html +++ b/docutils/test/functional/expected/pep_html.html @@ -1,9 +1,9 @@ - - + + @@ -16,13 +16,13 @@
@@ -45,7 +45,7 @@ - + @@ -64,7 +64,7 @@

Abstract

-

This is just a test [1]. See the PEP repository [2] for the real +

This is just a test [1]. See the PEP repository [2] for the real thing.

Type:Standards Track
Content-Type:text/x-rst
Content-Type:text/x-rst
Created:01-Jun-2001
- +
[2]http://www.python.org/peps/
[2]https://www.python.org/peps/
diff --git a/docutils/test/functional/expected/standalone_rst_docutils_xml.xml b/docutils/test/functional/expected/standalone_rst_docutils_xml.xml index af43dc8e0..c8efc1aa2 100644 --- a/docutils/test/functional/expected/standalone_rst_docutils_xml.xml +++ b/docutils/test/functional/expected/standalone_rst_docutils_xml.xml @@ -240,9 +240,9 @@ They are transformed from section titles after parsing. <generated classes="sectnum">2.1.1   </generated>Inline Markup Paragraphs contain text and may contain inline markup: emphasis, strong emphasis, inline literals, standalone hyperlinks - (http://www.python.org), external hyperlinks (Python 5), internal + (https://www.python.org), external hyperlinks (Python 5), internal cross-references (example), external hyperlinks with embedded URIs - (Python web site), anonymous hyperlink + (Python web site), anonymous hyperlink references 5 (a second reference 7), footnote references (manually numbered 1, anonymous auto-numbered 3, labeled auto-numbered 2, or symbolic *), citation references (see CIT2002), @@ -252,11 +252,11 @@ They are transformed from section titles after parsing. inline markup is also possible (although exceedingly ugly!) in reStructuredText. Problems are indicated by |problematic| text (generated by processing errors; this one is intentional). Here is a reference to the doctitle and the subtitle. - + The default role for interpreted text is Title Reference. Here are - some explicit interpreted text roles: a PEP reference (PEP 287); an - RFC reference (RFC 2822); an abbreviation (abb.), an acronym + some explicit interpreted text roles: a PEP reference (PEP 287); an + RFC reference (RFC 2822); an abbreviation (abb.), an acronym (reST), code (print "hello world"); a subscript; a superscript and explicit roles for Docutils' standard inline markup. @@ -734,8 +734,8 @@ Python-specific usage examples; begun with ">>>" Section headers are implicit targets, referred to by name. See Targets, which is a subsection of Body Elements. Explicit external targets are interpolated into references such as - "Python 5". - + "Python 5". + Targets may be indirect and anonymous. Thus this phrase may also refer to the Targets section. @@ -1171,11 +1171,11 @@ Python-specific usage examples; begun with ">>>" <generated classes="sectnum">2.14.6   </generated>Target Footnotes - http://www.python.org/ + https://www.python.org/ - http://pygments.org/ + https://pygments.org/ @@ -1192,7 +1192,7 @@ Python-specific usage examples; begun with ">>>"
<generated classes="sectnum">2.14.7   </generated>Replacement Text - I recommend you try Python, the best language around 5. + I recommend you try Python, the best language around 5. Python, the best language around
@@ -1337,12 +1337,12 @@ This one starts with a literal block. Inline markup is supported, e.g. emphasis, strong, literal text, sub- and superscripts, inline formulas: A = 2 \pi r^2, -footnotes 1, hyperlink targets, and references. +footnotes 1, hyperlink targets, and references.
<generated classes="sectnum">2.14.10   </generated>Code Blocks of source code can be set with the code directive. If the code - language is specified, the content is parsed and tagged by the Pygments 6 + language is specified, the content is parsed and tagged by the Pygments 6 syntax highlighter and can be formatted with a style sheet. (Code parsing is turned off using the syntax-highlight config setting in the test conversions in order to get identical results with/without installed @@ -1363,7 +1363,7 @@ footnotes 1header_footer.txt with line numbers: 1 .. header:: Document header 2 .. footer:: Document footer - +
<generated classes="sectnum">2.14.11   </generated>Meta diff --git a/docutils/test/functional/expected/standalone_rst_html4css1.html b/docutils/test/functional/expected/standalone_rst_html4css1.html index 888bc3bbd..3eeb3b327 100644 --- a/docutils/test/functional/expected/standalone_rst_html4css1.html +++ b/docutils/test/functional/expected/standalone_rst_html4css1.html @@ -1,6 +1,6 @@ - - + + @@ -172,9 +172,9 @@

2.1   Paragraphs2.1.1   Inline Markup

Paragraphs contain text and may contain inline markup: emphasis, strong emphasis, inline literals, standalone hyperlinks -(http://www.python.org), external hyperlinks (Python [5]), internal +(https://www.python.org), external hyperlinks (Python [5]), internal cross-references (example), external hyperlinks with embedded URIs -(Python web site), anonymous hyperlink +(Python web site), anonymous hyperlink references [5] (a second reference [7]), footnote references (manually numbered [1], anonymous auto-numbered [3], labeled auto-numbered [2], or symbolic [*]), citation references (see [CIT2002]), @@ -185,8 +185,8 @@

2.1.1   Inline Mar (generated by processing errors; this one is intentional). Here is a reference to the doctitle and the subtitle.

The default role for interpreted text is Title Reference. Here are -some explicit interpreted text roles: a PEP reference (PEP 287); an -RFC reference (RFC 2822); an abbreviation (abb.), an acronym +some explicit interpreted text roles: a PEP reference (PEP 287); an +RFC reference (RFC 2822); an abbreviation (abb.), an acronym (reST), code (print "hello world"); a subscript; a superscript and explicit roles for Docutils' standard inline markup.

@@ -533,7 +533,7 @@

2.12   Citations<

Section headers are implicit targets, referred to by name. See Targets, which is a subsection of Body Elements.

Explicit external targets are interpolated into references such as -"Python [5]".

+"Python [5]".

Targets may be indirect and anonymous. Thus this phrase may also refer to the Targets section.

Here's a `hyperlink reference without a target`_, which generates an @@ -838,13 +838,13 @@

2.14.6   Target F - +
[5](1, 2, 3, 4) http://www.python.org/
[5](1, 2, 3, 4) https://www.python.org/
- +
[6]http://pygments.org/
[6]https://pygments.org/
@@ -868,7 +868,7 @@

2.14.6   Target F

2.14.10   Code

Blocks of source code can be set with the code directive. If the code -language is specified, the content is parsed and tagged by the Pygments [6] +language is specified, the content is parsed and tagged by the Pygments [6] syntax highlighter and can be formatted with a style sheet. (Code parsing is turned off using the syntax-highlight config setting in the test conversions in order to get identical results with/without installed @@ -1375,7 +1375,7 @@

Docutils System Messages

diff --git a/docutils/test/functional/expected/standalone_rst_html5.html b/docutils/test/functional/expected/standalone_rst_html5.html index e5811f82f..984ab2448 100644 --- a/docutils/test/functional/expected/standalone_rst_html5.html +++ b/docutils/test/functional/expected/standalone_rst_html5.html @@ -1,5 +1,5 @@ - + @@ -190,9 +190,9 @@

2.1.1 Inline Markup

Paragraphs contain text and may contain inline markup: emphasis, strong emphasis, inline literals, standalone hyperlinks -(http://www.python.org), external hyperlinks (Python [7]), internal +(https://www.python.org), external hyperlinks (Python [7]), internal cross-references (example), external hyperlinks with embedded URIs -(Python web site), anonymous hyperlink +(Python web site), anonymous hyperlink references [7] (a second reference [13]), footnote references (manually numbered [1], anonymous auto-numbered [3], labeled auto-numbered [2], or symbolic [*]), citation references (see [CIT2002]), @@ -203,8 +203,8 @@

doctitle and the subtitle.

The default role for interpreted text is Title Reference. Here are -some explicit interpreted text roles: a PEP reference (PEP 287); an -RFC reference (RFC 2822); an abbreviation (abb.), an acronym +some explicit interpreted text roles: a PEP reference (PEP 287); an +RFC reference (RFC 2822); an abbreviation (abb.), an acronym (reST), code (print "hello world"); a subscript; a superscript and explicit roles for Docutils' standard inline markup.

@@ -529,7 +529,7 @@

Section headers are implicit targets, referred to by name. See Targets, which is a subsection of Body Elements.

Explicit external targets are interpolated into references such as -"Python [7]".

+"Python [7]".

Targets may be indirect and anonymous. Thus this phrase may also refer to the Targets section.

Here's a `hyperlink reference without a target`_, which generates an @@ -826,11 +826,11 @@

[7] (1,2,3,4) -

http://www.python.org/

+

https://www.python.org/