Skip to content

Commit 9c544e0

Browse files
authored
docs: add sponsor tiers and GitHub Sponsors to the sponsor page (#77)
## Summary Before: the Sponsor page only offered Open Collective and a single perk (a T-shirt at USD 100 total). Companies had no reason to sponsor beyond goodwill. After: the page offers GitHub Sponsors and Open Collective, and lists four monthly tiers: | Tier | Per month | Perks | | --- | :---: | --- | | Backer | USD 5 | Name on the Sponsor page | | Bronze | USD 50 | Logo on the Sponsor page, thanks in release notes | | Silver | USD 200 | + logo on the home page and in the READMEs of cpp-linter-action, cpp-linter, cpp-linter-rs, cpp-linter-hooks | | Gold | USD 500 | + larger logo placed first | One-time and yearly payments count at their monthly equivalent; logos are reviewed quarterly and stay until the quarter after a sponsorship ends; past sponsors stay listed by name. It also adds an empty "Sponsors" section, keeps the T-shirt perk (now counting either platform), adds a GitHub Sponsors social icon, and updates the home page and Community page wording to mention both platforms. How: edits to `docs/sponsor.md`, `docs/overrides/home.html`, `docs/discussion.md` and `mkdocs.yml`. `mkdocs build --strict` passes. The tier amounts are a proposal; the matching tiers still need to be created in the GitHub Sponsors and Open Collective dashboards. ## Related Issues Companion PRs add a Sponsors section to the READMEs and the org profile. Co-authored-by: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com>
1 parent 534e630 commit 9c544e0

4 files changed

Lines changed: 38 additions & 11 deletions

File tree

‎docs/discussion.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ cpp-linter is maintained by two volunteers, and all of it happens on GitHub.
2222
- **Contributing:** read the [contributing guide](https://github.com/cpp-linter/.github/blob/main/CONTRIBUTING.md)
2323
and the [code of conduct](https://github.com/cpp-linter/.github/blob/main/CODE_OF_CONDUCT.md).
2424
- **Your project:** if it runs cpp-linter, [add it to the showcase](showcase.md#add-your-project).
25-
- **Funding:** [sponsor cpp-linter](sponsor.md) through Open Collective.
25+
- **Funding:** [sponsor cpp-linter](sponsor.md) through GitHub Sponsors or Open Collective.

‎docs/overrides/home.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ <h2 class="cl-h2">Start with one workflow file</h2>
425425
<div class="cl-wrap cl-sponsor__inner">
426426
<div>
427427
<h2>Maintained by two volunteers</h2>
428-
<p>cpp-linter is free and open source. Sponsorship goes to the project through Open Collective, where all income and expenses are public.</p>
428+
<p>cpp-linter is free and open source. Sponsor it through GitHub Sponsors or Open Collective; Silver and Gold sponsors get their logo here and in the project READMEs.</p>
429429
</div>
430430
<div class="cl-sponsor__actions">
431431
<a class="cl-btn cl-btn--ink cl-btn--lg" href="{{ 'sponsor/' | url }}"><span class="cl-ico">{% include ".icons/octicons/heart-16.svg" %}</span> Sponsor cpp-linter</a>

‎docs/sponsor.md‎

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Sponsor cpp-linter through Open Collective. Sponsors who give USD 100 or more in total get a cpp-linter T-shirt.
2+
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.
33
hide:
44
- navigation
55
---
@@ -11,20 +11,44 @@ the project.
1111

1212
## How to sponsor
1313

14-
[Sponsor cpp-linter on Open Collective](https://opencollective.com/cpp-linter){ .md-button .md-button--primary }
14+
[Sponsor on GitHub](https://github.com/sponsors/cpp-linter){ .md-button .md-button--primary }
15+
[Sponsor on Open Collective](https://opencollective.com/cpp-linter){ .md-button }
1516

16-
All contributions go to the project as a whole, not to any single maintainer, and all income and
17+
Both go to the project as a whole, not to any single maintainer. Open Collective income and
1718
expenses are publicly visible.
1819

19-
## Sponsor perks
20+
## Sponsor tiers
2021

21-
Sponsors who give USD 100 or more in total get a cpp-linter T-shirt.
22+
| Tier | Per month | What you get |
23+
| --- | :---: | --- |
24+
| **Backer** | USD 5 | Your name on this page |
25+
| **Bronze** | USD 50 | Your logo on this page and thanks in every release note while you sponsor |
26+
| **Silver** | USD 200 | Everything in Bronze, plus your logo on the [home page](index.md) and in the READMEs of cpp-linter-action, cpp-linter, cpp-linter-rs and cpp-linter-hooks |
27+
| **Gold** | USD 500 | Everything in Silver, with a larger logo placed first |
2228

23-
### How the T-shirt perk works
29+
- Tiers are monthly. Yearly and one-time payments count at their monthly equivalent for the
30+
months they cover; for example, a one-time USD 600 is Silver for three months.
31+
- Logos link to your website. We add them by hand, so allow a few days after you sponsor, and
32+
review the list once a quarter: logos stay until the quarter after a sponsorship ends.
33+
- Past sponsors stay listed by name on this page, and release notes keep the thanks they gave.
34+
- To change the name, logo or link we show, open an
35+
[issue](https://github.com/cpp-linter/cpp-linter.github.io/issues) or contact us through the
36+
platform you sponsor on.
2437

25-
1. Donate through [Open Collective](https://opencollective.com/cpp-linter).
26-
2. When your donations reach **USD 100** in total, we will contact you to arrange shipping.
27-
3. We confirm each shipment by hand and ask for your size and address at that point.
38+
## Sponsors
39+
40+
No sponsors yet. [Your logo could be here](https://github.com/sponsors/cpp-linter).
41+
42+
## T-shirt perk
43+
44+
Sponsors who give USD 100 or more in total, on any tier or as one-time donations, can claim one
45+
cpp-linter T-shirt.
46+
47+
1. Sponsor through [GitHub Sponsors](https://github.com/sponsors/cpp-linter) or
48+
[Open Collective](https://opencollective.com/cpp-linter).
49+
2. Once your sponsorship reaches **USD 100** in total, message us on the platform you sponsor on
50+
with your size and shipping address.
51+
3. We check the total and ship it. One T-shirt per sponsor.
2852

2953
Availability depends on stock, sizing and shipping at the time, but we will always let you know
3054
before anything is sent.

‎mkdocs.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ extra:
114114
- icon: material/forum
115115
link: https://github.com/cpp-linter/cpp-linter/discussions
116116
name: GitHub Discussions
117+
- icon: octicons/heart-fill-16
118+
link: https://github.com/sponsors/cpp-linter
119+
name: Sponsor on GitHub
117120
- icon: simple/opencollective
118121
link: https://opencollective.com/cpp-linter
119122
name: Sponsor on Open Collective

0 commit comments

Comments
 (0)