Skip to content

Commit

Permalink
upgrade all URLs to https
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Sep 3, 2020
1 parent 80d1214 commit 3c259b5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Released 2014-10-14.
Python 2.6, such as the ``except ... as`` construct, but this was not
documented.)

.. _Documentation: http://modernize.readthedocs.org/en/latest/
.. _Documentation: https://modernize.readthedocs.org/en/latest/


Version 0.3
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BUILDDIR = _build

# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from https://www.sphinx-doc.org/)
endif

# Internal variables.
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@
# keep_warnings = False

intersphinx_mapping = {
"python": ("http://docs.python.org/3", None),
"python2": ("http://docs.python.org/2", None),
"six": ("http://pythonhosted.org/six/", None),
"python": ("https://docs.python.org/3", None),
"python2": ("https://docs.python.org/2", None),
"six": ("https://six.readthedocs.io/", None),
}


Expand Down
4 changes: 2 additions & 2 deletions docs/fixers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ If you wish to turn off these fixers to avoid an external dependency on ``six``,
then use the ``--no-six`` flag.

Fixers use the API defined by fissix. For details of how this works, and how to
implement your own fixers, see `Creating a fixer, at
python3porting.com <http://python3porting.com/fixers.html#creating-a-fixer>`_.
implement your own fixers, see `Creating a fixer, at python3porting.com
<https://web.archive.org/web/20200903114908/python3porting.com/fixers.html#creating-a-fixer>`_.
``python -m modernize`` will try to load fixers whose full dotted-path is specified
as a ``-f`` argument, but will fail if they are not found. By default, fixers
will not be found in the current directory; use ``--fixers-here`` to make
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ A note about handling text literals
- By default modernize does not change Unicode literals at all, which means that
you can take advantage of
`PEP 414 <http://legacy.python.org/dev/peps/pep-0414/>`_.
`PEP 414 <https://www.python.org/dev/peps/pep-0414/>`_.
This is the simplest option if you only want to support Python 3.3 and above
along with Python 2.
- Alternatively, there is the ``--six-unicode`` flag which will wrap Unicode
Expand Down
2 changes: 1 addition & 1 deletion docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if errorlevel 9009 (
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
echo.https://pypi.org/project/sphinx/
exit /b 1
)

Expand Down

0 comments on commit 3c259b5

Please sign in to comment.