diff options
author | 7PH <benjamin.raymond@sonarsource.com> | 2024-06-06 10:35:21 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-06-06 20:02:43 +0000 |
commit | 79df6bad021b632d0f3d7bd00d8d223324868e5d (patch) | |
tree | 1f3a97d8b44818ab9b0524049dbf8cbfac435259 | |
parent | ae4d19e26165d25a653a6ee63ef77c5a67935792 (diff) | |
download | sonarqube-79df6bad021b632d0f3d7bd00d8d223324868e5d.tar.gz sonarqube-79df6bad021b632d0f3d7bd00d8d223324868e5d.zip |
SONAR-22360 Update links to documentation after C Family tutorial revamp
4 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/components/tutorials/components/CompilationInfo.tsx b/server/sonar-web/src/main/js/components/tutorials/components/CompilationInfo.tsx index 7b3b0e5e36d..199326e947d 100644 --- a/server/sonar-web/src/main/js/components/tutorials/components/CompilationInfo.tsx +++ b/server/sonar-web/src/main/js/components/tutorials/components/CompilationInfo.tsx @@ -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> ), diff --git a/server/sonar-web/src/main/js/components/tutorials/other/commands/ExecBuildWrapper.tsx b/server/sonar-web/src/main/js/components/tutorials/other/commands/ExecBuildWrapper.tsx index 1ac8372adf0..46e23428d55 100644 --- a/server/sonar-web/src/main/js/components/tutorials/other/commands/ExecBuildWrapper.tsx +++ b/server/sonar-web/src/main/js/components/tutorials/other/commands/ExecBuildWrapper.tsx @@ -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 ( <> diff --git a/server/sonar-web/src/main/js/helpers/doc-links.ts b/server/sonar-web/src/main/js/helpers/doc-links.ts index a7f62f03eb0..148dc4b7702 100644 --- a/server/sonar-web/src/main/js/helpers/doc-links.ts +++ b/server/sonar-web/src/main/js/helpers/doc-links.ts @@ -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/', diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 078b6e470f4..80151c38d2b 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -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 |