You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
validation.links.not_found is always reported as INFO #3900
# mkdocs.ymlsite_name: My Docsvalidation:
links:
not_found: warnexclude_docs: | /asdf.md
mkdocs output
> mkdocs build --strict
INFO - Cleaning site directory
INFO - Building documentation to directory: C:\Users\user\my-project\site
INFO - Doc file 'index.md' contains a link to 'asdf.md' which is excluded from the built site.
INFO - Documentation built in 0.14 seconds
Original issue: #3371. PR: #3449. I note that the issue only complained about INFO logs for links within excluded pages, but the PR also capped the level for links within included pages towards excluded pages. I believe the third-case was simply overlooked.
excluded page links to included page: should cap to debug
excluded page links to excluded page: should cap to debug
included page links to excluded page: should not cap
Activity
pawamoy commentedon Jan 11, 2025
Hi @DetachHead, thanks for the report! I was able to reproduce the issue. Marking as bug, thanks.
pawamoy commentedon Jan 11, 2025
Relevant code:
mkdocs/mkdocs/structure/pages.py
Line 509 in 7e4892a
I wonder if there was a specific reason for using
minwith INFO and configured level. Will check history.pawamoy commentedon Jan 11, 2025
Original issue: #3371. PR: #3449. I note that the issue only complained about INFO logs for links within excluded pages, but the PR also capped the level for links within included pages towards excluded pages. I believe the third-case was simply overlooked.