Skip to content

Commit

Permalink
SLVS-1599 Update documentation links to match the rebranding
Browse files Browse the repository at this point in the history
  • Loading branch information
vnaskos-sonar committed Dec 3, 2024
1 parent c87843b commit f16c3a1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
30 changes: 15 additions & 15 deletions src/Core/DocumentationLinks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ namespace SonarLint.VisualStudio.Core
/// </summary>
public static class DocumentationLinks
{
public const string HomePage = "https://docs.sonarsource.com/sonarlint/visual-studio/";
public const string LanguageSpecificRequirements = "https://docs.sonarsource.com/sonarlint/visual-studio/getting-started/requirements/#language-specific-requirements";
public const string LanguageSpecificRequirements_JsTs = "https://docs.sonarsource.com/sonarlint/visual-studio/getting-started/requirements/#nodejs-prerequisites-for-js-and-ts";
public const string MigrateToConnectedModeV7 = "https://docs.sonarsource.com/sonarlint/visual-studio/team-features/migrate-connected-mode-to-v7/";
public const string MigrateToConnectedModeV7_NotesForTfvcUsers = "https://docs.sonarsource.com/sonarlint/visual-studio/team-features/migrate-connected-mode-to-v7/#notes-for-tfvc-users";
public const string ConnectedMode = "https://docs.sonarsource.com/sonarlint/visual-studio/team-features/connected-mode/";
public const string TaintVulnerabilities = "https://docs.sonarsource.com/sonarlint/visual-studio/using-sonarlint/taint-vulnerabilities/";
public const string DisablingARule = "https://docs.sonarsource.com/sonarlint/visual-studio/using-sonarlint/rules/#disabling-a-rule";
public const string UseSharedBinding = "https://docs.sonarsource.com/sonarlint/visual-studio/team-features/connected-mode-setup/#bind-using-shared-configuration";
public const string SetupSharedBinding = "https://docs.sonarsource.com/sonarlint/visual-studio/team-features/connected-mode-setup/#save-the-connection-binding";
public const string CleanCode = "https://docs.sonarsource.com/sonarlint/visual-studio/concepts/clean-code/introduction";
public const string OpenInIdeIssueLocation = "https://docs.sonarsource.com/sonarlint/visual-studio/troubleshooting/#no-matching-issue-found";
public const string OpenInIdeBindingSetup = "https://docs.sonarsource.com/sonarlint/visual-studio/troubleshooting/#no-matching-project-found";
public const string UnbindingProject = "https://docs.sonarsource.com/sonarlint/visual-studio/team-features/connected-mode-setup/#unbinding-a-project";
public const string HomePage = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/";
public const string LanguageSpecificRequirements = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/getting-started/requirements/#language-specific-requirements";
public const string LanguageSpecificRequirements_JsTs = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/getting-started/requirements/#nodejs-prerequisites-for-js-and-ts";
public const string MigrateToConnectedModeV7 = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/team-features/migrate-connected-mode-to-v7/";
public const string MigrateToConnectedModeV7_NotesForTfvcUsers = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/team-features/migrate-connected-mode-to-v7/#notes-for-tfvc-users";
public const string ConnectedMode = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/team-features/connected-mode/";
public const string TaintVulnerabilities = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/using-sonarlint/taint-vulnerabilities/";
public const string DisablingARule = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/using-sonarlint/rules/#disabling-a-rule";
public const string UseSharedBinding = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/team-features/connected-mode-setup/#bind-using-shared-configuration";
public const string SetupSharedBinding = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/team-features/connected-mode-setup/#save-the-connection-binding";
public const string CleanCode = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/concepts/clean-code/introduction";
public const string OpenInIdeIssueLocation = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/troubleshooting/#no-matching-issue-found";
public const string OpenInIdeBindingSetup = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/troubleshooting/#no-matching-project-found";
public const string UnbindingProject = "https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/team-features/connected-mode-setup/#unbinding-a-project";

public static readonly Uri UnbindingProjectUri = new(UnbindingProject);
public static readonly Uri ConnectedModeUri = new(ConnectedMode);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

using System.Collections.Generic;
using System.Text;
using System.Xml;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using SonarLint.VisualStudio.Core.Analysis;
using SonarLint.VisualStudio.Education.Rule;
Expand Down Expand Up @@ -132,7 +129,7 @@ public void WriteDocumentHeaderAndEndDocument_ProduceCorrectStructure_NewCCT()
</TextBlock>
</Border>
<TextBlock>
<Hyperlink NavigateUri=""https://docs.sonarsource.com/sonarlint/visual-studio/concepts/clean-code/introduction"">Learn more about Clean Code</Hyperlink>
<Hyperlink NavigateUri=""https://docs.sonarsource.com/sonarqube-for-ide/visual-studio/concepts/clean-code/introduction"">Learn more about Clean Code</Hyperlink>
</TextBlock>
</WrapPanel>
</BlockUIContainer>
Expand Down

0 comments on commit f16c3a1

Please sign in to comment.