Skip to content

fix/links: Use mailto: for e-mail links - #1998

Merged
marcleblanc2 merged 1 commit into
mainfrom
marc/fix/support-mailto
Sep 18, 2026
Merged

marcleblanc2 merged 1 commit into
mainfrom
marc/fix/support-mailto

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Problem

  • docs/pricing/plans/enterprise-starter.mdx links [Support](support@sourcegraph.com) three times

  • Without mailto: the browser resolves it as a relative path, so the link 404s at /docs/pricing/plans/support@sourcegraph.com

Fix

  • Prefix the three hrefs with mailto:

  • dev/check-links.mjs now reports a bare e-mail address used as an href, with a mailto: suggestion, so the PR check catches the next one

Verification

  • On main the checker flags exactly those 3 lines
  • On this branch pnpm run check links --check-anchors --check-self-links reports "No dead links found" for the file

Found by the docs site audit in this Amp thread; rebuilt locally in this one.

@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sourcegraph-docs Ready Ready Preview Sep 18, 2026 6:00am UTC

Request Review

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

⚠️ Spell check found 1 issue(s) in this PR

Only findings on lines added by this PR, and in its title and description, are shown.

Pull request description

  • line 9, column 20
    • hrefshref

Please correct the spelling, or add words which are correct to cspell-allow-list.txt.

Run npx cspell@10 --no-progress --dot '**/*' locally to check the full repository.

@github-actions

Copy link
Copy Markdown
Contributor

Direct preview links to pages changed in this PR:

@marcleblanc2 marcleblanc2 changed the title fix/links: Use mailto: for the support e-mail links fix/links: Use mailto: for e-mail links Sep 18, 2026
@marcleblanc2
marcleblanc2 marked this pull request as ready for review September 18, 2026 05:26
@marcleblanc2
marcleblanc2 requested a review from a team September 18, 2026 05:27
…ail hrefs

[Support](support@sourcegraph.com) on the Enterprise Starter billing page
resolved to /docs/pricing/plans/support@sourcegraph.com (404). The link
checker skipped scheme-less e-mail addresses, so it never saw it; it now
reports them with a mailto: fix. On main it flags exactly these three lines
and nothing else.

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-01a0aed2-5fbe-7768-85ea-1378bf98f9ff
@marcleblanc2
marcleblanc2 force-pushed the marc/fix/support-mailto branch from 703c5e9 to f571ee1 Compare September 18, 2026 05:58
@marcleblanc2
marcleblanc2 merged commit 652f48e into main Sep 18, 2026
6 checks passed
@marcleblanc2
marcleblanc2 deleted the marc/fix/support-mailto branch September 18, 2026 06:01
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