Skip to content

docs: add opengraph meta tags#8066

Merged
jdx merged 1 commit intomainfrom
docs/opengraph
Feb 8, 2026
Merged

docs: add opengraph meta tags#8066
jdx merged 1 commit intomainfrom
docs/opengraph

Conversation

@jdx
Copy link
Owner

@jdx jdx commented Feb 8, 2026

Summary

  • Add og:site_name, og:type, og:image, and twitter:card meta tags for better social media link previews

Test plan

  • Verify OG tags appear in page source after build
  • Test link preview on social media/Slack/Discord

🤖 Generated with Claude Code


Note

Low Risk
Static documentation config change only; no runtime logic, auth, or data-handling impact.

Overview
Adds global OpenGraph/Twitter meta tags to the VitePress docs site via docs/.vitepress/config.ts (og:site_name, og:type, og:image, plus twitter:card/twitter:image) to improve link previews when pages are shared.

Written by Cursor Bugbot for commit 306f012. This will update automatically on new commits. Configure here.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 8, 2026 23:27
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @jdx, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the social media sharing experience for the documentation site by introducing OpenGraph and Twitter Card meta tags. These additions ensure that when links to the site are shared on platforms like Slack, Discord, or Twitter, they display with rich previews, including a site name, type, and a relevant image, thereby improving visibility and engagement.

Highlights

  • OpenGraph Meta Tags: Added essential OpenGraph meta tags (og:site_name, og:type, og:image) to improve how links to the documentation site appear when shared on social media platforms.
  • Twitter Card Meta Tags: Implemented Twitter Card meta tags (twitter:card, twitter:image) to ensure rich and appealing link previews specifically on Twitter.
Changelog
  • docs/.vitepress/config.ts
    • Added og:site_name meta tag with the value "mise-en-place".
    • Added og:type meta tag with the value "website".
    • Added og:image meta tag pointing to https://mise.jdx.dev/android-chrome-512x512.png.
    • Added twitter:card meta tag with the value "summary".
    • Added twitter:image meta tag pointing to https://mise.jdx.dev/android-chrome-512x512.png.
Activity
  • The pull request was generated by Claude Code, indicating an initial automated creation.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds OpenGraph/Twitter meta tags to improve social link previews for the docs site.

Changes:

  • Adds OpenGraph meta tags (og:site_name, og:type, og:image)
  • Adds Twitter card meta tags (twitter:card, twitter:image)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +377 to +384
["meta", { name: "twitter:card", content: "summary" }],
[
"meta",
{
name: "twitter:image",
content: "https://mise.jdx.dev/android-chrome-512x512.png",
},
],
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

twitter:card is set to "summary" while also providing a fairly prominent image. If the goal is a richer preview with a large image (common for docs links shared in Slack/Discord/Twitter), consider using "summary_large_image" and an OG/Twitter image that matches the recommended aspect ratio (commonly ~1200x630). Using the 512x512 app icon often results in less effective previews or cropping.

Copilot uses AI. Check for mistakes.
Comment on lines +370 to +384
[
"meta",
{
property: "og:image",
content: "https://mise.jdx.dev/android-chrome-512x512.png",
},
],
["meta", { name: "twitter:card", content: "summary" }],
[
"meta",
{
name: "twitter:image",
content: "https://mise.jdx.dev/android-chrome-512x512.png",
},
],
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding og:image:alt and twitter:image:alt meta tags to provide descriptive alt text for the preview image. These are used by platforms for accessibility and can improve the experience for assistive technologies consuming link previews.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds several OpenGraph and Twitter card meta tags to the VitePress configuration to improve social media link previews. The changes are generally good, but I've identified a redundant twitter:image tag. Twitter's crawler will fall back to using the og:image tag if it's present, so the explicit twitter:image tag is unnecessary and can be removed for a cleaner configuration.

