> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# mode

:::warning

The top-level `mode` option was removed in Rsdoctor 2.x. Use [output.mode](/config/options/output.md#mode) instead. See the [mode configuration migration guide](/guide/migration/migration-v2.md#mode).

:::

The removed option accepted the following values:

- **Type:** `"normal" | "brief" | "lite"`
  - `lite` was removed and is ignored in Rsdoctor 2.x. Use [output.reportCodeType](/config/options/output.md#reportcodetype) instead.
- **Optional:** `true`
- **Default:** `normal`

These values selected the following report behaviors:

- **normal mode:** Generates a `.rsdoctor` folder in the build output directory, which contains various data files and displays code in the report page. The output directory can be configured via [reportDir](/config/options/output.md#reportdir).

- **brief mode:** Generates `rsdoctor-report.html` in the report output directory. This directory defaults to the build output directory and can be configured via [reportDir](/config/options/output.md#reportdir). All build analysis data is injected into this standalone HTML file, which can be opened directly in a browser. See [mode: 'brief'](/config/options/output.md#mode-brief) for the available options.

- **lite mode:** Based on the normal mode, this mode does not display source code and product code, only showing the information of the bundled code.
  - The top-level `mode: 'lite'` option was removed and is ignored in Rsdoctor 2.x. The `features` lite configurations remain supported. Use [output.reportCodeType](/config/options/output.md#reportcodetype) for new configurations.
