with one click
cqa-00a-orphaned
// Finds orphaned .adoc and image files not referenced by any include or image directive. Use when cleaning up unused files or after restructuring content.
// Finds orphaned .adoc and image files not referenced by any include or image directive. Use when cleaning up unused files or after restructuring content.
Validates directory naming conventions for titles, assemblies, and modules. Use when restructuring content or adding new directories.
Runs Vale DITA compliance checks using .vale-dita-only.ini. Use when validating AsciiDoc DITA standards compliance.
Validates assembly files follow the modular docs template structure. Use when creating or restructuring assemblies.
Validates modular docs metadata, prefix conventions, and list formatting in .adoc files. Use when creating or editing modules.
Validates modules follow Red Hat modular docs templates. Use when creating new modules or fixing template compliance.
Validates all mandatory modular doc elements are present per content type. Use when modules are missing required sections.
| name | cqa-00a-orphaned |
| description | Finds orphaned .adoc and image files not referenced by any include or image directive. Use when cleaning up unused files or after restructuring content. |
Spec: See resources/cqa-spec.md section "CQA-00a: ..." for full detection/fix logic and edge cases.
# Report
node build/scripts/cqa/index.js --check 00a titles/<your-title>/master.adoc
# Fix
node build/scripts/cqa/index.js --check 00a --fix titles/<your-title>/master.adoc
.adoc files not referenced by any include:: directive in the repoimage:: or image: directiveNone. Fix action is git rm of orphaned files.