Skip to content

Commit 7c5d358

Browse files
committed
DOC: Update URLs with non-trivial changes
1 parent 0719f71 commit 7c5d358

File tree

13 files changed

+62
-62
lines changed

13 files changed

+62
-62
lines changed

doc/source/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{% block rootrellink %}
55
<li><a href="http://nipy.org/">Community</a> |&nbsp;</li>
66
<li><a href="{{ pathto('index') }}">NiBabel Home</a> |&nbsp;</li>
7-
<li><a href="http://projects.scipy.org/mailman/listinfo/nipy-devel">Mailing list</a> |&nbsp;</li>
7+
<li><a href="http://mail.scipy.org/mailman/listinfo/nipy-devel">Mailing list</a> |&nbsp;</li>
88
<li><a href="legal.html">License</a> |&nbsp;</li>
99
{% endblock %}
1010

doc/source/devel/make_release.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,6 @@ Release checklist
256256

257257
* Announce to the mailing lists.
258258

259-
.. _setuptools intro: http://packages.python.org/an_example_pypi_project/setuptools.html
259+
.. _setuptools intro: https://pythonhosted.org/an_example_pypi_project/setuptools.html
260260

261261
.. include:: ../links_names.txt

doc/source/gitwash/forking_hell.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Making your own copy (fork) of nibabel
55
==========================================
66

77
You need to do this only once. The instructions here are very similar
8-
to the instructions at http://help.github.com/forking/ |emdash| please see
9-
that page for more detail. We're repeating some of it here just to give the
10-
specifics for the nibabel_ project, and to suggest some default names.
8+
to the instructions at https://help.github.com/articles/fork-a-repo/ |emdash|
9+
please see that page for more detail. We're repeating some of it here just to
10+
give the specifics for the nibabel_ project, and to suggest some default names.
1111

1212
Set up and configure a github account
1313
=====================================

doc/source/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://book.git-scm.com/2_installing_git.html
24+
There are good instructions here: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
2525

2626
.. include:: links.inc

doc/source/gitwash/git_links.inc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@
1212
.. _git: https://git-scm.com/
1313
.. _github: https://github.com
1414
.. _github help: https://help.github.com
15-
.. _msysgit: http://code.google.com/p/msysgit/downloads/list
15+
.. _msysgit: https://msysgit.github.io/
1616
.. _git-osx-installer: https://code.google.com/p/git-osx-installer/downloads/list
17-
.. _subversion: http://subversion.tigris.org/
17+
.. _subversion: https://subversion.apache.org/
1818
.. _git cheat sheet: https://github.com/guides/git-cheat-sheet
1919
.. _pro git book: https://progit.org/
2020
.. _git svn crash course: https://git-scm.com/course/svn.html
21-
.. _learn.github: http://learn.github.com/
21+
.. _learn.github: https://guides.github.com/
2222
.. _network graph visualizer: https://github.com/blog/39-say-hello-to-the-network-graph-visualizer
2323
.. _git user manual: https://www.kernel.org/pub/software/scm/git/docs/user-manual.html
2424
.. _git tutorial: https://www.kernel.org/pub/software/scm/git/docs/gittutorial.html
25-
.. _git community book: http://book.git-scm.com/
25+
.. _git community book: https://git-scm.com/book/en/v2
2626
.. _git ready: http://www.gitready.com/
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/
30+
.. _git concepts: http://www.sbf5.com/~cduan/technical/git/
3131
.. _git clone: https://www.kernel.org/pub/software/scm/git/docs/git-clone.html
3232
.. _git checkout: https://www.kernel.org/pub/software/scm/git/docs/git-checkout.html
3333
.. _git commit: https://www.kernel.org/pub/software/scm/git/docs/git-commit.html
@@ -43,13 +43,13 @@
4343
.. _git config: https://www.kernel.org/pub/software/scm/git/docs/git-config.html
4444
.. _why the -a flag?: http://www.gitready.com/beginner/2009/01/18/the-staging-area.html
4545
.. _git staging area: http://www.gitready.com/beginner/2009/01/18/the-staging-area.html
46-
.. _tangled working copy problem: http://tomayko.com/writings/the-thing-about-git
46+
.. _tangled working copy problem: http://2ndscale.com/rtomayko/2008/the-thing-about-git
4747
.. _git management: http://kerneltrap.org/Linux/Git_Management
4848
.. _linux git workflow: https://www.mail-archive.com/[email protected]/msg39091.html
4949
.. _git parable: http://tom.preston-werner.com/2009/05/19/the-git-parable.html
50-
.. _git foundation: http://matthew-brett.github.com/pydagogue/foundation.html
51-
.. _deleting master on github: http://matthew-brett.github.com/pydagogue/gh_delete_master.html
52-
.. _rebase without tears: http://matthew-brett.github.com/pydagogue/rebase_without_tears.html
50+
.. _git foundation: https://matthew-brett.github.io/pydagogue/foundation.html
51+
.. _deleting master on github: https://matthew-brett.github.io/pydagogue/gh_delete_master.html
52+
.. _rebase without tears: https://matthew-brett.github.io/pydagogue/rebase_without_tears.html
5353
.. _resolving a merge: https://www.kernel.org/pub/software/scm/git/docs/user-manual.html#resolving-a-merge
5454
.. _ipython git workflow: http://mail.scipy.org/pipermail/ipython-dev/2010-October/006746.html
5555

