Skip to content

Z401: MISSING_DIRECTORY_INDEX

Severity: note Penalty: 0.0 points Category: navigation Auto-fixable: No

Rationale

This rule is an informational diagnostic emitted in standalone directory mode when a documentation subfolder contains topic files but lacks a primary index file (index.md or README.md).

How to Fix

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

Bad (Triggers Z401)

docs/how-to/ -> Directory contains install.md but lacks index.md

Good (Resolves Z401)

docs/how-to/ -> Contains index.md to serve as landing root.

Configuration

# Informational diagnostic; no points deducted from DQS

Reference

See the Finding Codes Index for finding code details.