From d47095d7b35cd866bb3756c6a668f92444ce575a Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Tue, 22 Mar 2022 02:23:29 -0400 Subject: [PATCH] chore: use sponsors plugin for sponsorships instead --- .github/readme/partials/license.md | 1 - .github/scripts/files/examples.yml | 9 +++++---- source/plugins/people/examples.yml | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/readme/partials/license.md b/.github/readme/partials/license.md index f55be9f4..59eec4c0 100644 --- a/.github/readme/partials/license.md +++ b/.github/readme/partials/license.md @@ -6,4 +6,3 @@ Copyright (c) 2020-present lowlighter ``` ![Sponsors](https://github.com/lowlighter/metrics/blob/examples/metrics.sponsors.svg) -![Contributors](https://github.com/lowlighter/metrics/blob/examples/metrics.contributors.svg) diff --git a/.github/scripts/files/examples.yml b/.github/scripts/files/examples.yml index cf8b7e9d..08925714 100644 --- a/.github/scripts/files/examples.yml +++ b/.github/scripts/files/examples.yml @@ -97,12 +97,13 @@ jobs: token: ${{ secrets.METRICS_TOKEN }} base: "" user: lowlighter - plugin_people: yes - plugin_people_types: sponsors - plugin_people_sponsors_custom: iamsainikhil, yutkat, KasparJohannesSchneider, ktnkk, tfSheol, haribo-io, marcreichel, OmaarElAmri, naveensrinivasan - plugin_people_size: 48 + plugin_sponsors: yes + plugin_sponsors_past: yes + plugin_sponsors_sections: goal plugins_errors_fatal: ${{ github.repository == 'lowlighter/lowlighter' }} config_display: large + extras_js: | + document.querySelectorAll(".markdown, .center, .goal-text span:last-child")?.forEach(h2 => h2.remove()) output_action: none delay: 120 - name: Licenses diff --git a/source/plugins/people/examples.yml b/source/plugins/people/examples.yml index 2cd1abb0..6cc24729 100644 --- a/source/plugins/people/examples.yml +++ b/source/plugins/people/examples.yml @@ -17,5 +17,3 @@ repo: metrics plugin_people: yes plugin_people_types: contributors, stargazers, watchers, sponsors - # Note that active sponsors are automatically added, but I want to thanks previous sponsors too! - plugin_people_sponsors_custom: iamsainikhil, yutkat, KasparJohannesSchneider, ktnkk, tfSheol, haribo-io, marcreichel, OmaarElAmri, naveensrinivasan