Skip to content

Commit 60eceb9

Browse files
committed
Merge pull request #314 from effigies/opportunistic_ssl
MRG: Use HTTPS for outside scripts/forms https instead of http for web links where possible.
2 parents d7dccea + 7c5d358 commit 60eceb9

38 files changed

+207
-206
lines changed

doc/source/_templates/indexsidebar.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<h3>Quick links</h3>
22

33
<ul>
4-
<li><a href="http://pypi.python.org/pypi/nibabel">Nibabel pypi</a></li>
5-
<li><a href="http://github.com/nipy/nibabel">Git repository</a></li>
4+
<li><a href="https://pypi.python.org/pypi/nibabel">Nibabel pypi</a></li>
5+
<li><a href="https://github.com/nipy/nibabel">Git repository</a></li>
66
<li><a href="http://mail.scipy.org/pipermail/nipy-devel">Mailing list archive</a></li>
77
</ul>
88

9-
<script type="text/javascript" src="http://www.ohloh.net/projects/480908/widgets/project_partner_badge"></script>
9+
<script type="text/javascript" src="https://www.ohloh.net/projects/480908/widgets/project_partner_badge"></script>
1010

1111
<h3>Search mailing list archive</h3>
1212
<script type="text/javascript">
@@ -15,7 +15,7 @@ <h3>Search mailing list archive</h3>
1515
curobj.q.value="site:mail.scipy.org/pipermail/nipy-devel/ "+curobj.userquery.value
1616
}
1717
</script>
18-
<form action="http://www.google.com/search" method="get" onSubmit="mlsearch(this)">
18+
<form action="https://www.google.com/search" method="get" onSubmit="mlsearch(this)">
1919
<input name="userquery" size="18" type="text" /> <input type="submit" value="Go" />
2020
<input name="q" type="hidden" />
2121
</form>

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/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@
216216
# Output file base name for HTML help builder.
217217
htmlhelp_basename = 'nibabeldoc'
218218

219+
mathjax_path = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
219220

220221
# -- Options for LaTeX output --------------------------------------------------
221222

@@ -251,7 +252,7 @@
251252

252253

253254
# Example configuration for intersphinx: refer to the Python standard library.
254-
intersphinx_mapping = {'http://docs.python.org/': None}
255+
intersphinx_mapping = {'https://docs.python.org/': None}
255256

256257
# Config of plot_directive
257258
plot_include_source = True

doc/source/devel/data_pkg_design.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ There is an example nipy data package ``nipy-examplepkg`` in the
288288
``examples`` directory of the NIPY repository.
289289

290290
The machinery for creating and maintaining data packages is available at
291-
http://github.com/nipy/data-packaging.
291+
https://github.com/nipy/data-packaging.
292292

293293
See the ``README.txt`` file there for more information.
294294

doc/source/devel/data_pkg_discuss.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Issues
275275
******
276276

277277
From a brief scan of the `debian package management documentation
278-
<http://www.debian.org/doc/manuals/debian-reference/ch02.en.html>`_.
278+
<https://www.debian.org/doc/manuals/debian-reference/ch02.en.html>`_.
279279

280280
Dependency management
281281
=====================
@@ -292,7 +292,7 @@ Authentication and validation
292292
For dependency and validation, see the `Debian secure apt`_ page. One related
293293
proposal would be:
294294

295-
.. _Debian secure apt: http://wiki.debian.org/SecureApt
295+
.. _Debian secure apt: https://wiki.debian.org/SecureApt
296296

297297
* Each package instantiation would carry a table of checksums for the files
298298
within. Someone using this instantiation would check the checksums to confirm

doc/source/devel/make_release.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,14 @@ Release checklist
180180

181181
* Force builds of the win32 and amd64 binaries from the buildbot. Go to pages:
182182

183-
* http://nipy.bic.berkeley.edu/builders/nibabel-bdist32-27
184-
* http://nipy.bic.berkeley.edu/builders/nibabel-bdist32-34
185-
* http://nipy.bic.berkeley.edu/builders/nibabel-bdist64-27
183+
* https://nipy.bic.berkeley.edu/builders/nibabel-bdist32-27
184+
* https://nipy.bic.berkeley.edu/builders/nibabel-bdist32-34
185+
* https://nipy.bic.berkeley.edu/builders/nibabel-bdist64-27
186186

187187
For each of these, enter the revision number (e.g. "2.0.0") in the field
188188
"Revision to build". Then get the built binaries in:
189189

190-
* http://nipy.bic.berkeley.edu/nibabel-dist
190+
* https://nipy.bic.berkeley.edu/nibabel-dist
191191

192192
and upload them to pypi with the admin files interface.
193193

@@ -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/dicom/dcm2nii_algorithms.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ by Chris Rorden, in Delphi (object orientated pascal). It's part of
99
Chris' popular mricron_ collection of programs. The source appears to
1010
be best found on the `mricron NITRC site`_. It's BSD_ licensed.
1111

12-
.. _mricron NITRC site: http://www.nitrc.org/projects/mricron
12+
.. _mricron NITRC site: https://www.nitrc.org/projects/mricron
1313

1414
These are working notes looking at Chris' algorithms for working with
1515
DICOM.

doc/source/dicom/dicom_info.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Here is a selected list of other tools and relevant resources:
3737
headers, and has been tested with Philips, GE and Siemens data. It's
3838
not clear whether it yet supports the :ref:`dicom-mosaic`. BSD_ style
3939
license.
40-
* The famous Philips cookbook: http://www.archive.org/details/DicomCookbook
40+
* The famous Philips cookbook: https://www.archive.org/details/DicomCookbook
4141
* http://dicom.online.fr/fr/dicomlinks.htm
4242

4343
===============

doc/source/gitwash/development_workflow.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Ask for your changes to be reviewed or merged
150150
When you are ready to ask for someone to review your code and consider a merge:
151151

152152
#. Go to the URL of your forked repo, say
153-
``http://github.com/your-user-name/nibabel``.
153+
``https://github.com/your-user-name/nibabel``.
154154
#. Use the 'Switch Branches' dropdown menu near the top left of the page to
155155
select the branch with your changes:
156156

@@ -183,7 +183,7 @@ Delete a branch on github
183183
git push origin :my-unwanted-branch
184184

185185
(Note the colon ``:`` before ``test-branch``. See also:
186-
http://github.com/guides/remove-a-remote-branch
186+
https://github.com/guides/remove-a-remote-branch
187187

188188
Several people sharing a single repository
189189
------------------------------------------
@@ -195,7 +195,7 @@ share it via github.
195195
First fork nibabel into your account, as from :ref:`forking`.
196196

197197
Then, go to your forked repository github page, say
198-
``http://github.com/your-user-name/nibabel``
198+
``https://github.com/your-user-name/nibabel``
199199

200200
Click on the 'Admin' button, and add anyone else to the repo as a
201201
collaborator:

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
=====================================

0 commit comments

Comments
 (0)