8000 Mass link redirection update · matplotlib/matplotlib@f278217 · GitHub
[go: up one dir, main page]

Skip to content

Commit f278217

committed
Mass link redirection update
1 parent 6ec29e6 commit f278217

38 files changed

+120
-121
lines changed

doc/api/api_changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ Configuration and rcParams
10711071
* On Linux, the user-specific `matplotlibrc` configuration file is now
10721072
located in `~/.config/matplotlib/matplotlibrc` to conform to the
10731073
`XDG Base Directory Specification
1074-
<http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html>`_.
1074+
<https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html>`_.
10751075

10761076
* The `font.*` rcParams now affect only text objects created after the
10771077
rcParam has been set, and will not retroactively affect already

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@
163163

164164
# Github extension
165165

166-
github_project_url = "http://github.com/matplotlib/matplotlib/"
166+
github_project_url = "https://github.com/matplotlib/matplotlib/"
167167

168168
# Options for HTML output
169169
# -----------------------

doc/devel/MEP/MEP12.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ the gallery would remain in those directories until they are cleaned
8787
up. After clean-up, they would be moved to one of the new gallery
8888
sections described above. "Clean-up" should involve:
8989

90-
* `sphinx-gallery docstrings <https://sphinx-gallery.readthedocs.io/>`_: a
91-
title and a description of the example formatted as follows, at the top of
90+
* `sphinx-gallery docstrings <https://sphinx-gallery.readthedocs.io/en/latest/>`_:
91+
a title and a description of the example formatted as follows, at the top of
9292
the example::
9393

