Skip to content

Commit 2ffb52d

Browse files
authored
docs: remove the table of contents and fix a warning block (#287)
The table of contents linked to `#github-actions-try-cpp-linter-action`, a heading that no longer exists. GitHub already shows an outline for every README, so this removes the list instead of fixing the entry. The paragraph after the `--jobs` warning had no blank line before it, so GitHub rendered "Alternatively, …" inside the WARNING box. A blank line now ends the alert.
1 parent 3d1786e commit 2ffb52d

1 file changed

Lines changed: 1 addition & 21 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,6 @@ comparison.
3636
> our companion GitHub Action that runs the same tools in CI with rich PR reviews,
3737
> thread comments, step summaries, and file annotations.
3838
39-
## Table of Contents
40-
41-
- [Why cpp-linter-hooks?](#why-cpp-linter-hooks)
42-
- [GitHub Actions? Try cpp-linter-action](#github-actions-try-cpp-linter-action)
43-
- [Quick Start](#quick-start)
44-
- [Custom Configuration Files](#custom-configuration-files)
45-
- [Custom Clang Tool Version](#custom-clang-tool-version)
46-
- [Compilation Database (CMake/Meson Projects)](#compilation-database-cmakemeson-projects)
47-
- [Output](#output)
48-
- [clang-format Output](#clang-format-output)
49-
- [clang-tidy Output](#clang-tidy-output)
50-
- [Troubleshooting](#troubleshooting)
51-
- [Performance Optimization](#performance-optimization)
52-
- [Verbose Output](#verbose-output)
53-
- [Examples](#examples)
54-
- [Used By](#used-by)
55-
- [FAQ](#faq)
56-
- [What's the difference between `cpp-linter-hooks` and `mirrors-clang-format`?](#whats-the-difference-between-cpp-linter-hooks-and-mirrors-clang-format)
57-
- [Contributing](#contributing)
58-
- [License](#license)
59-
6039
## Quick Start
6140

6241
Add this configuration to your `.pre-commit-config.yaml` file:
@@ -279,6 +258,7 @@ or `-j`:
279258
> (for example `--export-fixes=fixes.yaml`) across parallel `clang-tidy` invocations.
280259
> If you need `--export-fixes`, ensure each job writes to a unique file path to avoid
281260
> corrupted or overwritten outputs.
261+
282262
Alternatively, if you want to run the hooks manually on only the changed files, you can use the following command:
283263

284264
```bash

0 commit comments

Comments
 (0)