Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change linkchecker in tox.ini to run against docs dir #4093

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Change linkchecker in tox.ini to run against docs dir
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
commit 69d00f2c4f9266634feed0c042678cadc903ec63
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