# Check documentation

From the project root or one of its subdirectories, run `docinsight check` to validate the documentation without writing generated output:

shell

    docinsight check

The command validates the manifest and selected content, including Markdown topics and TOCs, Delphi API sources, links, and output configuration. It reports problems without writing generated output.

## Read diagnostics

Diagnostics include a severity, a stable code, and a message. When a problem has a source location, DocInsight also shows the affected range and, when available, guidance for fixing it:

console

    warning[DI2501]: malformed XML documentation: unescaped XML text `<T>`
       ┌─ Source\Base\Patterns\Spring.Patterns.Specification.pas:74:60
       │
    74 │   ///   Provides the abstract base class for ISpecification<T>.
       │                                                            ^^^
       │
       = help: escape literal angle brackets as `&lt;T&gt;`

Fix reported problems and run `docinsight check` again. If the normal output does not contain enough detail, write a diagnostic log.

## Related topics

- Select a project manifest

- Select output targets

- `check` command reference