Skip to content

chore: add a Sponsor button for the organization's repositories - #3

Merged
shenxianpeng merged 1 commit into
mainfrom
funding
Nov 1, 2026
Merged

shenxianpeng merged 1 commit into
mainfrom
funding

Conversation

@shenxianpeng

Copy link
Copy Markdown
Member

GitHub uses this FUNDING.yml as the default for every mkdocs-ng repository that does not have its own, so each repo shows a Sponsor button pointing at shenxianpeng (public Sponsors profile).

  • Repositories with their own FUNDING.yml keep theirs. Today that is only mkdocs (root FUNDING.yml, also github: shenxianpeng).
  • The Sponsor button also needs "Sponsorships" enabled in each repository's Settings > General > Features. The API does not expose that setting, so check it per repository.

Before / After

Funding links per repository, from the GraphQL fundingLinks field:

Repository Before After merge
mkdocs shenxianpeng (own FUNDING.yml) unchanged, keeps its own
mkdocs-sumi none shenxianpeng (org default)
mkdocs-material none shenxianpeng (org default)
catalog none shenxianpeng (org default)
best-of-generator none shenxianpeng (org default)
.github none shenxianpeng

GitHub uses this FUNDING.yml as the default for every mkdocs-ng repository that does not have its own, so each repo shows a Sponsor button pointing at shenxianpeng.
@shenxianpeng
shenxianpeng merged commit 0b212ed into main Nov 1, 2026
3 checks passed
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