From c2b021b216ce2c1d80dfa3aec3acf2ee44afa375 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Thu, 24 Aug 2023 10:00:50 +0200 Subject: SONAR-19761 Change documentation URL --- sonar-markdown/src/main/java/org/sonar/markdown/HtmlLinkChannel.java | 4 ++-- sonar-markdown/src/test/java/org/sonar/markdown/MarkdownTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sonar-markdown') diff --git a/sonar-markdown/src/main/java/org/sonar/markdown/HtmlLinkChannel.java b/sonar-markdown/src/main/java/org/sonar/markdown/HtmlLinkChannel.java index fee0602d547..c9ee6a8f72b 100644 --- a/sonar-markdown/src/main/java/org/sonar/markdown/HtmlLinkChannel.java +++ b/sonar-markdown/src/main/java/org/sonar/markdown/HtmlLinkChannel.java @@ -27,8 +27,8 @@ import java.util.regex.Pattern; /** * Markdown interprets text in brackets followed by text in parentheses to generate documented links. * - * E.g., the input [See documentation](http://docs.sonarqube.org/display/SONAR) will produce - * {@literal}See documentation{@literal} + * E.g., the input [See documentation](http://docs.sonarsource.com/sonarqube/display/SONAR) will produce + * {@literal}See documentation{@literal} */ class HtmlLinkChannel extends RegexChannel { diff --git a/sonar-markdown/src/test/java/org/sonar/markdown/MarkdownTest.java b/sonar-markdown/src/test/java/org/sonar/markdown/MarkdownTest.java index 1476b589ac4..be76487e9f9 100644 --- a/sonar-markdown/src/test/java/org/sonar/markdown/MarkdownTest.java +++ b/sonar-markdown/src/test/java/org/sonar/markdown/MarkdownTest.java @@ -39,8 +39,8 @@ public class MarkdownTest { @Test public void shouldDecorateDocumentedLink() { - assertThat(Markdown.convertToHtml("For more details, please [check online documentation](http://docs.sonarqube.org/display/SONAR).")) - .isEqualTo("For more details, please check online documentation."); + assertThat(Markdown.convertToHtml("For more details, please [check online documentation](http://docs.sonarsource.com/sonarqube/display/SONAR).")) + .isEqualTo("For more details, please check online documentation."); } -- cgit v1.2.3