Skip to content

Commit

Permalink
adjustments to pass linkcheck
Browse files Browse the repository at this point in the history
- docs: adjustments to pass linkcheck
  • Loading branch information
msftcangoblowm committed Dec 12, 2024
1 parent c204d4b commit 92c27d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 4 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,10 @@ def file_head(fn, *, head=None):

# -- Options for linkcheck --------------------------------------------------

linkcheck_ignore = [r"^https?://(\w+[.])?twitter[.]com.*$"]
linkcheck_ignore = [
r"^https?://(\w+[.])?twitter[.]com.*$",
"https://opensource.org/license/MIT",
]
linkcheck_anchors_ignore = [r"^L\d+$", r"^L\d+-L\d+$"]


Expand Down
8 changes: 3 additions & 5 deletions src/sphobjinv/cli/core_textconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
\(c) Brian Skinn 2016-2024
**Source Repository**
http://www.github.com/bskinn/sphobjinv
https://github.com/bskinn/sphobjinv
**Documentation**
https://sphobjinv.readthedocs.io/en/stable
Expand Down Expand Up @@ -76,12 +76,10 @@


def print_stderr_2(thing, params_b, *, end=os.linesep):
r"""Bypass :func:`print_strerr <sphobjinv.cli.ui.print_strerr>`.
r"""Bypass parser dependent, print_strerr.
Use along with :func:`unittest.mock.patch` whenever calling
:mod:`sphobjinv.cli` internals.
print_strerr is parser dependent, so cannot be used.
sphobjinv.cli internals.
Parameters
----------
Expand Down

0 comments on commit 92c27d0

Please sign in to comment.