Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLVS-1599 Update documentation links to match the rebranding #5872

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading