Skip to content

Commit

Permalink
DOC: Clean up linkcheck redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
dopplershift committed Nov 12, 2024
1 parent 7d3a89a commit f2e95bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Add tests for your change(s). Make the tests pass:

py.test

Commit the changes you made. Chris Beams has written a [guide](https://chris.beams.io/posts/git-commit/) on how to write good commit messages.
Commit the changes you made. Chris Beams has written a [guide](https://cbea.ms/git-commit/) on how to write good commit messages.

Push to your fork and [submit a pull request][pr].

Expand Down
7 changes: 7 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,10 @@

# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False

# Dictionary of URL redirects allowed
linkcheck_allowed_redirects = {
r'https://doi.org/.*': r'https://.*',
r'https://gitter.im/Unidata/siphon': r'https://app.gitter.im/.*siphon.*',
r'https://codecov.io/github/Unidata/siphon': r'https://app.codecov.io/github/Unidata/siphon',
}
2 changes: 1 addition & 1 deletion docs/developerguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Code Style
----------

Siphon uses the Python code style outlined in `PEP8
<https://www.python.org/dev/peps/pep-0008/>`_. For better or worse, this is what the majority
<https://peps.python.org/pep-0008/>`_. For better or worse, this is what the majority
of the Python world uses. The one deviation is that line length limit is 95 characters. 80 is a
good target, but some times longer lines are needed.

Expand Down

0 comments on commit f2e95bf

Please sign in to comment.