Convert doc HTTP links to HTTPS, even in documentation examples

A small number of URL's redirected, or were stale but had obvious
alternatives. These have been updated. For example, a Google style
guide for Python was no longer available at googlecode.com, and
Paver docs are now at readthedocs.io.
This commit is contained in:
Kurt McKee 2018-01-20 16:04:57 -06:00
parent 70aa784f51
commit beefd445c1
16 changed files with 44 additions and 44 deletions

View File

@ -98,7 +98,7 @@
<p>{%trans%}There is a <a href="http://docs.sphinx-users.jp/">Japanese translation</a> <p>{%trans%}There is a <a href="http://docs.sphinx-users.jp/">Japanese translation</a>
of this documentation, thanks to the Japanese Sphinx user group.{%endtrans%}</p> of this documentation, thanks to the Japanese Sphinx user group.{%endtrans%}</p>
<p>{%trans%}A Japanese book about Sphinx has been published by O'Reilly: <p>{%trans%}A Japanese book about Sphinx has been published by O'Reilly:
<a href="http://www.oreilly.co.jp/books/9784873116488/">Sphinxをはじめよう / <a href="https://www.oreilly.co.jp/books/9784873116488/">Sphinxをはじめよう /
Learning Sphinx</a>.{%endtrans%}</p> Learning Sphinx</a>.{%endtrans%}</p>
<!-- <p><img src="{{ pathto("_static/bookcover.png", 1) }}"/></p> --> <!-- <p><img src="{{ pathto("_static/bookcover.png", 1) }}"/></p> -->

View File

@ -1,4 +1,4 @@
<p class="logo">A <a href="http://pocoo.org/"> <p class="logo">A <a href="https://www.pocoo.org/">
<img src="{{ pathto("_static/pocoo.png", 1) }}" alt="Pocoo" /></a> <img src="{{ pathto("_static/pocoo.png", 1) }}" alt="Pocoo" /></a>
{%trans%}project{%endtrans%}</p> {%trans%}project{%endtrans%}</p>
@ -19,9 +19,9 @@ Index</a>, or install it with:{%endtrans%}</p>
<h3>{%trans%}Questions? Suggestions?{%endtrans%}</h3> <h3>{%trans%}Questions? Suggestions?{%endtrans%}</h3>
<p>{%trans%}Join the <a href="http://groups.google.com/group/sphinx-users">sphinx-users</a> mailing list on Google Groups:{%endtrans%}</p> <p>{%trans%}Join the <a href="https://groups.google.com/group/sphinx-users">sphinx-users</a> mailing list on Google Groups:{%endtrans%}</p>
<div class="subscribeformwrapper"> <div class="subscribeformwrapper">
<form action="http://groups.google.com/group/sphinx-users/boxsubscribe" <form action="https://groups.google.com/group/sphinx-users/boxsubscribe"
class="subscribeform"> class="subscribeform">
<input type="text" name="email" value="your@email" <input type="text" name="email" value="your@email"
onfocus="$(this).val('');" /> onfocus="$(this).val('');" />

View File

@ -216,7 +216,7 @@ instructions.
.. _rinohtype: https://github.com/brechtm/rinohtype .. _rinohtype: https://github.com/brechtm/rinohtype
.. _rinohtype manual: http://www.mos6581.org/rinohtype/quickstart.html#sphinx-builder .. _rinohtype manual: http://www.mos6581.org/rinohtype/quickstart.html#sphinx-builder
.. _rst2pdf: https://github.com/rst2pdf/rst2pdf .. _rst2pdf: https://github.com/rst2pdf/rst2pdf
.. _rst2pdf manual: http://ralsina.me/static/manual.pdf .. _rst2pdf manual: https://ralsina.me/static/manual.pdf
.. module:: sphinx.builders.text .. module:: sphinx.builders.text
.. class:: TextBuilder .. class:: TextBuilder

View File

