Skip to content

Commit

Permalink
DOC: Update URLs from "http" to "https" if available (#3467)
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnefroehlich committed Sep 30, 2024
1 parent 61f86e8 commit f14aac5
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ body:
For more details, check out:
- [Minimal Complete Verifiable Examples](https://stackoverflow.com/help/mcve)
- [Craft Minimal Bug Reports](http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports)
- [Craft Minimal Bug Reports](https://matthewrocklin.com/minimal-bug-reports)
placeholder: "PASTE CODE HERE"
render: python
Expand Down
6 changes: 3 additions & 3 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ The following people have contributed code and/or documentation to the project
| [Abhishek Anant](https://twitter.com/itsabhianant) | [0000-0002-5751-2010](https://orcid.org/0000-0002-5751-2010) | Unaffiliated |
| [Andre L. Belem](https://github.com/andrebelem) | [0000-0002-8865-6180](https://orcid.org/0000-0002-8865-6180) | Fluminense Federal University, Brazil |
| [Dongdong Tian](https://seisman.info/) | [0000-0001-7967-1197](https://orcid.org/0000-0001-7967-1197) | China University of Geosciences, China |
| [Jamie Quinn](http://jamiejquinn.com) | [0000-0002-0268-7032](https://orcid.org/0000-0002-0268-7032) | University College London, United Kingdom |
| [Jamie Quinn](https://jamiejquinn.com) | [0000-0002-0268-7032](https://orcid.org/0000-0002-0268-7032) | University College London, United Kingdom |
| [Jiayuan Yao](https://github.com/core-man) | [0000-0001-7036-4238](https://orcid.org/0000-0001-7036-4238) | Nanyang Technological University, Singapore |
| [Jing-Hui Tong](https://github.com/jhtong33) | [0009-0002-7195-3071](https://orcid.org/0009-0002-7195-3071) | National Taiwan Normal University, Taiwan |
| [Kathryn Materna](https://github.com/kmaterna) | [0000-0002-6687-980X](https://orcid.org/0000-0002-6687-980X) | US Geological Survey, USA |
| [Leonardo Uieda](http://www.leouieda.com/) | [0000-0001-6123-9515](https://orcid.org/0000-0001-6123-9515) | University of Liverpool, United Kingdom |
| [Leonardo Uieda](https://www.leouieda.com/) | [0000-0001-6123-9515](https://orcid.org/0000-0001-6123-9515) | University of Liverpool, United Kingdom |
| [Liam Toney](https://liam.earth/) | [0000-0003-0167-9433](https://orcid.org/0000-0003-0167-9433) | University of Alaska Fairbanks, USA |
| [Malte Ziebarth](https://github.com/mjziebarth) | [0000-0002-5190-4478](https://orcid.org/0000-0002-5190-4478) | GFZ German Research Centre for Geosciences, Germany |
| [Max Jones](https://github.com/maxrjones) | [0000-0003-0180-8928](https://orcid.org/0000-0003-0180-8928) | University of Hawaiʻi at Mānoa, USA |
| [Michael Grund](https://github.com/michaelgrund) | [0000-0001-8759-2018](https://orcid.org/0000-0001-8759-2018) | SNP Innovation Lab GmbH, Germany |
| [Tyler Newton](http://www.tnewton.com/) | [0000-0002-1560-6553](https://orcid.org/0000-0002-1560-6553) | University of Oregon, USA |
| [Tyler Newton](https://www.tnewton.com/) | [0000-0002-1560-6553](https://orcid.org/0000-0002-1560-6553) | University of Oregon, USA |
| [Wei Ji Leong](https://github.com/weiji14) | [0000-0003-2354-1988](https://orcid.org/0000-0003-2354-1988) | Development Seed, USA |
| [William Schlitzer](https://github.com/willschlitzer) | [0000-0002-5843-2282](https://orcid.org/0000-0002-5843-2282) | Unaffiliated |
| [Yohai Magen](https://github.com/yohaimagen) | [0000-0002-4892-4013](https://orcid.org/0000-0002-4892-4013) | Tel Aviv University, Israel |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[Documentation (development version)](https://www.pygmt.org/dev) | [Contact](https://forum.generic-mapping-tools.org) | [TryOnline](https://github.com/GenericMappingTools/try-gmt)

[![Latest version on PyPI](http://img.shields.io/pypi/v/pygmt.svg?style=flat-square)](https://pypi.python.org/pypi/pygmt)
[![Latest version on PyPI](https://img.shields.io/pypi/v/pygmt.svg?style=flat-square)](https://pypi.python.org/pypi/pygmt)
[![Latest version on conda-forge](https://img.shields.io/conda/v/conda-forge/pygmt?style=flat-square)](https://anaconda.org/conda-forge/pygmt)
[![GitHub Actions Tests status](https://github.com/GenericMappingTools/pygmt/workflows/Tests/badge.svg)](https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_tests.yaml)
[![GitHub Actions GMT Dev Tests status](https://github.com/GenericMappingTools/pygmt/workflows/GMT%20Dev%20Tests/badge.svg)](https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_tests_dev.yaml)
Expand Down
2 changes: 1 addition & 1 deletion doc/_static/version_switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
window.location.href = new_url;
},
error: function() {
window.location.href = 'http://' + doc_url + '/' + selected;
window.location.href = 'https://' + doc_url + '/' + selected;
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion doc/_templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{%- block extrafooter %}
<p>
Built with <a href="http://sphinx-doc.org/">Sphinx</a>
Built with <a href="https://sphinx-doc.org/">Sphinx</a>
using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>
</p>
Expand Down
10 changes: 5 additions & 5 deletions doc/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Please take a look at these resources to learn about Git and pull requests (don'
hesitate to [ask questions](contributing.md#getting-help)):

* [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/).
* [Git Workflow Tutorial](http://www.asmeurer.com/git-workflow/) by Aaron Meurer.
* [Git Workflow Tutorial](https://www.asmeurer.com/git-workflow/) by Aaron Meurer.
* [How to Contribute to an Open Source Project on GitHub](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github).

### Getting Help
Expand All @@ -111,7 +111,7 @@ the project where you can ask questions.

### Pull Request Workflow

We follow the [git pull request workflow](http://www.asmeurer.com/git-workflow)
We follow the [git pull request workflow](https://www.asmeurer.com/git-workflow)
to make changes to our codebase. Every change made goes through a pull request, even
our own, so that our
[continuous integration](https://en.wikipedia.org/wiki/Continuous_integration)
Expand Down Expand Up @@ -168,7 +168,7 @@ To increase the chances of getting your pull request accepted quickly, try to:
or [Tutorials](contributing.md#contributing-tutorials).
* Have a good coding style
- Use readable code, as it is better than clever code (even with comments).
- Follow the [PEP8](http://pep8.org) style guide for code and the
- Follow the [PEP8](https://pep8.org) style guide for code and the
[NumPy style guide](https://numpydoc.readthedocs.io/en/latest/format.html)
for docstrings. Please refer to [Code style](contributing.md#code-style).

Expand Down Expand Up @@ -251,7 +251,7 @@ There are four main components to PyGMT's documentation:

The documentation is written primarily in
[reStructuredText](https://docutils.sourceforge.io/rst.html) and built by
[Sphinx](http://www.sphinx-doc.org/). Please refer to
[Sphinx](https://www.sphinx-doc.org/). Please refer to
{gmt-docs}`reStructuredText Cheatsheet <devdocs/rst-cheatsheet.html>`
if you are new to reStructuredText. When contributing documentation, be sure to
follow the general guidelines in the [pull request workflow](contributing.md#pull-request-workflow)
Expand Down Expand Up @@ -473,7 +473,7 @@ code, be sure to follow the general guidelines in the
### Code Style

We use the [ruff](https://docs.astral.sh/ruff) tool to format the code, so we
don't have to think about it. It loosely follow the [PEP8](http://pep8.org) guide
don't have to think about it. It loosely follow the [PEP8](https://pep8.org) guide
but with a few differences. Regardless, you won't have to worry about formatting
the code yourself. Before committing, run it to automatically format your code:

Expand Down
4 changes: 2 additions & 2 deletions doc/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ and JPG for use on the web and elsewhere. In fact, PyGMT users will usually not
contact with the original PostScript files and get only the more convenient formats like
PDF and PNG.

The project was started in 2017 by [Leonardo Uieda](http://www.leouieda.com) and
[Paul Wessel](http://www.soest.hawaii.edu/wessel) (the co-creator and main developer of
The project was started in 2017 by [Leonardo Uieda](https://www.leouieda.com) and
[Paul Wessel](https://www.soest.hawaii.edu/wessel) (the co-creator and main developer of
GMT) at the University of Hawaiʻi at Mānoa. The development of PyGMT has been supported
by NSF grants [OCE-1558403](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1558403)
and [EAR-1948602](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1948602).
Expand Down
2 changes: 1 addition & 1 deletion examples/gallery/lines/roads.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# Read shapefile data using geopandas
gdf = gpd.read_file(
"http://www2.census.gov/geo/tiger/TIGER2015/PRISECROADS/tl_2015_15_prisecroads.zip"
"https://www2.census.gov/geo/tiger/TIGER2015/PRISECROADS/tl_2015_15_prisecroads.zip"
)
# The dataset contains different road types listed in the RTTYP column,
# here we select the following ones to plot:
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grd2cpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def grd2cpt(grid, **kwargs):
highest *z*-value, and the NaN color (N) painted wherever values are
undefined. For color tables beyond the standard GMT offerings, visit
`cpt-city <http://www.seaviewsensing.com/pub/cpt-city/>`_ and
`Scientific Colour-Maps <http://www.fabiocrameri.ch/colourmaps.php>`_.
`Scientific Colour-Maps <https://www.fabiocrameri.ch/colourmaps.php>`_.
If the master CPT includes B, F, and N entries, these will be copied into
the new master file. If not, the parameters :gmt-term:`COLOR_BACKGROUND`,
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/makecpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def makecpt(**kwargs):
reversed relative to the master cpt, and can be made continuous or
discrete. For color tables beyond the standard GMT offerings, visit
`cpt-city <http://www.seaviewsensing.com/pub/cpt-city/>`_ and
`Scientific Colour-Maps <http://www.fabiocrameri.ch/colourmaps.php>`_.
`Scientific Colour-Maps <https://www.fabiocrameri.ch/colourmaps.php>`_.
The CPT includes three additional colors beyond the range of z-values.
These are the background color (B) assigned to values lower than the lowest
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def select(
given range or is NaN (use ``skiprows`` to skip NaN records). If *max*
is omitted then we test if *z* equals *min* instead. This means
equality within 5 ULPs (unit of least precision;
http://en.wikipedia.org/wiki/Unit_in_the_last_place). Input file must
https://en.wikipedia.org/wiki/Unit_in_the_last_place). Input file must
have at least three columns. To indicate no limit on *min* or *max*,
specify a hyphen (-). If your 3rd column is absolute time then remember
to supply ``coltypes="2T"``. To specify another column, append
Expand Down

0 comments on commit f14aac5

Please sign in to comment.