Skip to content

Show a project card for shared links and make GitHub detect the Apache-2.0 license - #21

Merged
avgvi merged 3 commits into
masterfrom
docs/presentation
Oct 12, 2026
Merged

avgvi merged 3 commits into
masterfrom
docs/presentation

Conversation

@avgvi

@avgvi avgvi commented Oct 12, 2026

Copy link
Copy Markdown
Member

Makes a shared link to the repository or the docs show a project card, and fixes license detection.

  • LICENSE held upstream's 12-line Apache boilerplate notice, which GitHub reports as "Other" and the API as NOASSERTION. It now holds the full Apache License 2.0 text; the copyright and fork notice stay in NOTICE.
  • .github/social-preview.png: the card in the organization's house style (lockup, "The maintained fork of python-diskcache", install line, chips). The GitHub social preview itself is set in the repository settings, which has no API.
  • Docs: sphinxext-opengraph with ogp_site_url, ogp_site_name, ogp_image pointing at the committed card, and ogp_description_length; added to docs/requirements.txt for Read the Docs.

Verified: Sphinx builds with warnings as errors and every page carries og:title, og:description and og:image; doc8 and flake8 pass.

@avgvi
avgvi force-pushed the docs/presentation branch from 105a0bc to 6b62b41 Compare October 12, 2026 00:16
@avgvi
avgvi merged commit 823b63a into master Oct 12, 2026
22 checks passed
@avgvi
avgvi deleted the docs/presentation branch October 12, 2026 00:21
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