-
Notifications
You must be signed in to change notification settings - Fork 0
fix: hero rendering #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
bfc7a47
90157cc
e328386
f2424dc
5fd1fb6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,21 @@ hide: | |
| - toc | ||
| --- | ||
|
|
||
| <!-- markdownlint-disable MD041 MD033 MD036 --> | ||
|
|
||
| <style> | ||
| /* this must be embedded in the page because | ||
| it removes the gap between header and hero */ | ||
| .md-main__inner { | ||
| margin-top: 0; | ||
| } | ||
| .md-content__inner { | ||
| padding-top: 0; | ||
| } | ||
| .md-content__inner::before { | ||
| height: 0; | ||
| } | ||
| </style> | ||
| <div class="hero" markdown> | ||
|
|
||
| # C/C++ linting that simply works | ||
|
|
@@ -22,19 +37,19 @@ hide: | |
|
|
||
| <div class="grid cards" markdown> | ||
|
|
||
| - :material-chart-line: **Built in Open Source** | ||
| - :material-chart-line: **Built in Open Source** | ||
|
|
||
| --- | ||
|
|
||
| Open-source and MIT-licensed. Bringing contributors together to empower impactful C/C++ lint projects in open source and beyond. | ||
|
|
||
| - :material-cog: **Zero Configuration** | ||
| - :material-cog: **Zero Configuration** | ||
|
|
||
| --- | ||
|
|
||
| Works out of the box with sensible defaults. Advanced users can customize every aspect to match their coding standards. | ||
|
|
||
| - :material-devices: **Works Everywhere** | ||
| - :material-devices: **Works Everywhere** | ||
|
|
||
| --- | ||
|
|
||
|
|
@@ -138,7 +153,15 @@ hide: | |
| - id: clang-format | ||
| args: [--style=Google] # Other coding style: LLVM, GNU, Chromium, Microsoft, Mozilla, WebKit. | ||
| - id: clang-tidy | ||
| args: [--checks='boost-*,bugprone-*,performance-*,readability-*,portability-*,modernize-*,clang-analyzer-*,cppcoreguidelines-*'] | ||
| args: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The yaml format seems incorrect if users just copy and use it. Maybe
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. According to YAML specs list-name: [item]
# is equivalent to
list-name:
- itemI hadn't noticed the misaligned indent. That should be uniformed. |
||
| - --checks='boost-* | ||
| - bugprone-* | ||
| - performance-* | ||
| - readability-* | ||
| - portability-* | ||
| - modernize-* | ||
| - clang-analyzer-* | ||
| - cppcoreguidelines-*' | ||
| ``` | ||
|
|
||
| === "Command Line" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.