Comment on lines +378 to +384
[
"meta",
{
name: "twitter:image",
content: "https://mise.jdx.dev/android-chrome-512x512.png",
},
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The twitter:image tag is redundant. According to Twitter's documentation, Twitter's crawler will use the og:image tag if it's present. Since og:image is already defined with the same content, this block can be removed to simplify the configuration.

@jdx jdx enabled auto-merge (squash) February 8, 2026 23:30
@jdx jdx merged commit 03bbcaa into main Feb 8, 2026
38 checks passed
@jdx jdx deleted the docs/opengraph branch February 8, 2026 23:39
@github-actions
Copy link

github-actions bot commented Feb 8, 2026

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.7 x -- echo 15.9 ± 0.7 14.7 24.1 1.00
mise x -- echo 16.9 ± 0.7 15.9 27.8 1.07 ± 0.06

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.7 env 15.1 ± 0.3 14.4 16.3 1.00
mise env 16.7 ± 0.6 15.5 20.5 1.10 ± 0.04

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.7 hook-env 15.7 ± 0.4 14.9 17.3 1.00
mise hook-env 16.9 ± 0.4 16.0 18.2 1.08 ± 0.04

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2026.2.7 ls 14.9 ± 0.4 14.1 19.0 1.00
mise ls 16.1 ± 0.4 15.3 17.7 1.08 ± 0.04

xtasks/test/perf

Command mise-2026.2.7 mise Variance
install (cached) 86ms 88ms -2%
ls (cached) 55ms 57ms -3%
bin-paths (cached) 57ms 60ms -5%
task-ls (cached) 455ms 450ms +1%

mise-en-dev added a commit that referenced this pull request Feb 9, 2026
### 🚀 Features

- **(node)** support package.json as idiomatic version file by @jdx in
[#8059](#8059)
- **(ruby)** graduate precompiled ruby from experimental (gradual
rollout) by @jdx in [#8052](#8052)
- add --dry-run-code flag to exit non-zero when there is work to do by
@jdx in [#8063](#8063)

### 🐛 Bug Fixes

- **(core)** respect MISE_ARCH override in bun and erlang plugins by
@jdx in [#8062](#8062)
- **(hooks)** resolve 12 community-reported hooks issues by @jdx in
[#8058](#8058)
- accept key=value format in set/add subcommands by @jdx in
[#8053](#8053)

### 📚 Documentation

- bump action versions in GitHub Actions examples by @muzimuzhi in
[#8065](#8065)
- add opengraph meta tags by @jdx in
[#8066](#8066)

### 📦️ Dependency Updates

- upgrade toml to 0.9 and toml_edit to 0.24 (TOML 1.1) by @jdx in
[#8057](#8057)

### 📦 Registry

- add quicktype (npm:quicktype) by @zdunecki in
[#8054](#8054)
- use inline table for test definitions by @jdx in
[#8056](#8056)
lucasew pushed a commit to lucasew/CONTRIB-mise that referenced this pull request Feb 18, 2026
## Summary
- Add og:site_name, og:type, og:image, and twitter:card meta tags for
better social media link previews

## Test plan
- [ ] Verify OG tags appear in page source after build
- [ ] Test link preview on social media/Slack/Discord

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Static documentation config change only; no runtime logic, auth, or
data-handling impact.
> 
> **Overview**
> Adds global OpenGraph/Twitter meta tags to the VitePress docs site via
`docs/.vitepress/config.ts` (`og:site_name`, `og:type`, `og:image`, plus
`twitter:card`/`twitter:image`) to improve link previews when pages are
shared.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
306f012. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
lucasew pushed a commit to lucasew/CONTRIB-mise that referenced this pull request Feb 18, 2026
### 🚀 Features

- **(node)** support package.json as idiomatic version file by @jdx in
[jdx#8059](jdx#8059)
- **(ruby)** graduate precompiled ruby from experimental (gradual
rollout) by @jdx in [jdx#8052](jdx#8052)
- add --dry-run-code flag to exit non-zero when there is work to do by
@jdx in [jdx#8063](jdx#8063)

### 🐛 Bug Fixes

- **(core)** respect MISE_ARCH override in bun and erlang plugins by
@jdx in [jdx#8062](jdx#8062)
- **(hooks)** resolve 12 community-reported hooks issues by @jdx in
[jdx#8058](jdx#8058)
- accept key=value format in set/add subcommands by @jdx in
[jdx#8053](jdx#8053)

### 📚 Documentation

- bump action versions in GitHub Actions examples by @muzimuzhi in
[jdx#8065](jdx#8065)
- add opengraph meta tags by @jdx in
[jdx#8066](jdx#8066)

### 📦️ Dependency Updates

- upgrade toml to 0.9 and toml_edit to 0.24 (TOML 1.1) by @jdx in
[jdx#8057](jdx#8057)

### 📦 Registry

- add quicktype (npm:quicktype) by @zdunecki in
[jdx#8054](jdx#8054)
- use inline table for test definitions by @jdx in
[jdx#8056](jdx#8056)
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.

2 participants