Skip to content

Add the social preview card and Open Graph tags so shared repository and docs links show a project card - #47

Merged
avgvi merged 1 commit into
mainfrom
docs/social-preview
Oct 12, 2026
Merged

avgvi merged 1 commit into
mainfrom
docs/social-preview

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.

  • .github/social-preview.png: the card in the organization's house style (logo, "The maintained fork of MosaicML Streaming", install line, chips). The GitHub social preview itself is set in the repository settings, which has no API.
  • Docs: sphinxext-opengraph in docs/source/conf.py with ogp_site_url, ogp_site_name, ogp_image pointing at the committed card, and ogp_description_length; the extension is added to the docs extra in setup.py, which the Read the Docs build installs.
  • Changelog entry under Unreleased.

The Read the Docs pull request preview verifies the docs build; the tags can be checked on the preview with grep 'og:image'.

@avgvi
avgvi merged commit f19ad4a into main Oct 12, 2026
15 checks passed
@avgvi
avgvi deleted the docs/social-preview branch October 12, 2026 00:17
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