Linking Variables

We create a variety of links in our documentation, but the most commonly-used link type connects content either between product guides and the platform pages or between platform pages themselves. Each of these may take a different format, depending on whether a platform needs to be specified.

We use this format when linking from the product guides to the platform content because it allows the user to specify their platform, if it is not already specified. For example:

Releases also offer significant additional features when you fully [configure your SDK](/platform-redirect/?next=/configuration/releases/).

In the above example, when the user clicks the link to the releases configuration content, but hasn't yet visited a platform page, they will be asked to specify their platform so the page can be populated with the correct code sample when viewed. If they have navigated into product from the platform content, and are now navigating back into their platform, the platform context is maintained.

We use this format when linking among or within the platform content:

You can set your own <PlatformLink to="/enriching-events/breadcrumbs/">breadcrumbs</PlatformLink> to make them more useful for debugging.

In the above example, when the user clicks the link to the breadcrumbs content, they will be navigated to the breadcrumbs content within their specific platform. If this link is used in product guides, and no platform is specified, the user will be navigated to the first platform listed, which is currently the Apple family of SDKs.

We use this format when there's only one option for the platform, the content is not common to multiple platforms, or we want to force the reader to use this source of truth:

[NDK integration](/platforms/android/configuration/using-ndk/) is packed with the SDK and requires API level 16, though other levels are supported.

In the above example, there is only one place for users to learn about using Android's NDK, which is nested within the Android directory, so we can hardcode the path.

We use this format when linking with our product content. Product guides do not currently need a platform to be specified. As a result, linking can define the path to the correct content in the product folder. For example:

You can also customize how events are grouped. Learn more about customized grouping in [Issue Grouping](/product/data-management-settings/event-grouping/).

We use this format when linking to external pages. Most typically, this is to the UI:

The **Performance** page is the main view in [sentry.io](https://sentry.io) where you can search or browse for transaction data.

Sandbox allows the user to explore the feature in an actual Sentry application with mocked data.

Learn more about this feature in our <SandboxLink scenario="releases">sandbox</SandboxLink>.

This will take the user to a project based on the current platform selection. However, you can also manually specify the target project using the projectSlug parameter.

The scenario parameter specifies the landing page within the Sandbox application that the user will see, and if it is not specified, we default to the issues page. Possible values are:

  • performance
  • releases
  • alerts
  • discover
  • dashboards
  • projects
  • oneDiscoverQuery
  • oneIssue
  • oneBreadcrumb
  • oneStackTrace
  • oneTransaction
  • oneWebVitals
  • oneTransactionSummary
  • oneRelease

Additionally, you can use the errorType parameter to select a particular type of error.

Learn more about breadcrumbs in our <SandboxLink scenario="oneBreadcrumb" errorType="EXC_BAD_ACCESS" projectSlug="ios">sandbox</SandboxLink>.

Anchor links (appended by the # symbol) further direct users to a specific section (rather than the general page).

We use this format to link users to content that's further down the page (typically beyond the initial fold):

On this page, you can control the frequency of your [email notifications](#notifications), [change your primary email](#emails), and update your security settings.

We use this format to direct users to a specific heading on another page:

To add to your quota or review what happens when you exceed it, see [Increasing Quotas](/product/accounts/quotas/#increasing-quotas).

This type of link can be used also for linking to anchors on external pages:

Sessions last for [Django's default session length](https://docs.djangoproject.com/en/1.11/topics/http/sessions/#using-cookie-based-sessions), which is two weeks.

All images live in the /public/ folder. You can reference images in this folder by using its full path (minus /public/).

For instance, to use the image, /public/product/alerts/issue-alert.png, in any file:

![Image alt text](product/alerts/issue-alert.png)

The folder structure of docs is duplicated in public so that you can still use relative paths to reference images in your content files. For more details, see Images.

We use this format when we want to link an email address (often used for Early Adopter or Beta features):

For more information about access to Metric Alerts, feel free to reach out at [alerting-feedback@sentry.io](mailto:alerting-feedback@sentry.io).

Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").