Skip to content

docs: fix support email links rendered as code instead of mailto links - #2101

Merged
marcleblanc2 merged 4 commits into
mainfrom
marc/docs/fix-mailto-links
Oct 30, 2026
Merged

marcleblanc2 merged 4 commits into
mainfrom
marc/docs/fix-mailto-links

Conversation

@marcleblanc2

Copy link
Copy Markdown
Contributor

Problem

https://sourcegraph.com/docs/self-hosted/how-to/rollback-database (and three other pages) wrapped the support email in backticks:

Please contact support at `mailto:support@sourcegraph.com` ...

That renders as literal code text showing mailto:support@sourcegraph.com, not a clickable email link.

Fix

Replace every backtick-wrapped mailto: with the form used everywhere else in the docs:

[support@sourcegraph.com](mailto:support@sourcegraph.com)

Found with rg '`mailto:' docs; these were the only five occurrences. No other malformed mailto: variants (bare email as link target, <mailto: autolinks, mailto: with spaces) exist in docs/.

Pages

  • docs/self-hosted/how-to/rollback-database.mdx (2)
  • docs/self-hosted/how-to/dirty-database.mdx
  • docs/self-hosted/email.mdx
  • docs/self-hosted/updates/migrator/migrator-operations.mdx

Test plan

dev/check-links.mjs --check-anchors --check-self-links --diff reports no findings on the changed lines (only pre-existing anchor findings elsewhere in those files).

Five places wrapped mailto:support@sourcegraph.com in backticks, so the
page showed literal "mailto:" text instead of a clickable email link.
Use the [support@sourcegraph.com](mailto:support@sourcegraph.com) form
the rest of the docs use.

Amp-Thread-ID: https://ampcode.com/threads/T-01a165d4-37c1-75a9-9cb7-6e3853637f6d
Co-authored-by: Amp <amp@ampcode.com>
@vercel

vercel Bot commented Oct 22, 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 Oct 30, 2026 8:46am UTC

Request Review

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

@github-actions

This comment has been minimized.

@marcleblanc2

Copy link
Copy Markdown
Contributor Author

@ampagent add autolinks to the spelling allowlist

@marcleblanc2
marcleblanc2 merged commit fd55472 into main Oct 30, 2026
8 checks passed
@marcleblanc2
marcleblanc2 deleted the marc/docs/fix-mailto-links branch October 30, 2026 08:46

This branch was successfully deployed

1 active deployment
Preview — 69d3a493 Deployed Oct 30, 2026 by vercel[bot]
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