Skip to content

Commit

Permalink
Change linkchecker in tox.ini to run against docs dir
Browse files Browse the repository at this point in the history
Change linkchecker to run against docs dir to validate only links
provided by user instead of all auto-generated links from site dir.
All auto-generated links in site directory contains absolute links.
The problem is that linkchecker tries to traverse those links and
is getting 404 error, which is expected as pages are not yet published.
This blocks pull-request and adding new pages or restructuring existing
docsite as in this pr[1].

[1]#4044
  • Loading branch information
ciecierski committed Dec 4, 2023
1 parent 89e66c0 commit 69d00f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ description = Build documentation
passenv = *
usedevelop = true
commands =
linkchecker -f linkcheckerrc docs
mkdocs build --strict
linkchecker -f linkcheckerrc site
extras =
docs

Expand Down

0 comments on commit 69d00f2

Please sign in to comment.