9494
"""
@@ -197,5 +197,5 @@ navigate the gallery. Thus, tags are complementary to this reorganization.
197197
.. [1] https://github.com/matplotlib/matplotlib/pull/714
198198
.. [2] https://github.com/matplotlib/matplotlib/issues/524
199199
.. [3] http://matplotlib.1069221.n5.nabble.com/Matplotlib-gallery-td762.html#a33379091
200-
.. [4] http://www.loria.fr/~rougier/teaching/matplotlib/
201-
.. [5] http://www.loria.fr/~rougier/coding/gallery/
200+
.. [4] http://www.labri.fr/perso/nrougier/teaching/matplotlib/
201+
.. [5] http://www.labri.fr/perso/nrougier/coding/gallery/

doc/devel/MEP/MEP13.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Abstract
2020

2121
Wrap all of the matplotlib getter and setter methods with python
2222
`properties
23-
<http://docs.python.org/2/library/functions.html#property>`_, allowing
23+
<https://docs.python.org/2/library/functions.html#property>`_, allowing
2424
them to be read and written like class attributes.
2525

2626
Detailed description

doc/devel/MEP/MEP14.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,20 @@ Supporting these things is difficult, and is the "full-time job" of a
7474
number of other projects:
7575

7676
- `pango <http://www.pango.org/>`_/`harfbuzz
77-
<http://www.harfbuzz.org/>`_
77+
<https://www.freedesktop.org/wiki/Software/HarfBuzz`_
7878
- `QtTextLayout
79-
<http://qt-project.org/doc/qt-4.8/qtextlayout.html>`_
79+
<http://doc.qt.io/qt-4.8/qtextlayout.html>`_
8080
- `Microsoft DirectWrite
81-
<http://msdn.microsoft.com/en-us/library/windows/desktop/dd371554(v=vs.85).aspx>`_
81+
<https://msdn.microsoft.com/en-us/library/windows/desktop/dd371554(v=vs.85).aspx>`_
8282
- `Apple Core Text
83-
<https://developer.apple.com/library/mac/#documentation/StringsTextFonts/Conceptual/CoreText_Programming/Overview/Overview.html>`_
83+
<https://developer.apple.com/library/content/documentation/StringsTextFonts/Conceptual/CoreText_Programming/Overview/Overview.html>`_
8484

8585
Of the above options, it should be noted that `harfbuzz` is designed
8686
from the start as a cross platform option with minimal dependencies,
8787
so therefore is a good candidate for a single option to support.
8888

8989
Additionally, for supporting rich text, we could consider using
90-
`WebKit <http://www.webkit.org/>`_, and possibly whether than
90+
`WebKit <https://webkit.org/>`_, and possibly whether than
9191
represents a good single cross-platform option. Again, however, rich
9292
text formatting is outside of the scope of this project.
9393

@@ -133,7 +133,7 @@ which matches fonts using our own algorithm based on the `CSS font
133133
matching algorithm <http://www.w3.org/TR/CSS2/fonts.html#algorithm>`_.
134134
It doesn't always do the same thing as the native font selection
135135
algorithms on Linux (`fontconfig
136-
<http://www.freedesktop.org/wiki/Software/fontconfig/>`_), Mac and
136+
<https://www.freedesktop.org/wiki/Software/fontconfig/>`_), Mac and
137137
Windows, and it doesn't always find all of the fonts on the system
138138
that the OS would normally pick up. However, it is cross-platform,
139139
and always finds the fonts that ship with matplotlib. The Cairo and
@@ -152,7 +152,7 @@ lookup mechanism must only match against those fonts. It is unclear
152152
whether the OS-native font lookup systems can handle this case.
153153

154154
There is also experimental support for using `fontconfig
155-
<http://www.freedesktop.org/wiki/Software/fontconfig/>`_ for font
155+
<https://www.freedesktop.org/wiki/Software/fontconfig/>`_ for font
156156
selection in matplotlib, turned off by default. fontconfig is the
157157
native font selection algorithm on Linux, but is also cross platform
158158
and works well on the other platforms (though obviously is an
< EED3 code class="diff-text-cell hunk">

doc/devel/MEP/MEP25.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Implementation
126126

127127
* A simple NB demonstrating some functionality for
128128
``Line2DController`` objects:
129-
http://nbviewer.ipython.org/gist/theengineear/f0aa8d79f64325e767c0
129+
http://nbviewer.jupyter.org/gist/theengineear/f0aa8d79f64325e767c0
130130

131131
2. Write in protocols for the ``Controller`` to *update* the model.
132132

doc/devel/contributing.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ You can check out the latest sources with the command::
3232

3333
After obtaining a local copy of the matplotlib source code (:ref:`set-up-fork`),
3434
navigate to the matplotlib directory and run the following in the shell::
35-
35+
3636
python setup.py develop
3737

3838
or::
39-
39+
4040
pip install -v -e .
4141

4242

@@ -50,10 +50,10 @@ symbolic links back to the source code).
5050

5151

5252
.. note::
53-
53+
5454
If you decide to do install with ``python setup.py develop`` or ``pip
5555
install -v -e``, you will have to rerun::
56-
56+
5757
python setup.py build
5858

5959
every time the source code of a compiled extension is changed (for
@@ -88,7 +88,7 @@ When working on bleeding edge packages, setting up a
8888
environment <http://conda.pydata.org/docs/using/envs.html>`_ is recommended.
8989

9090
.. seealso::
91-
91+
9292
* :ref:`testing`
9393

9494

@@ -137,7 +137,7 @@ You may want to consider sending an email to the mailing list for more
137137
visibility.
138138

139139
.. seealso::
140-
140+
141141
* `Git documentation <https://git-scm.com/documentation>`_
142142
* :ref:`development-workflow`.
143143
* :ref:`using-git`
@@ -196,12 +196,12 @@ tools:
196196

197197
* Code with a good unittest coverage (at least 70%, better 100%), check
198198
with::
199-
199+
200200
pip install coverage
201201
python tests.py --with-coverage
202202

203203
* No pyflakes warnings, check with::
204-
204+
205205
pip install pyflakes
206206
pyflakes path/to/module.py
207207

@@ -227,10 +227,10 @@ Issues for New Contributors
227227
---------------------------
228228

229229
New contributors should look for the following tags when looking for issues.
230-
We strongly recommend that new contributors tackle
230+
We strongly recommend that new contributors tackle
231231
`new-contributor-friendly <https://github.com/matplotlib/matplotlib/labels/new-contributor-friendly>`_
232232
issues (easy, well documented issues, that do not require an understanding of
233-
the different submodules of matplotlib) and
233+
the different submodules of matplotlib) and
234234
`Easy-fix <https://github.com/matplotlib/matplotlib/labels/Difficulty%3A%20Easy>`_
235235
issues. This helps the contributor become familiar with the contribution
236236
workflow, and for the core devs to become acquainted with the contributor;

doc/devel/documenting_mpl.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,10 @@ working with Sphinx in general. Here are a few additional things to keep in mind
255255
* The autodoc extension will handle index entries for the API, but additional
256256
entries in the index_ need to be explicitly added.
257257

258-
.. _Sphinx: http://sphinx.pocoo.org
259-
.. _documentation: http://sphinx.pocoo.org/contents.html
260-
.. _`inline markup`: http://sphinx.pocoo.org/markup/inline.html
261-
.. _index: http://sphinx.pocoo.org/markup/para.html#index-generating-markup
258+
.. _Sphinx: http://www.sphinx-doc.org
259+
.. _documentation: http://www.sphinx-doc.org/contents.html
260+
.. _`inline markup`: http://sphinx-doc.org/markup/inline.html
261+
.. _index: http://sphinx-doc.org/markup/para.html#index-generating-markup
262262

263263
* Please limit the text width of docstrings to 70 characters.
264264

doc/devel/gitwash/git_install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ See the git_ page for the most recent information.
2121

2222
Have a look at the github_ install help pages available from `github help`_
2323

24-
There are good instructions here: http://git-scm.com/book/en/v2/Getting-Started-Installing-Git
24+
There are good instructions here: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
2525

2626
.. include:: links.inc

doc/devel/gitwash/git_links.inc

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
.. _github: https://github.com
1414
.. _github help: https://help.github.com
1515
.. _msysgit: http://code.google.com/p/msysgit/downloads/list
16-
.. _git-osx-installer: http://code.google.com/p/git-osx-installer/downloads/list
16+
.. _git-osx-installer: https://code.google.com/archive/p/git-osx-installer/downloads
1717
.. _subversion: http://subversion.tigris.org/
18-
.. _git cheat sheet: https://github.com/guides/git-cheat-sheet
18+
.. _git cheat sheet: http://cheat.errtheblog.com/s/git
1919
.. _pro git book: http://progit.org/
2020
.. _git svn crash course: https://git-scm.com/course/svn.html
2121
.. _learn.github: http://learn.github.com/
@@ -27,25 +27,25 @@
2727
.. _git casts: http://www.gitcasts.com/
2828
.. _Fernando's git page: http://www.fperez.org/py4science/git.html
2929
.. _git magic: http://www-cs-students.stanford.edu/~blynn/gitmagic/index.html
30-
.. _git concepts: http://www.eecs.harvard.edu/~cduan/technical/git/
31-
.. _git clone: http://schacon.github.com/git/git-clone.html
32-
.. _git checkout: http://schacon.github.com/git/git-checkout.html
33-
.. _git commit: http://schacon.github.com/git/git-commit.html
34-
.. _git push: http://schacon.github.com/git/git-push.html
35-
.. _git pull: http://schacon.github.com/git/git-pull.html
36-
.. _git add: http://schacon.github.com/git/git-add.html
37-
.. _git status: http://schacon.github.com/git/git-status.html
38-
.. _git diff: http://schacon.github.com/git/git-diff.html
39-
.. _git log: http://schacon.github.com/git/git-log.html
40-
.. _git branch: http://schacon.github.com/git/git-branch.html
41-
.. _git remote: http://schacon.github.com/git/git-remote.html
42-
.. _git config: http://schacon.github.com/git/git-config.html
43-
.. _why the -a flag?: http://www.gitready.com/beginner/2009/01/18/the-staging-area.html
44-
.. _git staging area: http://www.gitready.com/beginner/2009/01/18/the-staging-area.html
45-
.. _tangled working copy problem: http://tomayko.com/writings/the-thing-about-git
30+
.. _git concepts: https://www.sbf5.com/~cduan/technical/git/
31+
.. _git clone: http://schacon.github.io/git/git-clone.html
32+
.. _git checkout: http://schacon.github.io/git/git-checkout.html
33+
.. _git commit: http://schacon.github.io/git/git-commit.html
34+
.. _git push: http://schacon.github.io/git/git-push.html
35+
.. _git pull: http://schacon.github.io/git/git-pull.html
36+
.. _git add: http://schacon.github.io/git/git-add.html
37+
.. _git status: http://schacon.github.io/git/git-status.html
38+
.. _git diff: http://schacon.github.io/git/git-diff.html
39+
.. _git log: http://schacon.github.io/git/git-log.html
40+
.. _git branch: http://schacon.github.io/git/git-branch.html
41+
.. _git remote: http://schacon.github.io/git/git-remote.html
42+
.. _git config: http://schacon.github.io/git/git-config.html
43+
.. _why the -a flag?: http://gitready.com/beginner/2009/01/18/the-staging-area.html
44+
.. _git staging area: http://gitready.com/beginner/2009/01/18/the-staging-area.html
45+
.. _tangled working copy problem: http://2ndscale.com/rtomayko/2008/the-thing-about-git
4646
.. _linux git workflow: http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg39091.html
4747
.. _git parable: http://tom.preston-werner.com/2009/05/19/the-git-parable.html
48-
.. _git foundation: http://matthew-brett.github.com/pydagogue/foundation.html
48+
.. _git foundation: http://matthew-brett.github.io/pydagogue/foundation.html
4949

5050
.. other stuff
5151
.. _python: http://www.python.org

doc/devel/testing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The following software is required to run the tests:
2626

2727
Optionally you can install:
2828

29-
- `coverage <http://nedbatchelder.com/code/coverage/>`_ to collect coverage
29+
- `coverage <http://coverage.readthedocs.io/en/latest/>`_ to collect coverage
3030
information
3131
- `pep8 <http://pep8.readthedocs.io/en/latest>`_ to test coding standards
3232

@@ -254,7 +254,7 @@ If you want to enable Travis CI for your personal matplotlib GitHub
254254
repo, simply enable the repo to use Travis CI in either the Travis CI
255255
UI or the GitHub UI (Admin | Service Hooks). For details, see `the
256256
Travis CI Getting Started page
257-
<http://about.travis-ci.org/docs/user/getting-started/>`_. This
257+
<https://docs.travis-ci.com/user/getting-started/>`_. This
258258
generally isn't necessary, since any pull request submitted against
259259
the main matplotlib repository will be tested.
260260

doc/faq/howto_faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ for it in the :ref:`users-guide-index`. Bundle matplotlib in a
591591
`py2exe <http://www.py2exe.org/>`_ app? ... I think you get the idea.
592592

593593
matplotlib is documented using the `sphinx
594-
<http://sphinx.pocoo.org/index.html>`_ extensions to restructured text
594+
<http://sphinx-doc.org/index.html>`_ extensions to restructured text
595595
`(ReST) <http://docutils.sourceforge.net/rst.html>`_. sphinx is an
596596
extensible python framework for documentation projects which generates
597597
HTML and PDF, and is pretty easy to write; you can see the source for this

doc/faq/installing_faq.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ excellent Python scientific software collections that are now available:
172172
- Anaconda_ from `Continuum Analytics`_
173173
- Canopy_ from Enthought_
174174

175-
.. _Canopy: https://enthought.com/products/canopy/
176-
.. _Anaconda: https://store.continuum.io/cshop/anaconda/
177-
.. _Enthought: http://enthought.com
178-
.. _Continuum Analytics: http://continuum.io
175+
.. _Canopy: https://www.enthought.com/products/canopy/
176+
.. _Anaconda: https://www.continuum.io/downloads
177+
.. _Enthought: https://www.enthought.com
178+
.. _Continuum Analytics: https://www.continuum.io
179179

180180
These collections include Python itself and a wide range of libraries; if you
181181
need a library that is not available from the collection, you can install it
@@ -205,7 +205,7 @@ Python.org Python
205205
^^^^^^^^^^^^^^^^^
206206

207207
Install pip following the `standard pip install instructions
208-
<http://pip.readthedocs.io/en/latest/installing.html>`_. For the impatient,
208+
<http://pip.readthedocs.io/en/latest/installing/>`_. For the impatient,
209209
open a new Terminal.app window and::
210210

211211
curl -O https://bootstrap.pypa.io/get-pip.py

doc/faq/osx_framework.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ framework build. In order to interact correctly with OSX through the native
1818
GUI frameworks you need a framework build of Python.
1919
At the time of writing the ``macosx`` and ``WXAgg`` backends require a
2020
framework build to function correctly. This can result in issues for
21-
a python installation not build as a framework and may also happen in
21+
a python installation not build as a framework and may also happen in
2222
virtual envs and when using (Ana)Conda.
2323
From Matplotlib 1.5 onwards the ``macosx`` backend
2424
checks that a framework build is available and fails if a non framework
2525
build is found. WX has a similar check build in.
2626

2727
Without this check a partially functional figure is created.
2828
Among the issues with it is that it is produced in the background and
29-
cannot be put in front of any other window. Several solutions and work
29+
cannot be put in front of any other window. Several solutions and work
3030
arounds exist see below.
3131

3232
Short version
@@ -35,7 +35,7 @@ Short version
3535
VirtualEnv
3636
----------
3737

38-
If you are on Python 3, use
38+
If you are on Python 3, use
3939
`venv <https://docs.python.org/3/library/venv.html>`_
4040
instead of `virtualenv <https://virtualenv.pypa.io/en/latest/>`_::
4141

doc/faq/troubleshooting_faq.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,18 @@ locate your :file:`matplotlib/` configuration directory, use
4747
'/home/darren/.config/matplotlib'
4848

4949
On unix-like systems, this directory is generally located in your
50-
:envvar:`HOME` directory under the :file:`.config/` directory.
50+
:envvar:`HOME` directory under the :file:`.config/` directory.
5151

52-
In addition, users have a cache directory. On unix-like systems, this is
53-
separate from the configuration directory by default. To locate your
52+
In addition, users have a cache directory. On unix-like systems, this is
53+
separate from the configuration directory by default. To locate your
5454
:file:`.cache/` directory, use :func:`matplotlib.get_cachedir`::
5555

5656
>>> import matplotlib as mpl
5757
>>> mpl.get_cachedir()
5858
'/home/darren/.cache/matplotlib'
59-
60-
On windows, both the config directory and the cache directory are
61-
the same and are in your :file:`Documents and Settings` or :file:`Users`
59+
60+
On windows, both the config directory and the cache directory are
61+
the same and are in your :file:`Documents and Settings` or :file:`Users`
6262
directory by default::
6363

6464
>>> import matplotlib
@@ -104,7 +104,7 @@ please provide the following information in your e-mail to the
104104
packages, github, PyPi, or Anaconda_ or `Enthought Canopy
105105
<https://www.enthought.com/products/canopy/>`_).
106106

107-
.. _Anaconda: https://store.continuum.io/cshop/anaconda/
107+
.. _Anaconda: https://www.continuum.io/downloads
108108

109109

110110
* any customizations to your ``matplotlibrc`` file (see

doc/faq/usage_faq.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ macosx Cocoa rendering in OSX windows
447447
.. _`Cairo graphics`: https://en.wikipedia.org/wiki/Cairo_(graphics)
448448
.. _`Gimp Drawing Kit`: https://en.wikipedia.org/wiki/GDK
449449
.. _PyGTK: http://www.pygtk.org
450-
.. _PyGObject: https://live.gnome.org/PyGObject
450+
.. _PyGObject: https://wiki.gnome.org/action/show/Projects/PyGObject
451451
.. _pycairo: https://www.cairographics.org/pycairo/
452452
.. _cairocffi: https://pythonhosted.org/cairocffi/
453453
.. _wxPython: https://www.wxpython.org/
@@ -463,7 +463,7 @@ does not support python3. A work in progress redesigned version known as
463463
wxPython-Phoenix_ does support python3.
464464
Matplotlib should work with both versions.
465465

466-
.. _wxPython-Phoenix: http://wxpython.org/Phoenix/docs/html/main.html
466+
.. _wxPython-Phoenix: https://wxpython.org/Phoenix/docs/html/main.html
467467

468468
GTK and Cairo
469469
=============
@@ -523,8 +523,8 @@ and turned off via :func:`matplotlib.pyplot.ioff`.
523523

524524
.. note::
525525
Interactive mode works with suitable backends in ipython and in
526-
the ordinary python shell, but it does *not* work in the IDLE IDE.
527-
If the default backend does not support interactivity, an interactive
526+
the ordinary python shell, but it does *not* work in the IDLE IDE.
527+
If the default backend does not support interactivity, an interactive
528528
backend can be explicitl 95FD y activated using any of the methods discussed in `What is a backend?`_.
529529

530530

doc/glossary/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Glossary
4040
file format for photographic images
4141

4242
numpy
43-
`numpy <http://numpy.scipy.org>`_ is the standard numerical
43+
`numpy <http://www.numpy.org/>`_ is the standard numerical
4444
array library for python, the successor to Numeric and numarray.
4545
numpy provides fast operations for homogeneous data sets and
4646
common mathematical operations like correlations, standard

0 commit comments

Comments
 (0)
0