From f14aac513e6824e29f51a963671a81dd2967e820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= <94163266+yvonnefroehlich@users.noreply.github.com> Date: Mon, 30 Sep 2024 07:27:11 +0200 Subject: [PATCH] DOC: Update URLs from "http" to "https" if available (#3467) --- .github/ISSUE_TEMPLATE/1-bug_report.yaml | 2 +- AUTHORS.md | 6 +++--- README.md | 2 +- doc/_static/version_switch.js | 2 +- doc/_templates/footer.html | 2 +- doc/contributing.md | 10 +++++----- doc/overview.md | 4 ++-- examples/gallery/lines/roads.py | 2 +- pygmt/src/grd2cpt.py | 2 +- pygmt/src/makecpt.py | 2 +- pygmt/src/select.py | 2 +- 11 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1-bug_report.yaml b/.github/ISSUE_TEMPLATE/1-bug_report.yaml index 2ca187ae646..735bf2b612c 100644 --- a/.github/ISSUE_TEMPLATE/1-bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/1-bug_report.yaml @@ -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 diff --git a/AUTHORS.md b/AUTHORS.md index c69d9caa936..9dea1bba49b 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -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 | diff --git a/README.md b/README.md index b8bb251fe6c..316daf328b8 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/doc/_static/version_switch.js b/doc/_static/version_switch.js index ac6f81a5eff..acedd8c1d4c 100644 --- a/doc/_static/version_switch.js +++ b/doc/_static/version_switch.js @@ -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; } }); } diff --git a/doc/_templates/footer.html b/doc/_templates/footer.html index 801cad7e3a9..13a0f4bdfdf 100644 --- a/doc/_templates/footer.html +++ b/doc/_templates/footer.html @@ -3,7 +3,7 @@ {%- block extrafooter %}
-Built with Sphinx +Built with Sphinx using a theme provided by Read the Docs
diff --git a/doc/contributing.md b/doc/contributing.md index ec33c9a4daa..d5ac0ac1875 100644 --- a/doc/contributing.md +++ b/doc/contributing.md @@ -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 @@ -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) @@ -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). @@ -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