]> source.dussan.org Git - sonarqube.git/commitdiff
DOC-1420: Update doc links
authorCaroline Dupuis <132262410+caroline-dupuis-sonarsource@users.noreply.github.com>
Tue, 10 Sep 2024 07:25:12 +0000 (09:25 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 10 Sep 2024 20:03:12 +0000 (20:03 +0000)
Update doc links due to the restructuring of the content in Instance Administration section.

server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap
server/sonar-web/src/main/js/helpers/doc-links.ts

index d51909d712aeb1b598f9378b4f136fbec8e92f8b..42915e44d78bc3c15f0241e39a65eb2a2112ba1f 100644 (file)
@@ -63,7 +63,7 @@ exports[`should render correctly and stop event propagation 1`] = `
     </span>
     <a
       class="sw-ml-1 emotion-0 emotion-1"
-      href="https://docs.sonarsource.com/sonarqube/latest/instance-administration/reindexing/"
+      href="https://docs.sonarsource.com/sonarqube/latest/server-upgrade-and-maintenance/maintenance/reindexing/"
       rel="noopener noreferrer"
       target="_blank"
     >
index 8a52bd05c3be25758a87f0f995ba078fade3e56d..eeab0dbb9072f5a9f0a5974bc60b911135c8722c 100644 (file)
@@ -24,7 +24,7 @@ export const DOC_URL = 'https://docs.sonarsource.com/sonarqube/latest';
 
 export enum DocLink {
   AccountTokens = '/user-guide/user-account/generating-and-using-tokens/',
-  ActiveVersions = '/setup-and-upgrade/upgrade-the-server/active-versions/',
+  ActiveVersions = '/server-upgrade-and-maintenance/upgrade/upgrade-the-server/active-versions/',
   AlmAzureIntegration = '/devops-platform-integration/azure-devops-integration/',
   AlmBitBucketCloudAuth = '/instance-administration/authentication/bitbucket-cloud/',
   AlmBitBucketCloudIntegration = '/devops-platform-integration/bitbucket-integration/bitbucket-cloud-integration/',
@@ -50,15 +50,15 @@ export enum DocLink {
   CleanCodeIntroduction = '/user-guide/clean-code/introduction/',
   CodeAnalysis = '/user-guide/clean-code/code-analysis/',
   InactiveBranches = '/project-administration/maintaining-the-branches-of-your-project/#manage-inactive-branches',
-  InstanceAdminEncryption = '/instance-administration/security/#settings-encryption',
+  InstanceAdminEncryption = '/instance-administration/system-functions/security/#settings-encryption',
   InstanceAdminLicense = '/instance-administration/license-administration/',
-  InstanceAdminLoC = '/instance-administration/monitoring/lines-of-code/',
-  InstanceAdminMarketplace = '/instance-administration/marketplace/',
-  InstanceAdminPluginVersionMatrix = '/instance-administration/plugin-version-matrix/',
-  InstanceAdminQualityProfiles = '/instance-administration/quality-profiles/',
-  InstanceAdminQualityProfilesPrioritizingRules = '/instance-administration/quality-profiles/#prioritizing-rules',
-  InstanceAdminReindexation = '/instance-administration/reindexing/',
-  InstanceAdminSecurity = '/instance-administration/security/',
+  InstanceAdminLoC = '/server-upgrade-and-maintenance/monitoring/lines-of-code/',
+  InstanceAdminMarketplace = '/server-upgrade-and-maintenance/upgrade/marketplace/',
+  InstanceAdminPluginVersionMatrix = '/setup-and-upgrade/plugins/plugin-version-matrix/',
+  InstanceAdminQualityProfiles = '/instance-administration/analysis-functions/quality-profiles/',
+  InstanceAdminQualityProfilesPrioritizingRules = '/instance-administration/analysis-functions/quality-profiles/#prioritizing-rules',
+  InstanceAdminReindexation = '/server-upgrade-and-maintenance/maintenance/reindexing/',
+  InstanceAdminSecurity = '/instance-administration/system-functions/security/',
   IssueResolutions = '/user-guide/issues/solution-overview/#deprecated-features',
   Issues = '/user-guide/issues/introduction/',
   IssueStatuses = '/user-guide/issues/solution-overview/#life-cycle',
@@ -70,15 +70,15 @@ export enum DocLink {
   NewCodeDefinitionOptions = '/project-administration/clean-as-you-code-settings/defining-new-code/#new-code-definition-options',
   Portfolios = '/user-guide/portfolios/',
   PullRequestAnalysis = '/analyzing-source-code/pull-request-analysis/introduction/',
-  QualityGates = '/user-guide/quality-gates/',
+  QualityGates = '/instance-administration/analysis-functions/quality-gates/',
   Root = '/',
   RulesOverview = '/user-guide/rules/overview',
   SecurityHotspots = '/user-guide/security-hotspots/',
   SecurityReports = '/user-guide/security-reports/',
-  ServerUpgradeRoadmap = '/setup-and-upgrade/upgrade-the-server/roadmap/',
+  ServerUpgradeRoadmap = '/server-upgrade-and-maintenance/upgrade/upgrade-the-server/roadmap/',
   SonarLintConnectedMode = '/user-guide/sonarlint-connected-mode/',
   SonarScanner = '/analyzing-source-code/scanners/sonarscanner/',
-  SonarScannerRequirements = '/analyzing-source-code/scanners/general-requirements/',
+  SonarScannerRequirements = '/analyzing-source-code/scanners/scanner-environment/general-requirements/',
   SonarScannerDotNet = '/analyzing-source-code/scanners/dotnet/introduction/',
   SonarScannerGradle = '/analyzing-source-code/scanners/sonarscanner-for-gradle/',
   SonarScannerMaven = '/analyzing-source-code/scanners/sonarscanner-for-maven/',