Skip to content

Z406: NAV_CONTRACT

  • Severity: Error


    Penalty: 0.0 points | Category: general

  • Remediation & Opt-In


    Auto-Fixable: No | Opt-In: No


Rationale

This rule is emitted when the structure of mkdocs.yml navigation violates structural contract requirements, such as referencing non-existent target files or using invalid dictionary nesting.


How to Fix

Inspect the flagged location in the Markdown file and update the content or configuration:


Configuration

# Governed by nav: section in mkdocs.yml

Reference

See the Finding Codes Index for finding code details.