@ -12,7 +12,7 @@ Sphinx is a maintained by a group of volunteers. We value every contribution!
* The mailing list for development is at `Google Groups * The mailing list for development is at `Google Groups
<https://groups.google.com/forum/#!forum/sphinx-dev>`_. <https://groups.google.com/forum/#!forum/sphinx-dev>`_.
* There is also the #sphinx-doc IRC channel on `freenode * There is also the #sphinx-doc IRC channel on `freenode
<http://freenode.net/>`_. <https://freenode.net/>`_.
For more about our development process and methods, see the :doc:`devguide`. For more about our development process and methods, see the :doc:`devguide`.
@ -106,37 +106,37 @@ own extensions.
.. _aafigure: https://launchpad.net/aafigure .. _aafigure: https://launchpad.net/aafigure
.. _gnuplot: http://www.gnuplot.info/ .. _gnuplot: http://www.gnuplot.info/
.. _paver: http://paver.github.io/paver/ .. _paver: https://paver.readthedocs.io/en/latest/
.. _Sword: http://www.crosswire.org/sword/ .. _Sword: https://www.crosswire.org/sword/
.. _Lilypond: http://lilypond.org/ .. _Lilypond: http://lilypond.org/
.. _sdedit: http://sdedit.sourceforge.net/ .. _sdedit: http://sdedit.sourceforge.net/
.. _Trac: http://trac.edgewall.org .. _Trac: https://trac.edgewall.org/
.. _TracLinks: http://trac.edgewall.org/wiki/TracLinks .. _TracLinks: https://trac.edgewall.org/wiki/TracLinks
.. _OmegaT: http://www.omegat.org/ .. _OmegaT: https://omegat.org/
.. _PlantUML: http://plantuml.com/ .. _PlantUML: http://plantuml.com/
.. _PyEnchant: http://www.rfk.id.au/software/pyenchant/ .. _PyEnchant: https://pythonhosted.org/pyenchant/
.. _sadisplay: https://bitbucket.org/estin/sadisplay/wiki/Home .. _sadisplay: https://bitbucket.org/estin/sadisplay/wiki/Home
.. _blockdiag: http://blockdiag.com/en/ .. _blockdiag: http://blockdiag.com/en/
.. _seqdiag: http://blockdiag.com/en/ .. _seqdiag: http://blockdiag.com/en/
.. _actdiag: http://blockdiag.com/en/ .. _actdiag: http://blockdiag.com/en/
.. _nwdiag: http://blockdiag.com/en/ .. _nwdiag: http://blockdiag.com/en/
.. _Google Analytics: http://www.google.com/analytics/ .. _Google Analytics: https://www.google.com/analytics/
.. _Google Chart: https://developers.google.com/chart/ .. _Google Chart: https://developers.google.com/chart/
.. _Google Maps: https://www.google.com/maps .. _Google Maps: https://www.google.com/maps
.. _Google style: https://google.github.io/styleguide/pyguide.html .. _Google style: https://google.github.io/styleguide/pyguide.html
.. _NumPy style: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt .. _NumPy style: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt
.. _hyphenator: https://github.com/mnater/hyphenator .. _hyphenator: https://github.com/mnater/hyphenator
.. _exceltable: http://pythonhosted.org/sphinxcontrib-exceltable/ .. _exceltable: https://pythonhosted.org/sphinxcontrib-exceltable/
.. _YouTube: http://www.youtube.com/ .. _YouTube: http://www.youtube.com/
.. _ClearQuest: http://www-03.ibm.com/software/products/en/clearquest .. _ClearQuest: https://www.ibm.com/us-en/marketplace/rational-clearquest
.. _Zope interfaces: http://docs.zope.org/zope.interface/README.html .. _Zope interfaces: https://zopeinterface.readthedocs.io/en/latest/README.html
.. _slideshare: http://www.slideshare.net/ .. _slideshare: https://www.slideshare.net/
.. _TikZ/PGF LaTeX package: https://sourceforge.net/projects/pgf/ .. _TikZ/PGF LaTeX package: https://sourceforge.net/projects/pgf/
.. _MATLAB: http://www.mathworks.com/products/matlab/ .. _MATLAB: https://www.mathworks.com/products/matlab.html
.. _swf: https://bitbucket.org/klorenz/sphinxcontrib-swf .. _swf: https://bitbucket.org/klorenz/sphinxcontrib-swf
.. _findanything: https://bitbucket.org/klorenz/sphinxcontrib-findanything .. _findanything: https://bitbucket.org/klorenz/sphinxcontrib-findanything
.. _cmakedomain: https://bitbucket.org/klorenz/sphinxcontrib-cmakedomain .. _cmakedomain: https://bitbucket.org/klorenz/sphinxcontrib-cmakedomain
.. _GNU Make: http://www.gnu.org/software/make/ .. _GNU Make: https://www.gnu.org/software/make/
.. _makedomain: https://bitbucket.org/klorenz/sphinxcontrib-makedomain .. _makedomain: https://bitbucket.org/klorenz/sphinxcontrib-makedomain
.. _inlinesyntaxhighlight: https://sphinxcontrib-inlinesyntaxhighlight.readthedocs.io/ .. _inlinesyntaxhighlight: https://sphinxcontrib-inlinesyntaxhighlight.readthedocs.io/
.. _CMake: https://cmake.org .. _CMake: https://cmake.org

