]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19196 Fix project creation documentation link
authorMathieu Suen <mathieu.suen@sonarsource.com>
Tue, 2 May 2023 08:39:35 +0000 (10:39 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 4 May 2023 20:03:11 +0000 (20:03 +0000)
server/sonar-web/src/main/js/apps/create/project/ManualProjectCreate.tsx

index d53b087bb73aa82c205c6fc129cf03f75e57c7d8..44b290ce91d355fb861d8d1478099a1f11736f40 100644 (file)
@@ -25,8 +25,8 @@ import { createProject, doesComponentExists } from '../../../api/components';
 import { getValue } from '../../../api/settings';
 import DocLink from '../../../components/common/DocLink';
 import ProjectKeyInput from '../../../components/common/ProjectKeyInput';
-import { SubmitButton } from '../../../components/controls/buttons';
 import ValidationInput from '../../../components/controls/ValidationInput';
+import { SubmitButton } from '../../../components/controls/buttons';
 import { Alert } from '../../../components/ui/Alert';
 import DeferredSpinner from '../../../components/ui/DeferredSpinner';
 import MandatoryFieldsExplanation from '../../../components/ui/MandatoryFieldsExplanation';
@@ -34,9 +34,9 @@ import { translate } from '../../../helpers/l10n';
 import { PROJECT_KEY_INVALID_CHARACTERS, validateProjectKey } from '../../../helpers/projects';
 import { ProjectKeyValidationResult } from '../../../types/component';
 import { GlobalSettingKeys } from '../../../types/settings';
-import { PROJECT_NAME_MAX_LEN } from './constants';
 import CreateProjectPageHeader from './CreateProjectPageHeader';
 import './ManualProjectCreate.css';
+import { PROJECT_NAME_MAX_LEN } from './constants';
 
 interface Props {
   branchesEnabled: boolean;
@@ -283,7 +283,9 @@ export default class ManualProjectCreate extends React.PureComponent<Props, Stat
                     )}
                     values={{
                       learn_more: (
-                        <DocLink to="/branches/overview">{translate('learn_more')}</DocLink>
+                        <DocLink to="/analyzing-source-code/branches/branch-analysis">
+                          {translate('learn_more')}
+                        </DocLink>
                       ),
                     }}
                   />