From 01029aba87e9a40ce104cdd9b8228170f345792c Mon Sep 17 00:00:00 2001 From: Harttle Date: Mon, 11 Mar 2024 21:56:50 +0800 Subject: [PATCH] docs: try to include all sponsors/backers --- .all-contributorsrc | 30 +------------ README.md | 43 ++++++++++++------- bin/build-contributors.sh | 9 ++++ .../tutorials/contribution-guidelines.md | 12 +----- .../tutorials/contribution-guidelines.md | 10 ----- docs/themes/navy/languages/en.yml | 5 +-- docs/themes/navy/layout/index.swig | 15 ++----- .../navy/layout/partial/all-contributors.swig | 6 +-- .../partial/financial-contributors.swig | 1 + docs/themes/navy/layout/partial/header.swig | 1 - .../navy/source/css/_partial/index.styl | 38 ++++++++-------- 11 files changed, 67 insertions(+), 103 deletions(-) create mode 100644 docs/themes/navy/layout/partial/financial-contributors.swig diff --git a/.all-contributorsrc b/.all-contributorsrc index 2a9f9cd46..c0a6561e1 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -321,8 +321,7 @@ "avatar_url": "https://avatars0.githubusercontent.com/u/2703309?v=4", "profile": "https://github.com/amit777", "contributions": [ - "code", - "financial" + "code" ] }, { @@ -587,33 +586,6 @@ "code" ] }, - { - "login": "Checkout-Blocks", - "name": "Checkout Blocks", - "avatar_url": "https://avatars.githubusercontent.com/u/114603307?v=4", - "profile": "https://www.checkoutblocks.com/", - "contributions": [ - "financial" - ] - }, - { - "login": "akdarrah", - "name": "Adam Darrah", - "avatar_url": "https://avatars.githubusercontent.com/u/69064?v=4", - "profile": "https://www.dropkiq.com/", - "contributions": [ - "financial" - ] - }, - { - "login": "11ty", - "name": "Eleventy", - "avatar_url": "https://avatars.githubusercontent.com/u/35147177?v=4", - "profile": "https://www.11ty.dev/", - "contributions": [ - "financial" - ] - }, { "login": "NReilingh", "name": "Nick Reilingh", diff --git a/README.md b/README.md index fd29f14d6..c5eeb2e06 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ A simple, expressive and safe [Shopify][shopify/liquid] / Github Pages compatibl * [Documentation][doc] * Please star [LiquidJS on GitHub][github]! -* Financial support via [LiquidJS on Open Collective][oc], or [Github Sponsors](https://github.com/sponsors/harttle) +* Financial support via [Github Sponsors](https://github.com/sponsors/harttle), or [LiquidJS on Open Collective][oc]

logo

@@ -67,17 +67,34 @@ Feel free to create a PR or contact me to add your use case into this list! ## Financial Support -If you love LiquidJS or your company is using LiquidJS, please consider [financial support][financial-support]. +If you personally love LiquidJS or it's benefiting your business, please consider financially support us: -### Backers -If you personally like LiquidJS and find it useful to you, buy me a coffee!💖 +- via [Github Sponsors](https://github.com/sponsors/harttle), or +- via [LiquidJS on Open Collective][oc] - +Special thanks to the following sponsors! -### Sponsors -If LiquidJS is benefiting your business/company, please sponsor us to contribute to our effort! - - + + + + + + + + + + + + + + + + + + + +
Opensense Inc.
Opensense
Eleventy
Eleventy
Peter deHaan
Peter deHaan
Touchless
Touchless
Adam Darrah
Dropkiq
Dailycontributors
Dailycontributors
coni2k
Serkan Holat
amit777
amit777
Khaled Salem
Khaled Salem
Sentry
Sentry
Checkout Blocks
Checkout Blocks
+ ## Contributors ✨ @@ -130,7 +147,7 @@ Want to contribute? see [Contribution Guidelines][contribution]. Thanks goes to Bogdan Chadkin
Bogdan Chadkin

💻 Tejas Manohar
Tejas Manohar

💻 Peter deHaan
Peter deHaan

📖 - amit777
amit777

💻 💵 + amit777
amit777

💻 Steffen Schuldenzucker
Steffen Schuldenzucker

💻 @@ -170,15 +187,10 @@ Want to contribute? see [Contribution Guidelines][contribution]. Thanks goes to Jason Garber
Jason Garber

💻 - Checkout Blocks
Checkout Blocks

💵 - Adam Darrah
Adam Darrah

💵 - Eleventy
Eleventy

💵 Nick Reilingh
Nick Reilingh

📖 Francisco Soto
Francisco Soto

💻 David LJ
David LJ

📖 Rasmus Wriedt Larsen
Rasmus Wriedt Larsen

📖 - - Bruno Carvalho
Bruno Carvalho

💻 傅鹏
傅鹏

💻 Joel Hamilton
Joel Hamilton

💻 @@ -198,4 +210,3 @@ Want to contribute? see [Contribution Guidelines][contribution]. Thanks goes to [github]: https://github.com/harttle/liquidjs [oc]: https://opencollective.com/liquidjs/ [contribution]: https://liquidjs.com/tutorials/contribution-guidelines.html -[financial-support]: https://liquidjs.com/tutorials/contribution-guidelines.html#Financial-Support diff --git a/bin/build-contributors.sh b/bin/build-contributors.sh index bceae5e21..93c49164b 100755 --- a/bin/build-contributors.sh +++ b/bin/build-contributors.sh @@ -9,6 +9,7 @@ sedi() { fi } +# create docs/themes/navy/layout/partial/all-contributors.swig cp .all-contributorsrc docs/.all-contributorsrc sedi \ -e 's/README.md/docs\/themes\/navy\/layout\/partial\/all-contributors.swig/g' \ @@ -17,3 +18,11 @@ sedi \ all-contributors --config docs/.all-contributorsrc generate sedi 's/
.*<\/td>/<\/a><\/td>/g' docs/themes/navy/layout/partial/all-contributors.swig + +# create docs/themes/navy/layout/partial/financial-contributors.swig +awk '/FINANCIAL-CONTRIBUTORS-BEGIN/{flag=1;next}/FINANCIAL-CONTRIBUTORS-END/{flag=0}flag' README.md | \ + sed 's/
.*<\/td>/<\/a><\/td>/g' | \ + sed 's/width="[^"]*"//g' | \ + tr -d '\n' | \ + sed 's/<\/tr>\s*//g' \ + > docs/themes/navy/layout/partial/financial-contributors.swig diff --git a/docs/source/tutorials/contribution-guidelines.md b/docs/source/tutorials/contribution-guidelines.md index 95abcf47f..4d8e5a035 100644 --- a/docs/source/tutorials/contribution-guidelines.md +++ b/docs/source/tutorials/contribution-guidelines.md @@ -20,17 +20,7 @@ Getting started and building is described in [CONTRIBUTING.md](https://github.co ## Financial Support -LiquidJS is Open Source and Free. To help it live and thrive, you can contribute on [Open Collective][oc] or [Github Sponsors](https://github.com/sponsors/harttle). Please find me via Twitter (harttleharttle) or email (harttleharttle at gmail), to add you into [the contributors table](https://github.com/harttle/liquidjs#contributors-). - -### Backers -If you personally like LiquidJS and find it's useful to you, you can become a backer! - - - -### Sponsors -If LiquidJS is benefiting your business/company, please sponsor us to make it better! - - +LiquidJS is Open Source and Free. To help it live and thrive, especially when LiquidJS is benefiting your business, please consider contribute on [Github Sponsors](https://github.com/sponsors/harttle) or [Open Collective][oc]. If I'm missing anything, find me via Twitter (harttleharttle) or email (harttleharttle at gmail), to add you into [the contributors table](https://github.com/harttle/liquidjs#contributors-). [oc]: https://opencollective.com/liquidjs/contribute/backer-10665/checkout [shopify/liquid]: https://shopify.github.io/liquid/ diff --git a/docs/source/zh-cn/tutorials/contribution-guidelines.md b/docs/source/zh-cn/tutorials/contribution-guidelines.md index 4b1f92314..b5bc98875 100644 --- a/docs/source/zh-cn/tutorials/contribution-guidelines.md +++ b/docs/source/zh-cn/tutorials/contribution-guidelines.md @@ -22,16 +22,6 @@ Star 是支持 LiquidJS 最重要的方式,也是最简单的方式:通过 LiquidJS 是开源和免费的,但支持 [Open Collective][oc] 和 [Github Sponsors](https://github.com/sponsors/harttle) 赞助,请通过 Twitter (harttleharttle) 或邮件 (harttleharttle at gmail) 联系我,把您加到 [贡献者列表](https://github.com/harttle/liquidjs#contributors-) 中。 -### 支持者 -如果你喜欢 LiquidJS,希望支持我们,你可以成为 Open Collective Backer! - - - -### 赞助商 -如果你的公司/业务在使用 LiquidJS,请考虑赞助我们!让 LiquidJS 变得更好,以及保持开放和免费! - - - [oc]: https://opencollective.com/liquidjs/ [shopify/liquid]: https://shopify.github.io/liquid/ [caniuse-promises]: http://caniuse.com/#feat=promises diff --git a/docs/themes/navy/languages/en.yml b/docs/themes/navy/languages/en.yml index 6bbc7e7d3..ba5b764bd 100644 --- a/docs/themes/navy/languages/en.yml +++ b/docs/themes/navy/languages/en.yml @@ -11,12 +11,9 @@ index: contributors: title: Contributors description: 'LiquidJS follows the all-contributors specification, see guildelines here! Thanks goes to these wonderful people:' - backers: - title: Backers - description: 'Love LiquidJS and want to contribute? Become a backer. Find out more how to contribute!' sponsors: title: Sponsors - description: 'If LiquidJS is benefiting your business/company, please sponsor us to make it better!' + description: 'If you personally love LiquidJS or it's benefiting your business, please sponsor us!' playground: title: Playground diff --git a/docs/themes/navy/layout/index.swig b/docs/themes/navy/layout/index.swig index 15729aa12..9396bbd43 100644 --- a/docs/themes/navy/layout/index.swig +++ b/docs/themes/navy/layout/index.swig @@ -37,27 +37,20 @@

{{__('index.contributors.title')}}

{{__('index.contributors.description')}}

-
+
{{ partial('partial/all-contributors') }}
-
-
-
-

{{__('index.backers.title')}}

-

{{__('index.backers.description')}}

- -
-
-

{{__('index.sponsors.title')}}

{{__('index.sponsors.description')}}

- +
+ {{ partial('partial/financial-contributors') }} +
diff --git a/docs/themes/navy/layout/partial/all-contributors.swig b/docs/themes/navy/layout/partial/all-contributors.swig index 4af70907e..1e183f1d0 100644 --- a/docs/themes/navy/layout/partial/all-contributors.swig +++ b/docs/themes/navy/layout/partial/all-contributors.swig @@ -68,13 +68,13 @@ Mahyar Pasarzangene Tomáš Hübelbauer Jason Garber - Checkout Blocks - Adam Darrah - Eleventy Nick Reilingh Francisco Soto David LJ Rasmus Wriedt Larsen + Bruno Carvalho + 傅鹏 + Joel Hamilton diff --git a/docs/themes/navy/layout/partial/financial-contributors.swig b/docs/themes/navy/layout/partial/financial-contributors.swig new file mode 100644 index 000000000..a7333d077 --- /dev/null +++ b/docs/themes/navy/layout/partial/financial-contributors.swig @@ -0,0 +1 @@ +
Opensense Inc. Eleventy Peter deHaan Touchless Adam Darrah Dailycontributors coni2k amit777 Khaled Salem Sentry Checkout Blocks
\ No newline at end of file diff --git a/docs/themes/navy/layout/partial/header.swig b/docs/themes/navy/layout/partial/header.swig index d76a90a8e..9eacc455c 100644 --- a/docs/themes/navy/layout/partial/header.swig +++ b/docs/themes/navy/layout/partial/header.swig @@ -19,7 +19,6 @@ Github - Support diff --git a/docs/themes/navy/source/css/_partial/index.styl b/docs/themes/navy/source/css/_partial/index.styl index 864644947..e18912646 100644 --- a/docs/themes/navy/source/css/_partial/index.styl +++ b/docs/themes/navy/source/css/_partial/index.styl @@ -171,7 +171,7 @@ background: var(--color-link-hover) color: #fff -#backers-wrap, #sponsors-wrap, #contributors-wrap +#sponsors-wrap, #contributors-wrap background: var(--color-navy-lighter) border-top: 1px solid #161d24 border-bottom: 1px solid #161d24 @@ -192,28 +192,20 @@ text-decoration: none #contributors-wrap - .all-contributors - tr - display: flex - flex-wrap: wrap - td - margin: 10px 2px 0 - a img - display: inline-block - height: 72px - width: 72px - background: var(--color-gray) - border-radius: 50% - margin-bottom: 10px .description a color: #fff &:hover background: #fff color: var(--color-navy-lighter) -#sponsors-wrap, #backers-wrap +#sponsors-wrap border: none + text-align: right + background: var(--color-content-bg) overflow: hidden; + .contributors + display: flex; + justify-content: right; .inner h3 color: var(--color-default) @@ -235,6 +227,16 @@ background: #fff color: var(--color-navy-lighter) -#backers-wrap - text-align: right - background: var(--color-content-bg) +.contributors + tr + display: flex + flex-wrap: wrap + td + margin: 10px 2px 0 + a img + display: inline-block + height: 72px + width: 72px + background: var(--color-gray) + border-radius: 50% + margin-bottom: 10px