You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -142,6 +153,7 @@ export async function generateMetadata({params}: MetadataProps): Promise<Metadat
142
153
: domain;
143
154
lettitle=
144
155
'Sentry Docs | Application Performance Monitoring & Error Tracking Software';
156
+
letcustomCanonicalTag;
145
157
letdescription=
146
158
'Self-hosted and cloud-based application performance monitoring & error tracking that helps software teams see clearer, solve quicker, & learn continuously.';
Copy file name to clipboardExpand all lines: docs/platforms/javascript/common/configuration/options.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
---
2
2
title: Basic Options
3
3
description: "Learn more about how to configure the SDK. These options are set when the SDK is first initialized, passed to the init function as an object."
Copy file name to clipboardExpand all lines: src/types/frontmatter.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ export interface FrontMatter {
14
14
/**
15
15
* A description to use in the <meta> header, as well as in auto generated page grids.
16
16
*/
17
+
customCanonicalTag?: string;
18
+
/** Add this if you want to add a canonical tag (without this it will default to the page url). Should be a relative path without the domain (e.g. `/platforms/react/options/`) */
17
19
description?: string;
18
20
/**
19
21
* Set this to true to mark this page as a draft, and hide it from various other components (such as the PageGrid).
0 commit comments