Home CodeDoc What happens when AI flags files as not relevant for documentation?

What happens when AI flags files as not relevant for documentation?

Last updated on Nov 10, 2025

Short Answer: A 'Review files' modal appears listing flagged files; check any files to include and click 'Include selected files' or click 'Continue' to skip them.

Prerequisites

  1. You clicked 'Generate documentation' and the system ran an AI relevance check

Steps

  1. When flagged, read the 'Review files' modal message: 'These files were flagged by AI as not relevant for documentation. If you don't select any, they'll be skipped automatically.'
    Modal displays flagged files and checkboxes.

  2. Select checkboxes next to any files you want to include despite the flag.
    Files you check are marked to be included.

  3. Click 'Include selected files' to proceed with your choices or click 'Continue' to skip all flagged files.
    Modal closes and generation proceeds with the selected set.

Troubleshooting

  1. Flagged files were skipped though I expected them documented.
    LikelyCause: You clicked 'Continue' without selecting flagged files.
    Action: Re-run generation and in the 'Review files' modal check the files you want before clicking 'Include selected files'.

  2. The 'Review files' modal shows empty or 'Loading'.
    LikelyCause: Temporary UI or network loading issue.
    Action: Close the modal, retry 'Generate documentation', or refresh the page.