summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EXAMPLES2
-rw-r--r--doc/_templates/index.html2
-rw-r--r--doc/usage/restructuredtext/directives.rst4
3 files changed, 4 insertions, 4 deletions
diff --git a/EXAMPLES b/EXAMPLES
index 598f41b4f..416de7167 100644
--- a/EXAMPLES
+++ b/EXAMPLES
@@ -356,7 +356,7 @@ Documentation using a custom theme or integrated in a website
* `Open vSwitch <http://docs.openvswitch.org/>`__
* `PlatformIO <https://docs.platformio.org/>`__
* `PyEphem <http://rhodesmill.org/pyephem/>`__
-* `Pygments <http://pygments.org/docs/>`__
+* `Pygments <https://pygments.org/docs/>`__
* `Plone User Manual (German) <https://www.hasecke.com/plone-benutzerhandbuch/4.0/>`__
* `PSI4 <http://www.psicode.org/psi4manual/master/index.html>`__
* `PyMOTW <https://pymotw.com/2/>`__
diff --git a/doc/_templates/index.html b/doc/_templates/index.html
index 4b2f13a42..a37579c29 100644
--- a/doc/_templates/index.html
+++ b/doc/_templates/index.html
@@ -29,7 +29,7 @@
<li>{%trans%}<b>Automatic indices:</b> general index as well as a language-specific
module indices{%endtrans%}</li>
<li>{%trans%}<b>Code handling:</b> automatic highlighting using the <a
- href="http://pygments.org">Pygments</a> highlighter{%endtrans%}</li>
+ href="https://pygments.org">Pygments</a> highlighter{%endtrans%}</li>
<li>{%trans path=pathto('ext/builtins')%}<b>Extensions:</b> automatic testing of code snippets, inclusion of
docstrings from Python modules (API docs), and
<a href="{{ path }}#builtin-sphinx-extensions">more</a>{%endtrans%}</li>
diff --git a/doc/usage/restructuredtext/directives.rst b/doc/usage/restructuredtext/directives.rst
index 995804e37..24f3af9d8 100644
--- a/doc/usage/restructuredtext/directives.rst
+++ b/doc/usage/restructuredtext/directives.rst
@@ -424,7 +424,7 @@ code blocks using multiple varied syntaxes. Finally, the
in your documentation.
In all cases, Syntax highlighting is provided by `Pygments
-<http://pygments.org>`_. When using literal blocks, this is configured using
+<https://pygments.org>`_. When using literal blocks, this is configured using
any :rst:dir:`highlight` directives in the source file. When a ``highlight``
directive is encountered, it is used until the next ``highlight`` directive is
encountered. If there is no ``highlight`` directive in the file, the global
@@ -452,7 +452,7 @@ If highlighting with the selected language fails (i.e. Pygments emits an
want to ensure consistent highlighting, you should fix your version of
Pygments.
-__ http://pygments.org/docs/lexers
+__ https://pygments.org/docs/lexers
.. rst:directive:: .. highlight:: language