Browse Source

Fix integration docs links (#20217)

Phillip Jones 4 years ago
parent
commit
90b3e84112

+ 1 - 1
src/sentry/integrations/slack/post_migration.py

@@ -13,7 +13,7 @@ from .client import SlackClient
 logger = logging.getLogger(__name__)
 
 
-doc_link = "https://docs.sentry.io/workflow/integrations/global-integrations/#upgrading-slack"
+doc_link = "https://docs.sentry.io/product/integrations/slack/#upgrading-slack"
 
 
 def build_migration_attachment():

+ 1 - 1
src/sentry/integrations/vercel/uihook.py

@@ -73,7 +73,7 @@ class VercelUIHook(Endpoint):
         connect_projects_link = absolute_uri(
             u"/settings/%s/integrations/vercel/%s/" % (organization.slug, integration.id)
         )
-        doc_link = "https://docs.sentry.io/workflow/integrations/global-integrations/#vercel"
+        doc_link = "https://docs.sentry.io/product/integrations/vercel/"
         source_code_link = absolute_uri(
             u"/settings/%s/integrations/?%s"
             % (organization.slug, urlencode({"category": "source code management"}))

+ 1 - 1
src/sentry/templates/sentry/integrations/bitbucket-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/workflow/integrations/global-integrations/#bitbucket-server">required steps</a>
+        You must complete the <a href="https://docs.sentry.io/product/integrations/bitbucket/#bitbucket-server">required steps</a>
 
         in Bitbucket Server before attempting to connect with Sentry.
         {% endblocktrans %}

+ 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/workflow/integrations/global-integrations/#jira-server">required steps</a>
+        You must complete the <a href="https://docs.sentry.io/product/integrations/jira/#jira-server">required steps</a>
 
         in Jira Server before attempting to connect with Sentry.
         {% endblocktrans %}

+ 1 - 1
src/sentry/templates/sentry/integrations/slack-reauth-introduction.html

@@ -101,7 +101,7 @@
     </p>
     <p>
         {% blocktrans %}
-        Want to know more about the move? We wrote you some <a href="https://docs.sentry.io/workflow/integrations/slack/#upgrading-slack">docs</a>.
+        Want to know more about the move? We wrote you some <a href="https://docs.sentry.io/product/integrations/slack/#upgrading-slack">docs</a>.
         {% endblocktrans %}
     </p>
 

+ 1 - 1
src/sentry_plugins/bitbucket/README.rst

@@ -1,4 +1,4 @@
-**Note**: This plugin has been deprecated in favor of the `Bitbucket Global Integration <https://docs.sentry.io/workflow/integrations/global-integrations/#bitbucket>`_.
+**Note**: This plugin has been deprecated in favor of the `Bitbucket Global Integration <https://docs.sentry.io/product/integrations/bitbucket/>`_.
 
 Go to https://bitbucket.org/account/user/**YOUR_USERNAME**/api
 

+ 1 - 1
src/sentry_plugins/gitlab/README.rst

@@ -1,4 +1,4 @@
-**Note**: This plugin has been deprecated in favor of the `Gitlab Global Integration <https://docs.sentry.io/workflow/integrations/global-integrations/#gitlab>`_.
+**Note**: This plugin has been deprecated in favor of the `Gitlab Global Integration <https://docs.sentry.io/product/integrations/gitlab/>`_.
 
 Go to your project's configuration page (Projects -> [Project] -> Issue Tracking) and select
 GitLab. Enter the required credentials (use a `personal access

+ 1 - 1
src/sentry_plugins/slack/README.rst

@@ -1,3 +1,3 @@
-**Note**: This plugin has been deprecated in favor of the `Slack Global Integration <https://docs.sentry.io/workflow/integrations/global-integrations/#slack>`_.
+**Note**: This plugin has been deprecated in favor of the `Slack Global Integration <https://docs.sentry.io/product/integrations/slack/>`_.
 
 Go to your project's configuration page (Projects -> [Project]) and select the Slack tab. Enter the required credentials and click save changes.

+ 1 - 1
tests/sentry/integrations/slack/test_post_migration.py

@@ -69,7 +69,7 @@ class SlackPostMigrationTest(TestCase):
                 "good_channels": [{"name": "#good_channel", "id": "good_channel_id"}],
                 "failing_channels": [{"name": "#bad_channel", "id": "bad_channel_id"}],
                 "missing_channels": [{"name": "#missing_channel", "id": "missing_channel_id"}],
-                "doc_link": "https://docs.sentry.io/workflow/integrations/global-integrations/#upgrading-slack",
+                "doc_link": "https://docs.sentry.io/product/integrations/slack/#upgrading-slack",
                 "integration": self.integration,
                 "organization": self.org,
             },