Skip to content

Commit 8ea3f1d

Browse files
DOC: Fix broken URLs (#3875)
Co-authored-by: Dongdong Tian <[email protected]>
1 parent 2f80408 commit 8ea3f1d

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Diff for: .github/workflows/check-links.yml

+5
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,14 @@ jobs:
5050
--exclude "^https://docs.generic-mapping-tools.org/6.[0-9]?/%s$"
5151
--exclude "^https://docs.generic-mapping-tools.org/6.[0-9]?/%3Cmodule-name%3E.html$"
5252
--exclude "^https://doi.org"
53+
--exclude "^https://github.com/%7Brepository%7D"
5354
--exclude "^https://github.com/GenericMappingTools/gmt/releases/tag/X.Y.Z$"
5455
--exclude "^https://github.com/GenericMappingTools/pygmt/edit"
5556
--exclude "^https://github.com/GenericMappingTools/pygmt/issues/new"
5657
--exclude "^https://github.com/GenericMappingTools/pygmt/pull/[0-9]*$"
5758
--exclude "^https://github.com/GenericMappingTools/pygmt/issues/[0-9]*$"
59+
--exclude "^https://github.com/GenericMappingTools/pygmt/releases/download/%7B%7Bpath%7D%7D/pygmt-docs.pdf"
60+
--exclude "^https://github.com/GenericMappingTools/pygmt/releases/download/%7B%7Bpath%7D%7D/pygmt-docs.zip"
5861
--exclude "^https://github.com/GenericMappingTools/pygmt/releases/tag/%7B%7Bpath%7D%7D"
5962
--exclude "^https://hackmd.io/@pygmt"
6063
--exclude "^https://test.pypi.org/simple/"
@@ -63,6 +66,8 @@ jobs:
6366
--exclude "^https://www.pygmt.org/%7B%7Bpath%7D%7D"
6467
--exclude "^https://www.researchgate.net/"
6568
--exclude "^https://zenodo.org/badge/DOI/"
69+
--exclude-path "repository/doc/**/*.rst"
70+
--exclude-path "repository/doc/**/*.md"
6671
--verbose
6772
"repository/**/*.rst"
6873
"repository/**/*.md"

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![Compatible Python versions](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2FGenericMappingTools%2Fpygmt%2Frefs%2Fheads%2Fmain%2Fpyproject.toml)](https://www.pygmt.org/dev/minversions.html)
1111
[![Digital Object Identifier for the Zenodo archive](https://zenodo.org/badge/DOI/10.5281/3781524.svg)](https://doi.org/10.5281/zenodo.3781524)
1212
[![Discourse forum](https://img.shields.io/discourse/status?label=forum&server=https%3A%2F%2Fforum.generic-mapping-tools.org)](https://forum.generic-mapping-tools.org)
13-
[![PyOpenSci](https://tinyurl.com/y22nb8up)](https://github.com/pyOpenSci/software-review/issues/43)
13+
[![PyOpenSci](https://tinyurl.com/y22nb8up)](https://github.com/pyOpenSci/software-submission/issues/43)
1414
[![Contributor Code of Conduct](https://img.shields.io/badge/Contributor%20Covenant-v2.1%20adopted-ff69b4.svg)](https://github.com/GenericMappingTools/.github/blob/main/CODE_OF_CONDUCT.md)
1515
[![GitHub Actions Tests status](https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_tests.yaml/badge.svg)](https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_tests.yaml)
1616
[![GitHub Actions GMT Dev Tests status](https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_tests_dev.yaml/badge.svg)](https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_tests_dev.yaml)

Diff for: doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
typehints_defaults = "comma"
151151

152152
# Options for Sphinx-Gallery.
153-
# Reference: https://sphinx-gallery.readthedocs.io/en/latest/configuration.html
153+
# Reference: https://sphinx-gallery.github.io/stable/configuration.html
154154
sphinx_gallery_conf = {
155155
# Set paths to your examples scripts
156156
"examples_dirs": [

0 commit comments

Comments
 (0)