Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions dev/check-links.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* - Links whose case differs from the real path (work on macOS, 404 on Linux)
* - Missing anchor/heading references
* - Invalid file paths
* - E-mail addresses without mailto:, which resolve to a page path
* - With --check-self-links, absolute links to this site (https://sourcegraph.com/docs/...,
* the legacy https://docs.sourcegraph.com/... host, http://, //, www.), which
* should be relative links; the finding proposes one, following src/data/redirects.ts
Expand Down Expand Up @@ -348,9 +349,10 @@ function validateLink(link, currentFile, maps) {
return null;
}

// Skip email addresses without mailto: prefix (common shorthand)
// An e-mail address without mailto: is a relative link: the browser resolves
// [Support](support@example.com) to /docs/<page>/support@example.com
if (url.includes('@') && !url.startsWith('/') && !url.includes('/')) {
return null;
return { error: 'E-mail address without mailto: resolves to a page path', fix: `mailto:${url}` };
}

// Handle anchor-only links (#heading)
Expand Down
6 changes: 3 additions & 3 deletions docs/pricing/plans/enterprise-starter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ You can access your invoices via the **Workspace settings > Billing** page by cl

After updating or resolving your payment method issue that occurred during the automatic subscription renewal, you may do one of the following to pay the invoice for your past-due subscription:

1. Wait for our system to re-attempt the charge for the invoice. It usually takes up to 24 hours. If it does not happen after 24 hours, please contact [Support](support@sourcegraph.com) to resolve the issue.
1. In the **Workspace settings > Billing** page, click the **View invoices** button, which takes you to the Stripe Customer Portal. Then, pay the invoice there. Our system will reconcile your payment within 24 hours. If it does not reconcile after 24 hours, please contact [Support](support@sourcegraph.com) to resolve the issue.
1. Contact [Support](support@sourcegraph.com) to request re-attempt the charge for the invoice using the payment method on file.
1. Wait for our system to re-attempt the charge for the invoice. It usually takes up to 24 hours. If it does not happen after 24 hours, please contact [Support](mailto:support@sourcegraph.com) to resolve the issue.
1. In the **Workspace settings > Billing** page, click the **View invoices** button, which takes you to the Stripe Customer Portal. Then, pay the invoice there. Our system will reconcile your payment within 24 hours. If it does not reconcile after 24 hours, please contact [Support](mailto:support@sourcegraph.com) to resolve the issue.
1. Contact [Support](mailto:support@sourcegraph.com) to request re-attempt the charge for the invoice using the payment method on file.

### Are there any refunds for the subscription?

Expand Down
Loading