doc/source/gitwash/known_projects.inc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
.. Known projects
22

33
.. PROJECTNAME placeholders
4-
.. _PROJECTNAME: http://neuroimaging.scipy.org
4+
.. _PROJECTNAME: http://nipy.org
55
.. _`PROJECTNAME github`: https://github.com/nipy
6-
.. _`PROJECTNAME mailing list`: http://projects.scipy.org/mailman/listinfo/nipy-devel
6+
.. _`PROJECTNAME mailing list`: http://mail.scipy.org/mailman/listinfo/nipy-devel
77

88
.. numpy
9-
.. _numpy: hhttp://numpy.scipy.org
9+
.. _numpy: http://www.numpy.org
1010
.. _`numpy github`: https://github.com/numpy/numpy
1111
.. _`numpy mailing list`: http://mail.scipy.org/mailman/listinfo/numpy-discussion
1212

1313
.. scipy
14-
.. _scipy: http://www.scipy.org
14+
.. _scipy: https://www.scipy.org
1515
.. _`scipy github`: https://github.com/scipy/scipy
1616
.. _`scipy mailing list`: http://mail.scipy.org/mailman/listinfo/scipy-dev
1717

@@ -21,7 +21,7 @@
2121
.. _`nipy mailing list`: http://mail.scipy.org/mailman/listinfo/nipy-devel
2222

2323
.. ipython
24-
.. _ipython: http://ipython.scipy.org
24+
.. _ipython: https://ipython.org
2525
.. _`ipython github`: https://github.com/ipython/ipython
2626
.. _`ipython mailing list`: http://mail.scipy.org/mailman/listinfo/IPython-dev
2727

doc/source/links_names.txt

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737

3838
.. Documentation tools
3939
.. _graphviz: http://www.graphviz.org/
40-
.. _Sphinx: http://sphinx.pocoo.org/
41-
.. _`Sphinx reST`: http://sphinx.pocoo.org/rest.html
40+
.. _Sphinx: http://sphinx-doc.org/
41+
.. _`Sphinx reST`: http://sphinx-doc.org/rest.html
4242
.. _reST: http://docutils.sourceforge.net/rst.html
4343
.. _docutils: http://docutils.sourceforge.net
4444
.. _IPython notebook viewer: http://nbviewer.ipython.org
@@ -63,58 +63,58 @@
6363
.. _sourceforge: http://nipy.sourceforge.net/
6464
.. _`nipy launchpad`: https://launchpad.net/nipy
6565
.. _launchpad: https://launchpad.net/
66-
.. _`nipy trunk`: http://code.launchpad.net/~nipy-developers/nipy/trunk
67-
.. _`nipy mailing list`: http://projects.scipy.org/mailman/listinfo/nipy-devel
68-
.. _`nipy bugs`: https://bugs.launchpad.net/nipy
69-
.. _sourceforge download page: http://sourceforge.net/projects/nipy/files
66+
.. _`nipy trunk`: https://github.com/nipy/nipy/tree/master
67+
.. _`nipy mailing list`: http://mail.scipy.org/mailman/listinfo/nipy-devel
68+
.. _`nipy bugs`: https://github.com/nipy/nipy/issues
69+
.. _sourceforge download page: https://github.com/nipy/nipy/releases
7070

