Skip to content

Commit a11437e

Browse files
committed
Use DEBUG log level for external links in nav.
Fixes mkdocs#1564.
1 parent cd5c803 commit a11437e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mkdocs/structure/nav.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ def get_navigation(files, config):
126126
links = _get_by_type(items, Link)
127127
if links:
128128
# Assume all links are external.
129-
# TODO: warn or error on internal links?
130-
log.info(
129+
log.debug(
131130
'The following paths are included in the "nav" configuration, '
132131
'but do not exist in the docs directory:\n - {}'.format(
133132
'\n - '.join([link.url for link in links]))

0 commit comments

Comments
 (0)