]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-21557 Update Clean Code docs page links
authorJeremy Davis <jeremy.davis@sonarsource.com>
Thu, 1 Feb 2024 08:53:02 +0000 (09:53 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 1 Feb 2024 20:02:47 +0000 (20:02 +0000)
server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx
server/sonar-web/src/main/js/apps/coding-rules/components/RuleListItem.tsx
server/sonar-web/src/main/js/apps/coding-rules/components/SeverityFacet.tsx
server/sonar-web/src/main/js/apps/issues/components/IssueGuide.tsx
server/sonar-web/src/main/js/apps/issues/sidebar/SeverityFacet.tsx
server/sonar-web/src/main/js/components/shared/CleanCodeAttributePill.tsx
server/sonar-web/src/main/js/components/shared/SoftwareImpactPill.tsx

index 179ed09ac3354f2054f5750b69a2e4c372a9f4d7..37ccc4cc98a1d7a2c4e8930700320f02dc8c6941 100644 (file)
@@ -117,7 +117,10 @@ export default function ActivationFormModal(props: Readonly<Props>) {
 
           <FlagMessage className="sw-mb-4" variant="info">
             {translate('coding_rules.severity_deprecated')}
-            <DocLink className="sw-ml-2 sw-whitespace-nowrap" to="/user-guide/clean-code/">
+            <DocLink
+              className="sw-ml-2 sw-whitespace-nowrap"
+              to="/user-guide/clean-code/introduction/"
+            >
               {translate('learn_more')}
             </DocLink>
           </FlagMessage>
index 3975b512ca75f715ee62719f22353a52309c8cdd..eab02e846c3540680568e683fdd08ce3d4417cfe 100644 (file)
@@ -254,7 +254,7 @@ export default class RuleListItem extends React.PureComponent<Props> {
                   }
                   links={[
                     {
-                      href: '/user-guide/clean-code',
+                      href: '/user-guide/clean-code/introduction',
                       label: translate('learn_more'),
                     },
                   ]}
index fb66748a4517dbf7a6a8f891e1193ed8a70bc3fb..39caf9fa265a921639f43bc40a2e5c7a4556943f 100644 (file)
@@ -59,7 +59,7 @@ export default function SeverityFacet(props: BasicProps) {
           }
           links={[
             {
-              href: '/user-guide/clean-code',
+              href: '/user-guide/clean-code/introduction',
               label: translate('learn_more'),
             },
           ]}
index 248cf7b7bc8296233a587841c60f4de0a5490882..d0b5a7e7890589a6717b501293fcba78f7bcc739 100644 (file)
@@ -127,7 +127,7 @@ export default function IssueGuide({ run }: Props) {
           defaultMessage={translate('guiding.issue_list.5.content')}
           values={{
             link: (
-              <DocLink to="/user-guide/clean-code" className="sw-capitalize">
+              <DocLink to="/user-guide/clean-code/introduction" className="sw-capitalize">
                 {translate('documentation')}
               </DocLink>
             ),
index 51e3944c980ef798e5f9899ba0201fa906f6c95d..5ee99e7014996301662b86deb81a302177d3dd66 100644 (file)
@@ -53,7 +53,7 @@ export function SeverityFacet(props: Props) {
           }
           links={[
             {
-              href: '/user-guide/clean-code',
+              href: '/user-guide/clean-code/introduction',
               label: translate('learn_more'),
             },
           ]}
index 211dda95275069acdca27e6a061f777aeeb393f3..b8c20b40ae18b3d2b064373b3f3d23dbbf028459 100644 (file)
@@ -57,7 +57,7 @@ export function CleanCodeAttributePill(props: Readonly<Props>) {
       }
       links={[
         {
-          href: '/user-guide/clean-code',
+          href: '/user-guide/clean-code/introduction',
           label: translate('learn_more'),
         },
       ]}
index c3b7f827091dbc9077650cfe4ce2cc70ecf61347..04bc3626ef15d77e8d18c796271556eb2c0b8a45 100644 (file)
@@ -56,7 +56,7 @@ export default function SoftwareImpactPill(props: Props) {
       }
       links={[
         {
-          href: '/user-guide/clean-code',
+          href: '/user-guide/clean-code/introduction',
           label: translate('learn_more'),
         },
       ]}