7171
.. Code support stuff
7272
.. _pychecker: http://pychecker.sourceforge.net/
73-
.. _pylint: http://www.logilab.org/project/pylint
74-
.. _pyflakes: http://divmod.org/trac/wiki/DivmodPyflakes
75-
.. _virtualenv: https://pypi.python.org/pypi/virtualenv
73+
.. _pylint: https://bitbucket.org/logilab/pylint/
74+
.. _pyflakes: https://github.com/pyflakes/pyflakes
75+
.. _virtualenv: https://virtualenv.pypa.io/en/latest/
7676
.. _github: https://github.com
7777
.. _flymake: http://flymake.sourceforge.net/
7878
.. _rope: http://rope.sourceforge.net/
7979
.. _pymacs: http://pymacs.progiciels-bpi.ca/pymacs.html
8080
.. _ropemacs: http://rope.sourceforge.net/ropemacs.html
8181
.. _ECB: http://ecb.sourceforge.net/
8282
.. _emacs_python_mode: http://www.emacswiki.org/cgi-bin/wiki/PythonMode
83-
.. _doctest-mode: http://www.cis.upenn.edu/~edloper/projects/doctestmode/
83+
.. _doctest-mode: http://ed.loper.org/projects/doctestmode/
8484
.. _nose: http://somethingaboutorange.com/mrl/projects/nose
85-
.. _`python coverage tester`: http://nedbatchelder.com/code/modules/coverage.html
85+
.. _`python coverage tester`: http://nedbatchelder.com/code/coverage/
8686
.. _bitbucket: https://bitbucket.org
8787

8888
.. Other python projects
89-
.. _numpy: http://www.scipy.org/NumPy
89+
.. _numpy: http://www.numpy.org
9090
.. _scipy: https://www.scipy.org
91-
.. _ipython: http://ipython.scipy.org
91+
.. _ipython: https://ipython.org
9292
.. _`ipython github`: https://github.com/ipython/ipython
9393
.. _`ipython mailing list`: http://mail.scipy.org/mailman/listinfo/IPython-dev
94-
.. _`ipython manual`: http://ipython.scipy.org/doc/manual/html
95-
.. _matplotlib: http://matplotlib.sourceforge.net
94+
.. _`ipython manual`: https://ipython.org/ipython-doc/stable/index.html
95+
.. _matplotlib: http://matplotlib.org/
9696
.. _pythonxy: http://www.pythonxy.com
97-
.. _EPD: http://www.enthought.com/products/epd.php
98-
.. _ETS: http://code.enthought.com/projects/tool-suite.php
99-
.. _`Enthought Tool Suite`: http://code.enthought.com/projects/tool-suite.php
97+
.. _EPD: https://www.enthought.com/products/epd/
98+
.. _ETS: http://code.enthought.com/
99+
.. _`Enthought Tool Suite`: http://code.enthought.com/
100100
.. _python: https://www.python.org
101101
.. _mayavi: http://mayavi.sourceforge.net/
102-
.. _sympy: http://code.google.com/p/sympy/
103-
.. _networkx: http://networkx.lanl.gov/
102+
.. _sympy: http://www.sympy.org/
103+
.. _networkx: https://networkx.github.io/
104104
.. _setuptools: https://pypi.python.org/pypi/setuptools
105-
.. _distribute: http://packages.python.org/distribute
105+
.. _distribute: https://pythonhosted.org/distribute
106106
.. _pip: https://pip.readthedocs.org/en/latest
107107
.. _pip install instructions:
108108
https://pip.readthedocs.org/en/latest/installing.html
109109
.. _twine: https://pypi.python.org/pypi/twine
110-
.. _datapkg: http://okfn.org/projects/datapkg
111-
.. _python imaging library: http://www.pythonware.com
110+
.. _datapkg: https://pythonhosted.org/datapkg/
111+
.. _python imaging library: http://pythonware.com/products/pil/
112112

113113
.. Python imaging projects
114114
.. _PyMVPA: http://www.pymvpa.org
115115
.. _BrainVISA: http://brainvisa.info
116116
.. _anatomist: http://brainvisa.info
117-
.. _pydicom: http://code.google.com/p/pydicom/
117+
.. _pydicom: http://www.pydicom.org/
118118

119119
.. Not so python imaging projects
120120
.. _matlab: https://www.mathworks.com
@@ -124,14 +124,14 @@
124124
.. _AFNI: http://afni.nimh.nih.gov/afni
125125
.. _FSL: http://www.fmrib.ox.ac.uk/fsl
126126
.. _FreeSurfer: https://surfer.nmr.mgh.harvard.edu
127-
.. _voxbo: http://www.voxbo.org
128-
.. _mricron: http://www.cabiatl.com/mricro/mricron
127+
.. _voxbo: https://www.nitrc.org/projects/voxbo/
128+
.. _mricron: http://www.mccauslandcenter.sc.edu/mricro/mricron/
129129
.. _slicer: http://www.slicer.org/
130130

