Skip to content

Commit 0bad30d

Browse files
committed
docs: group the site's tabs into Docs, Why cpp-linter and Community
1 parent abaf1a2 commit 0bad30d

11 files changed

Lines changed: 25 additions & 35 deletions

File tree

‎docs/ai-coding-agents.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Use cpp-linter with AI coding agents
33
description: Make clang-format and clang-tidy the check an AI coding agent runs after it edits C or C++ code, with configs for Claude Code, GitHub Copilot coding agent, AGENTS.md, pre-commit and pull requests.
4-
hide:
5-
- navigation
64
---
75

86
# Use cpp-linter with AI coding agents

‎docs/discussion.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Community
33
description: Where to ask about cpp-linter, report bugs and security problems, and contribute.
4-
hide:
5-
- navigation
64
---
75

86
# Community

‎docs/getting-started.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Get started
33
description: Set up cpp-linter-action, the cpp-linter pre-commit hooks, the cpp-linter command or the clang tools, with the LLVM version you pin.
4-
hide:
5-
- navigation
64
---
75

86
# Get started

‎docs/other-ci.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Other CI systems
33
description: Run clang-format and clang-tidy on the files a branch changes in GitLab CI, Jenkins, Azure Pipelines and Bitbucket Pipelines, with the cpp-linter command.
4-
hide:
5-
- navigation
64
---
75

86
# Other CI systems

‎docs/overrides/home.html‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@
1212

1313
{% block header %}
1414
{% set links = [
15-
("Get started", "getting-started/" | url),
16-
("Tools", "#tools"),
17-
("Packages", "packages/" | url),
15+
("Docs", "getting-started/" | url),
1816
("Playground", "playground/" | url),
1917
("Why cpp-linter", "why-cpp-linter/" | url),
20-
("Showcase", "showcase/" | url),
2118
("Blog", "blog/" | url),
2219
("Community", "discussion/" | url),
2320
] %}

‎docs/packages.md‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: C and C++ tools, packaged
33
description: clang-include-cleaner, clang-apply-replacements, llvm-cov and ccache as Python wheels on PyPI, and clang-format and clang-tidy on npm, Homebrew, asdf and Docker, for LLVM 12 to 23 on six platforms.
4-
hide:
5-
- navigation
64
---
75

86
# C and C++ tools, packaged
@@ -15,10 +13,10 @@ compile.
1513

1614
<div class="cl-stats" markdown>
1715

18-
<div><strong>12–23</strong><span>LLVM versions, each at its newest release</span></div>
19-
<div><strong>6</strong><span>platforms: Linux, macOS and Windows on x86-64 and ARM64</span></div>
20-
<div><strong>540k+</strong><span>downloads of the static binaries</span></div>
21-
<div><strong>Attested</strong><span>each binary and wheel names the commit that built it</span></div>
16+
<div><strong>12–23</strong><span>LLVM versions</span></div>
17+
<div><strong>6</strong><span>platforms, x86-64 and ARM64</span></div>
18+
<div><strong>540k+</strong><span>binary downloads</span></div>
19+
<div><strong>Attested</strong><span>build provenance on every file</span></div>
2220

2321
</div>
2422

@@ -46,7 +44,7 @@ version is the tool's version, so `pip install "llvm-cov==22.*"` installs llvm-c
4644

4745
---
4846

49-
Applies the fixes that `clang-tidy --export-fixes` writes to your source files.
47+
Applies the fixes clang-tidy exports to your source files.
5048

5149
```bash
5250
pip install clang-apply-replacements

‎docs/showcase.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Who uses cpp-linter
33
description: Open-source projects that run cpp-linter-action, ranked by GitHub stars, and some that use cpp-linter-hooks.
4-
hide:
5-
- navigation
64
---
75

86
# Who uses cpp-linter

‎docs/sponsor.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22
description: Sponsor cpp-linter through GitHub Sponsors or Open Collective. Sponsor tiers include your logo on the website and READMEs and thanks in release notes.
3-
hide:
4-
- navigation
53
---
64

75
# Sponsor cpp-linter

‎docs/stylesheets/extra.css‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
}
6666

6767
.md-typeset .cl-stats strong {
68-
font-size: 1.5rem;
68+
font-size: 1.3rem;
6969
font-weight: 750;
7070
line-height: 1.1;
7171
letter-spacing: -0.02em;
@@ -79,7 +79,6 @@
7979

8080
/* Packages page: LLVM range beside a wheel's name */
8181
.md-typeset .cl-range {
82-
float: right;
8382
padding: 0.05rem 0.45rem;
8483
background: var(--md-accent-fg-color--transparent);
8584
border-radius: 1rem;
@@ -88,6 +87,13 @@
8887
font-weight: 600;
8988
}
9089

90+
.md-typeset .cl-wheel-cards > ul > li > p:first-child {
91+
display: flex;
92+
flex-direction: column;
93+
align-items: flex-start;
94+
gap: 0.4rem;
95+
}
96+
9197
.md-typeset .cl-wheel-cards > ul > li > p:first-child strong {
9298
font-family: var(--md-code-font-family);
9399
}

‎docs/why-cpp-linter.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Why cpp-linter?
33
description: How cpp-linter compares with other clang-format and clang-tidy GitHub Actions and pre-commit hooks, and how to migrate.
4-
hide:
5-
- navigation
64
---
75

86
# Why cpp-linter?

0 commit comments

Comments
 (0)