View File

@ -29,7 +29,7 @@ Todo:
* You have to also use ``sphinx.ext.todo`` extension * You have to also use ``sphinx.ext.todo`` extension
.. _Google Python Style Guide: .. _Google Python Style Guide:
http://google.github.io/styleguide/pyguide.html https://google.github.io/styleguide/pyguide.html
""" """

View File

@ -8,7 +8,7 @@
.. versionadded:: 0.6 .. versionadded:: 0.6
This extension allows you to embed `Graphviz <http://graphviz.org/>`_ graphs in This extension allows you to embed `Graphviz <https://graphviz.org/>`_ graphs in
your documents. your documents.
It adds these directives: It adds these directives:

View File

@ -44,4 +44,4 @@ function that returns an URL based on the object.
if not info['module']: if not info['module']:
return None return None
filename = info['module'].replace('.', '/') filename = info['module'].replace('.', '/')
return "http://somesite/sourcerepo/%s.py" % filename return "https://somesite/sourcerepo/%s.py" % filename

View File

@ -248,7 +248,7 @@ Sphinx.
__ https://cdjns.com __ https://cdjns.com
__ http://docs.mathjax.org/en/latest/start.html __ https://docs.mathjax.org/en/latest/start.html
The path can be absolute or relative; if it is relative, it is relative to The path can be absolute or relative; if it is relative, it is relative to
the ``_static`` directory of the built docs. the ``_static`` directory of the built docs.
@ -258,7 +258,7 @@ Sphinx.
documentation set on one server, it is advisable to install MathJax in a documentation set on one server, it is advisable to install MathJax in a
shared location. shared location.
You can also give a full ``http://`` URL different from the CDN URL. You can also give a full ``https://`` URL different from the CDN URL.
:mod:`sphinx.ext.jsmath` -- Render math via JavaScript :mod:`sphinx.ext.jsmath` -- Render math via JavaScript
@ -284,9 +284,9 @@ package jsMath_. It provides this config value:
a shared location. a shared location.
.. _dvipng: http://savannah.nongnu.org/projects/dvipng/ .. _dvipng: https://savannah.nongnu.org/projects/dvipng/
.. _dvisvgm: http://dvisvgm.bplaced.net/ .. _dvisvgm: http://dvisvgm.bplaced.net/
.. _MathJax: https://www.mathjax.org/ .. _MathJax: https://www.mathjax.org/
.. _jsMath: http://www.math.union.edu/~dpvc/jsmath/ .. _jsMath: http://www.math.union.edu/~dpvc/jsmath/
.. _preview-latex package: http://www.gnu.org/software/auctex/preview-latex.html .. _preview-latex package: https://www.gnu.org/software/auctex/preview-latex.html
.. _AmSMath LaTeX package: http://www.ams.org/publications/authors/tex/amslatex .. _AmSMath LaTeX package: https://www.ams.org/publications/authors/tex/amslatex

View File

@ -52,9 +52,9 @@ source code files.
.. _ReStructuredText: http://docutils.sourceforge.net/rst.html .. _ReStructuredText: http://docutils.sourceforge.net/rst.html
.. _docstrings: https://www.python.org/dev/peps/pep-0287/ .. _docstrings: https://www.python.org/dev/peps/pep-0287/
.. _Google Python Style Guide: .. _Google Python Style Guide:
http://google.github.io/styleguide/pyguide.html https://google.github.io/styleguide/pyguide.html
.. _Google: .. _Google:
http://google.github.io/styleguide/pyguide.html#Comments https://google.github.io/styleguide/pyguide.html#Comments
.. _NumPy: .. _NumPy:
https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt
.. _Khan Academy: .. _Khan Academy:
@ -267,7 +267,7 @@ sure that "sphinx.ext.napoleon" is enabled in `conf.py`::
napoleon_use_rtype = True napoleon_use_rtype = True
.. _Google style: .. _Google style:
http://google-styleguide.googlecode.com/svn/trunk/pyguide.html https://google.github.io/styleguide/pyguide.html
.. _NumPy style: .. _NumPy style:
https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt

