Skip to content

docs: use the action's feature names on the home page - #70

Merged
shenxianpeng merged 1 commit into
mainfrom
bugfix/use-action-feature-names
Sep 30, 2026
Merged

shenxianpeng merged 1 commit into
mainfrom
bugfix/use-action-feature-names

Conversation

@shenxianpeng

Copy link
Copy Markdown
Member

The home page section "Results show up on the pull request" named the reports its own way ("Suggestions you can commit", "Notes in the diff", "One summary comment", "Fixes pushed for you"). Readers who then open cpp-linter-action find different names there, so the cards now use the action README's headings, each with the input that turns it on, in the same order as the organization profile banner (cpp-linter/.github#112):

  • Annotations file-annotations
  • Thread Comment thread-comments
  • Step Summary step-summary, new: the same report in the job summary, which also works on forks and in private repositories, where thread comments are turned off
  • Pull Request Review tidy-review, new card: clang-tidy diagnostics with suggested changes
  • Pull Request Review format-review
  • Auto-fix auto-fix

Six cards fill the two-column grid in three rows. The section intro and the cpp-linter-action tool card ("thread comments or pull request reviews") use the same words. A new rule sets the input chip beside each title to 13px; it inherited 8.5px from the header.

Checked with mkdocs serve at 1280px and 375px wide: three even rows on desktop, one column on phones, no horizontal scroll. The step summary and review wording follows action.yml (step-summary reuses the thread comment's content; thread comments are disabled on private repositories).

The home page section "Results show up on the pull request" named the reports its own way ("Suggestions you can commit", "Notes in the diff", "One summary comment", "Fixes pushed for you"). Readers who then open cpp-linter-action find different names there, so the cards now use the action README's headings, each with the input that turns it on, in the same order as the organization profile banner (cpp-linter/.github#112):

- Annotations `file-annotations`
- Thread Comment `thread-comments`
- Step Summary `step-summary`, new: the same report in the job summary, which also works on forks and in private repositories, where thread comments are turned off
- Pull Request Review `tidy-review`, new card: clang-tidy diagnostics with suggested changes
- Pull Request Review `format-review`
- Auto-fix `auto-fix`

Six cards fill the two-column grid in three rows. The section intro and the cpp-linter-action tool card ("thread comments or pull request reviews") use the same words. A new rule sets the input chip beside each title to 13px; it inherited 8.5px from the header.

Checked with `mkdocs serve` at 1280px and 375px wide: three even rows on desktop, one column on phones, no horizontal scroll. The step summary and review wording follows `action.yml` (`step-summary` reuses the thread comment's content; thread comments are disabled on private repositories).
@netlify

netlify Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cpp-linter-github-io ready!

Name Link
🔨 Latest commit b47eb3a
🔍 Latest deploy log https://app.netlify.com/projects/cpp-linter-github-io/deploys/6abcbcd590186a00076a2ff3
😎 Deploy Preview https://deploy-preview-70--cpp-linter-github-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@shenxianpeng
shenxianpeng merged commit 85739d3 into main Sep 30, 2026
7 checks passed
@shenxianpeng
shenxianpeng deleted the bugfix/use-action-feature-names branch September 30, 2026 08:35
shenxianpeng added a commit that referenced this pull request Sep 30, 2026
…ate-repo claim (#72)

Follows up on @2bndy5's comments on #62.

**Third-party libraries in the clang-tidy guide.** Step 2 said to
install dependencies before the configure step, but not why: clang-tidy
finds a library's headers only through the `-I` paths the compiler gets
for each file, which it reads from the compilation database. The bullet
now says so, and shows how to pass those paths with `extra-args` when
there is no build system (`-Ithird_party/fmt/include`, written without a
space because `extra-args` splits on spaces).

**Private repositories on the home page.** #70 said the step summary
also works "in private repositories, where thread comments are turned
off". That came from the note on `thread-comments` in
cpp-linter-action's `action.yml`, but cpp-linter has no code that turns
thread comments off for private repositories; its requests ask for
`application/vnd.github.raw+json`, the change that addressed
cpp-linter-action#142. As discussed on #62, whether thread comments work
on a private repository still needs a test run, so the card no longer
says anything about private repositories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant