Skip to content

Commit cc88ca6

Browse files
committed
Fix validation options in mkdocs.yml for new version of Zensical
Zensical added strict link validation, but there is a bug where it doesn't support links autoamtically created using mkdocstrings yet. This fixes a ton of bogus warnings.
1 parent 6724a8f commit cc88ca6

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

mkdocs.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,15 @@ markdown_extensions:
125125

126126
# Validation
127127
validation:
128-
nav:
129-
omitted_files: info
130-
not_found: warn
131-
absolute_links: info
132-
links:
133-
not_found: warn
134-
absolute_links: ignore
135-
unrecognized_links: info
128+
invalid_link_anchors: true
129+
invalid_links: true
130+
shadowed_definitions: true
131+
shadowed_footnotes: true
132+
unresolved_footnotes: true
133+
# bug with mkdocstrings autorefs: https://github.com/zensical/zensical/issues/600
134+
unresolved_references: false
135+
unused_definitions: true
136+
unused_footnotes: true
136137

137138
not_in_nav: |
138139
**/download/*.md

0 commit comments

Comments
 (0)