Skip to content

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

Draft
marcleblanc2 wants to merge 1 commit into
mainfrom
marc/fix/support-mailto
Draft

marcleblanc2 wants to merge 1 commit into
mainfrom
marc/fix/support-mailto

Conversation

@marcleblanc2

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.

…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
@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 17, 2026 10:43am UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

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 5, 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:

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