View File

@ -77,7 +77,7 @@ PyPI
Jannis Leidel wrote a `setuptools command Jannis Leidel wrote a `setuptools command
<https://pypi.python.org/pypi/Sphinx-PyPI-upload>`_ that automatically <https://pypi.python.org/pypi/Sphinx-PyPI-upload>`_ that automatically
uploads Sphinx documentation to the PyPI package documentation area at uploads Sphinx documentation to the PyPI package documentation area at
http://pythonhosted.org/. https://pythonhosted.org/.
GitHub Pages GitHub Pages
Directories starting with underscores are ignored by default which breaks Directories starting with underscores are ignored by default which breaks
@ -106,7 +106,7 @@ Google Analytics
{% block footer %} {% block footer %}
{{ super() }} {{ super() }}
<div class="footer">This page uses <a href="http://analytics.google.com/"> <div class="footer">This page uses <a href="https://analytics.google.com/">
Google Analytics</a> to collect statistics. You can disable it by blocking Google Analytics</a> to collect statistics. You can disable it by blocking
the JavaScript coming from www.google-analytics.com. the JavaScript coming from www.google-analytics.com.
<script type="text/javascript"> <script type="text/javascript">
@ -122,7 +122,7 @@ Google Analytics
{% endblock %} {% endblock %}
.. _api role: http://git.savannah.gnu.org/cgit/kenozooid.git/tree/doc/extapi.py .. _api role: https://git.savannah.gnu.org/cgit/kenozooid.git/tree/doc/extapi.py
.. _xhtml to reST: http://docutils.sourceforge.net/sandbox/xhtml2rest/xhtml2rest.py .. _xhtml to reST: http://docutils.sourceforge.net/sandbox/xhtml2rest/xhtml2rest.py

View File

@ -13,7 +13,7 @@ in itself. See the :ref:`intl-options` for details on configuration.
:width: 100% :width: 100%
Workflow visualization of translations in Sphinx. (The stick-figure is taken Workflow visualization of translations in Sphinx. (The stick-figure is taken
from an `XKCD comic <http://xkcd.com/779/>`_.) from an `XKCD comic <https://xkcd.com/779/>`_.)
.. contents:: .. contents::
:local: :local:
@ -302,7 +302,7 @@ There is `sphinx translation page`_ for Sphinx-1.3 documentation.
.. rubric:: Footnotes .. rubric:: Footnotes
.. [1] See the `GNU gettext utilities .. [1] See the `GNU gettext utilities
<http://www.gnu.org/software/gettext/manual/gettext.html#Introduction>`_ <https://www.gnu.org/software/gettext/manual/gettext.html#Introduction>`_
for details on that software suite. for details on that software suite.
.. [2] Because nobody expects the Spanish Inquisition! .. [2] Because nobody expects the Spanish Inquisition!
@ -311,4 +311,4 @@ There is `sphinx translation page`_ for Sphinx-1.3 documentation.
.. _`sphinx-intl`: https://pypi.python.org/pypi/sphinx-intl .. _`sphinx-intl`: https://pypi.python.org/pypi/sphinx-intl
.. _Transifex: https://www.transifex.com/ .. _Transifex: https://www.transifex.com/
.. _`sphinx translation page`: https://www.transifex.com/sphinx-doc/sphinx-doc-1_3/ .. _`sphinx translation page`: https://www.transifex.com/sphinx-doc/sphinx-doc-1_3/
.. _`Transifex Client v0.8 &mdash; Transifex documentation`: http://docs.transifex.com/developer/client/ .. _`Transifex Client v0.8 &mdash; Transifex documentation`: https://docs.transifex.com/client/introduction/

View File