131131
.. File formats
132132
.. _DICOM: http://medical.nema.org/
133133
.. _`wikipedia DICOM`: https://en.wikipedia.org/wiki/Digital_Imaging_and_Communications_in_Medicine
134-
.. _GDCM: http://sourceforge.net/apps/mediawiki/gdcm
134+
.. _GDCM: http://gdcm.sourceforge.net/wiki/
135135
.. _DICOM standard : http://medical.nema.org/standard.html
136136
.. _PS 3.1: http://medical.nema.org/Dicom/2011/11_01pu.pdf
137137
.. _PS 3.2: http://medical.nema.org/Dicom/2011/11_02pu.pdf
@@ -194,7 +194,7 @@
194194
.. _ANALYZE: http://www.grahamwideman.com/gw/brain/analyze/formatdoc.htm
195195
.. _NIfTI1: http://nifti.nimh.nih.gov/nifti-1/
196196
.. _NIfTI2: http://nifti.nimh.nih.gov/nifti-2/
197-
.. _MINC: http://wiki.bic.mni.mcgill.ca/index.php/MINC
197+
.. _MINC: https://www.mcgill.ca/bic/software/minc
198198
.. _GIFTI: https://www.nitrc.org/projects/gifti
199199
.. _MINC1:
200200
https://en.wikibooks.org/wiki/MINC/Reference/MINC1_File_Format_Reference

doc/source/notebooks/ata_error.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
"cell_type": "markdown",
226226
"metadata": {},
227227
"source": [
228-
"Now consider the floating point calculation error. This depends on the floating point representation we use for the calculations. Let $\\epsilon = x-1$ where $x$ is the smallest number greater than 1 that is representable in our floating point format (see http://matthew-brett.github.com/pydagogue/floating_error.html). The largest error for a calculation resulting in a value near 1 is $\\frac{\\epsilon}{2}$. For the diagonal values, the calculation error will be the error for the $r_{i,*} r_{i, *}'$ dot product. This comprises $N$ scalar products with results each bounded by 1 ($r_{i, j} r_{i, j}$) followed by $N-1$ sums each bounded by 1. Maximum error is therefore $(2N-1) \\frac{\\epsilon}{2}$ = $\\frac{5}{2} \\epsilon$ where $N=3$."
228+
"Now consider the floating point calculation error. This depends on the floating point representation we use for the calculations. Let $\\epsilon = x-1$ where $x$ is the smallest number greater than 1 that is representable in our floating point format (see https://matthew-brett.github.io/pydagogue/floating_error.html). The largest error for a calculation resulting in a value near 1 is $\\frac{\\epsilon}{2}$. For the diagonal values, the calculation error will be the error for the $r_{i,*} r_{i, *}'$ dot product. This comprises $N$ scalar products with results each bounded by 1 ($r_{i, j} r_{i, j}$) followed by $N-1$ sums each bounded by 1. Maximum error is therefore $(2N-1) \\frac{\\epsilon}{2}$ = $\\frac{5}{2} \\epsilon$ where $N=3$."
229229
]
230230
},
231231
{

nibabel/casting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def type_info(np_type):
215215
Notes
216216
-----
217217
You might be thinking that ``np.finfo`` does this job, and it does, except
218-
for PPC long doubles (http://projects.scipy.org/numpy/ticket/2077) and
218+
for PPC long doubles (https://github.com/numpy/numpy/issues/2669) and
219219
float96 on Windows compiled with Mingw. This routine protects against such
220220
errors in ``np.finfo`` by only accepting values that we know are likely to
221221
be correct.
@@ -285,7 +285,7 @@ def type_info(np_type):
285285
# seems to break here too, so we need to use np.longdouble and
286286
# complexify
287287
two = np.longdouble(2)
288-
# See: http://matthew-brett.github.com/pydagogue/floating_point.html
288+
# See: https://matthew-brett.github.io/pydagogue/floating_point.html
289289
max_val = (two ** 113 - 1) / (two ** 112) * two ** 16383
290290
if np_type is np.longcomplex:
291291
max_val += 0j

nibabel/gifti/parse_gifti_fast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def read_data_block(encoding, endian, ordering, datatype, shape, data):
4949
elif enclabel == 'B64GZ':
5050
# GIFTI_ENCODING_B64GZ
5151
# convert to bytes array for python 3.2
52-
# http://diveintopython3.org/strings.html#byte-arrays
52+
# http://www.diveintopython3.net/strings.html#byte-arrays
5353
dec = base64.b64decode(data.encode('ascii'))
5454
zdec = zlib.decompress(dec)
5555
dt = data_type_codes.type[datatype]

0 commit comments

Comments
 (0)