]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22360 Update links to documentation after C Family tutorial revamp
author7PH <benjamin.raymond@sonarsource.com>
Thu, 6 Jun 2024 08:35:21 +0000 (10:35 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 6 Jun 2024 20:02:43 +0000 (20:02 +0000)
server/sonar-web/src/main/js/components/tutorials/components/CompilationInfo.tsx
server/sonar-web/src/main/js/components/tutorials/other/commands/ExecBuildWrapper.tsx
server/sonar-web/src/main/js/helpers/doc-links.ts
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 7b3b0e5e36d060a4b883eaf6185f8453f875be1a..199326e947d1a64b3d279e6a094f9ccd5a2ffbb0 100644 (file)
@@ -41,7 +41,7 @@ export function CompilationInfo({ className = 'sw-my-2' }: CompilationInfoProps)
             defaultMessage={translate('onboarding.tutorial.cfamilly.compilation_database_info')}
             values={{
               link: (
-                <Link to={docUrl(DocLink.CFamily)}>
+                <Link to={docUrl(DocLink.CFamilyCompilationDatabase)}>
                   {translate('onboarding.tutorial.cfamilly.compilation_database_info.link')}
                 </Link>
               ),
index 1ac8372adf01a47b26b8ab26a4a177d2575f8d3d..46e23428d55b6962dc2cbddfc58bdebb51370a81 100644 (file)
@@ -39,7 +39,7 @@ const executables: { [x in OSs]: string } = {
 export default function ExecBuildWrapper(props: ExecBuildWrapperProps) {
   const { os } = props;
 
-  const docUrl = useDocUrl(DocLink.CFamily);
+  const docUrl = useDocUrl(DocLink.CFamilyBuildWrapper);
 
   return (
     <>
index a7f62f03eb0dcf7c72c30adb6d5048c109da4c08..148dc4b77023bd3eee935c846ed999d3f4b2809e 100644 (file)
@@ -43,8 +43,8 @@ export enum DocLink {
   BackgroundTasks = '/analyzing-source-code/background-tasks/',
   BranchAnalysis = '/analyzing-source-code/branches/branch-analysis/',
   CaYC = '/user-guide/clean-as-you-code/',
-  CFamily = '/analyzing-source-code/languages/c-family/',
-  CFamilyAnalysisCache = '/analyzing-source-code/languages/c-family/#analysis-cache',
+  CFamilyBuildWrapper = '/analyzing-source-code/languages/c-family/prerequisites/#using-buildwrapper',
+  CFamilyCompilationDatabase = '/analyzing-source-code/languages/c-family/prerequisites/#using-thirdparty-tools',
   CIAnalysisSetup = '/analyzing-source-code/ci-integration/overview/',
   CIJenkins = '/analyzing-source-code/ci-integration/jenkins-integration/',
   CleanCodeIntroduction = '/user-guide/clean-code/introduction/',
index 078b6e470f41ec0ed7d97a7764245917f279038a..80151c38d2b0890f6a746cb529826360c35b762a 100644 (file)
@@ -4575,7 +4575,7 @@ onboarding.analysis.build_wrapper.text=And add the executable's directory to the
 onboarding.analysis.build_wrapper.execute=Execute the Build Wrapper as a prefix to your build command
 onboarding.analysis.build_wrapper.execute_text=Run the following command in your project's folder.
 onboarding.analysis.build_wrapper.execute_build_command=<your clean build command>
-onboarding.analysis.build_wrapper.docs=Please visit the {link}  of the Build Wrapper for more details.
+onboarding.analysis.build_wrapper.docs=Please visit the {link} of the Build Wrapper for more details.
 onboarding.analysis.build_wrapper.docs_link=official documentation