@ -34,7 +34,7 @@ to reStructuredText/Sphinx from other documentation systems.
* For converting the old Python docs to Sphinx, a converter was written which * For converting the old Python docs to Sphinx, a converter was written which
can be found at `the Python SVN repository can be found at `the Python SVN repository
<http://svn.python.org/projects/doctools/converter>`_. It contains generic <https://svn.python.org/projects/doctools/converter/>`_. It contains generic
code to convert Python-doc-style LaTeX markup to Sphinx reST. code to convert Python-doc-style LaTeX markup to Sphinx reST.
* Marcin Wojdyr has written a script to convert Docbook to reST with Sphinx * Marcin Wojdyr has written a script to convert Docbook to reST with Sphinx
@ -43,7 +43,7 @@ to reStructuredText/Sphinx from other documentation systems.
* Christophe de Vienne wrote a tool to convert from Open/LibreOffice documents * Christophe de Vienne wrote a tool to convert from Open/LibreOffice documents
to Sphinx: `odt2sphinx <https://pypi.python.org/pypi/odt2sphinx/>`_. to Sphinx: `odt2sphinx <https://pypi.python.org/pypi/odt2sphinx/>`_.
* To convert different markups, `Pandoc <http://pandoc.org/>`_ is * To convert different markups, `Pandoc <https://pandoc.org/>`_ is
a very helpful tool. a very helpful tool.

View File

@ -9,7 +9,7 @@ Markdown support
text formatting syntax. text formatting syntax.
It exists in many syntactically different *flavors*. It exists in many syntactically different *flavors*.
To support Markdown-based documentation, Sphinx can use To support Markdown-based documentation, Sphinx can use
`recommonmark <http://recommonmark.readthedocs.io/en/latest/index.html>`__. `recommonmark <https://recommonmark.readthedocs.io/en/latest/index.html>`__.
recommonmark is a Docutils bridge to `CommonMark-py <https://github.com/rtfd/CommonMark-py>`__, a recommonmark is a Docutils bridge to `CommonMark-py <https://github.com/rtfd/CommonMark-py>`__, a
Python package for parsing the `CommonMark <http://commonmark.org/>`__ Markdown flavor. Python package for parsing the `CommonMark <http://commonmark.org/>`__ Markdown flavor.
@ -42,4 +42,4 @@ To configure your Sphinx project for Markdown support, proceed as follows:
source_suffix = ['.rst', '.md'] source_suffix = ['.rst', '.md']
#. You can further configure recommonmark to allow custom syntax that standard CommonMark doesn't support. Read more in #. You can further configure recommonmark to allow custom syntax that standard CommonMark doesn't support. Read more in
the `recommonmark documentation <http://recommonmark.readthedocs.io/en/latest/auto_structify.html>`__. the `recommonmark documentation <https://recommonmark.readthedocs.io/en/latest/auto_structify.html>`__.

View File

@ -194,7 +194,7 @@ Hyperlinks
External links External links
^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
Use ```Link text <http://example.com/>`_`` for inline web links. If the link Use ```Link text <https://domain.invalid/>`_`` for inline web links. If the link
text should be the web address, you don't need special markup at all, the parser text should be the web address, you don't need special markup at all, the parser
finds links and mail addresses in ordinary text. finds links and mail addresses in ordinary text.
@ -205,7 +205,7 @@ You can also separate the link and the target definition (:duref:`ref
This is a paragraph that contains `a link`_. This is a paragraph that contains `a link`_.
.. _a link: http://example.com/ .. _a link: https://domain.invalid/
Internal links Internal links

View File

@ -62,7 +62,7 @@ following contents::
{% extends "!layout.html" %} {% extends "!layout.html" %}
{% block rootrellink %} {% block rootrellink %}
<li><a href="http://project.invalid/">Project Homepage</a> &raquo;</li> <li><a href="https://project.invalid/">Project Homepage</a> &raquo;</li>
{{ super() }} {{ super() }}
{% endblock %} {% endblock %}

View File

@ -135,7 +135,7 @@ These themes are:
:confval:`html_sidebars` for its use. :confval:`html_sidebars` for its use.
.. _Alabaster theme: https://pypi.python.org/pypi/alabaster .. _Alabaster theme: https://pypi.python.org/pypi/alabaster
.. _installation page: http://alabaster.readthedocs.io/en/latest/installation.html .. _installation page: https://alabaster.readthedocs.io/en/latest/installation.html
* **classic** -- This is the classic theme, which looks like `the Python 2 * **classic** -- This is the classic theme, which looks like `the Python 2
documentation <https://docs.python.org/2/>`_. It can be customized via documentation <https://docs.python.org/2/>`_. It can be customized via