Browse Source

ref(docs): Updating doc links (#27512)

* ref(docs): Updating jira doc links
* ref(docs): Updating aws links
William Mak 3 years ago
parent
commit
3ead079528

+ 1 - 1
src/sentry/integrations/jira/notify_action.py

@@ -14,7 +14,7 @@ logger = logging.getLogger("sentry.rules")
 class JiraCreateTicketAction(TicketEventAction):
     label = "Create a Jira issue in {integration} with these "
     ticket_type = "a Jira issue"
-    link = "https://docs.sentry.io/product/integrations/jira/#issue-sync"
+    link = "https://docs.sentry.io/product/integrations/project-mgmt/jira/#issue-sync"
     provider = "jira"
     integration_key = "integration"
 

+ 1 - 1
src/sentry/templates/sentry/integrations/jira-server-config.html

@@ -32,7 +32,7 @@
     <i class="icon icon-exclamation"></i>
     <span>
         {% blocktrans %}
-        You must complete the <a href="https://docs.sentry.io/product/integrations/jira/#jira-server">required steps</a>
+        You must complete the <a href="https://docs.sentry.io/product/integrations/project-mgmt/jira/#jira-server">required steps</a>
 
         in Jira Server before attempting to connect with Sentry.
         {% endblocktrans %}

+ 1 - 1
src/sentry_plugins/jira_ac/templates/widget.html

@@ -4,7 +4,7 @@
   <ul>
     <li class="aui-message">
       No results could be found.
-      Please upgrade to the <a href="https://docs.sentry.io/product/integrations/jira/">Jira Integration</a>
+      Please upgrade to the <a href="https://docs.sentry.io/product/integrations/project-mgmt/jira/">Jira Integration</a>
       to get results.
     </li>
   </ul>

+ 1 - 1
static/app/views/integrationPipeline/awsLambdaCloudformation.tsx

@@ -204,7 +204,7 @@ export default class AwsLambdaCloudformation extends React.Component<Props, Stat
     } = this.state;
     return (
       <React.Fragment>
-        <HeaderWithHelp docsUrl="https://docs.sentry.io/product/integrations/aws-lambda/" />
+        <HeaderWithHelp docsUrl="https://docs.sentry.io/product/integrations/cloud-monitoring/aws-lambda/" />
         <StyledList symbol="colored-numeric" initialCounterValue={initialStepNumber}>
           <ListItem>
             <h3>{t("Add Sentry's CloudFormation")}</h3>

+ 2 - 1
static/app/views/integrationPipeline/awsLambdaFailureDetails.tsx

@@ -20,7 +20,8 @@ export default function AwsLambdaFailureDetails({
   lambdaFunctionFailures,
   successCount,
 }: Props) {
-  const baseDocsUrl = 'https://docs.sentry.io/product/integrations/aws-lambda/';
+  const baseDocsUrl =
+    'https://docs.sentry.io/product/integrations/cloud-monitoring/aws-lambda/';
   return (
     <Fragment>
       <HeaderWithHelp docsUrl={baseDocsUrl} />

+ 1 - 1
static/app/views/integrationPipeline/awsLambdaFunctionSelect.tsx

@@ -171,7 +171,7 @@ export default class AwsLambdaFunctionSelect extends Component<Props, State> {
   render() {
     return (
       <Fragment>
-        <HeaderWithHelp docsUrl="https://docs.sentry.io/product/integrations/aws-lambda/" />
+        <HeaderWithHelp docsUrl="https://docs.sentry.io/product/integrations/cloud-monitoring/aws-lambda/" />
         <Wrapper>
           {this.state.submitting ? this.renderLoadingScreen() : this.renderCore()}
         </Wrapper>

+ 1 - 1
static/app/views/integrationPipeline/awsLambdaProjectSelect.tsx

@@ -42,7 +42,7 @@ export default class AwsLambdaProjectSelect extends React.Component<Props> {
     // TODO: Add logic if no projects
     return (
       <React.Fragment>
-        <HeaderWithHelp docsUrl="https://docs.sentry.io/product/integrations/aws-lambda/" />
+        <HeaderWithHelp docsUrl="https://docs.sentry.io/product/integrations/cloud-monitoring/aws-lambda/" />
         <StyledList symbol="colored-numeric">
           <React.Fragment />
           <ListItem>

+ 1 - 1
static/app/views/onboarding/integrationSetup.tsx

@@ -71,7 +71,7 @@ class IntegrationSetup extends Component<Props, State> {
 
   get platformDocs() {
     // TODO: make dynamic based on the integration
-    return 'https://docs.sentry.io/product/integrations/aws-lambda/';
+    return 'https://docs.sentry.io/product/integrations/cloud-monitoring/aws-lambda/';
   }
 
   fetchData = async () => {

+ 2 - 1
static/app/views/projectInstall/platformIntegrationSetup.tsx

@@ -119,7 +119,8 @@ class PlatformIntegrationSetup extends AsyncComponent<Props, State> {
     const gettingStartedLink = `/organizations/${orgId}/projects/${projectId}/getting-started/`;
 
     // TODO: make dynamic when adding more integrations
-    const docsLink = 'https://docs.sentry.io/product/integrations/aws-lambda/';
+    const docsLink =
+      'https://docs.sentry.io/product/integrations/cloud-monitoring/aws-lambda/';
 
     return (
       <OuterWrapper>