Skip to content

Z404: CONFIG_ASSET_MISSING

Severity: warning Penalty: 3.0 points Category: brand Auto-fixable: No

Rationale

This rule is emitted when a static theme or infrastructure asset path declared in engine configuration (such as extra_css or favicon in mkdocs.yml) cannot be found on the filesystem disk.

How to Fix

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

Bad (Triggers Z404)

# mkdocs.yml - BAD: Asset file does not exist on disk
extra_css:
  - assets/css/missing-styles.css

Good (Resolves Z404)

# mkdocs.yml - GOOD: Asset file exists on disk
extra_css:
  - assets/css/extra.css

Configuration

# Governed by asset paths in mkdocs.yml

Reference

See the Finding Codes Index for finding code details.