aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/app/components/__tests__/DocumentationRedirect-test.tsx4
-rw-r--r--server/sonar-web/src/main/js/app/components/app-state/AppStateContext.tsx2
-rw-r--r--server/sonar-web/src/main/js/app/components/app-state/__tests__/__snapshots__/AppStateContextProvider-test.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/app/components/indexation/PageUnavailableDueToIndexation.tsx2
-rw-r--r--server/sonar-web/src/main/js/app/components/indexation/__tests__/__snapshots__/IndexationContextProvider-test.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/app/components/indexation/__tests__/__snapshots__/PageUnavailableDueToIndexation-test.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.tsx2
-rw-r--r--server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap2
-rw-r--r--server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts2
-rw-r--r--server/sonar-web/src/main/js/helpers/testMocks.ts2
10 files changed, 11 insertions, 11 deletions
diff --git a/server/sonar-web/src/main/js/app/components/__tests__/DocumentationRedirect-test.tsx b/server/sonar-web/src/main/js/app/components/__tests__/DocumentationRedirect-test.tsx
index a8db8911181..45d78f8cba9 100644
--- a/server/sonar-web/src/main/js/app/components/__tests__/DocumentationRedirect-test.tsx
+++ b/server/sonar-web/src/main/js/app/components/__tests__/DocumentationRedirect-test.tsx
@@ -29,7 +29,7 @@ it('should redirect to static doc for specific version', async () => {
expect(await screen.findByRole('link')).toHaveAttribute(
'href',
- 'https://docs.sonarqube.org/10.0/land'
+ 'https://docs.sonarsource.com/sonarqube/10.0/land'
);
});
@@ -38,7 +38,7 @@ it('should redirect to static doc for latest version', async () => {
expect(await screen.findByRole('link')).toHaveAttribute(
'href',
- 'https://docs.sonarqube.org/latest/land'
+ 'https://docs.sonarsource.com/sonarqube/latest/land'
);
});
diff --git a/server/sonar-web/src/main/js/app/components/app-state/AppStateContext.tsx b/server/sonar-web/src/main/js/app/components/app-state/AppStateContext.tsx
index ed03861f3e5..185e42ef2e7 100644
--- a/server/sonar-web/src/main/js/app/components/app-state/AppStateContext.tsx
+++ b/server/sonar-web/src/main/js/app/components/app-state/AppStateContext.tsx
@@ -28,6 +28,6 @@ export const DEFAULT_APP_STATE = {
qualifiers: [],
settings: {},
version: '',
- documentationUrl: 'https://docs.sonarqube.org/latest',
+ documentationUrl: 'https://docs.sonarsource.com/sonarqube/latest',
};
export const AppStateContext = React.createContext<AppState>(DEFAULT_APP_STATE);
diff --git a/server/sonar-web/src/main/js/app/components/app-state/__tests__/__snapshots__/AppStateContextProvider-test.tsx.snap b/server/sonar-web/src/main/js/app/components/app-state/__tests__/__snapshots__/AppStateContextProvider-test.tsx.snap
index 9881aed06e7..aef5aa5c076 100644
--- a/server/sonar-web/src/main/js/app/components/app-state/__tests__/__snapshots__/AppStateContextProvider-test.tsx.snap
+++ b/server/sonar-web/src/main/js/app/components/app-state/__tests__/__snapshots__/AppStateContextProvider-test.tsx.snap
@@ -4,7 +4,7 @@ exports[`should set value correctly 1`] = `
<AppStateContextProvider
appState={
{
- "documentationUrl": "https://docs.sonarqube.org/10.0",
+ "documentationUrl": "https://docs.sonarsource.com/sonarqube/10.0",
"edition": "community",
"productionDatabase": true,
"qualifiers": [
diff --git a/server/sonar-web/src/main/js/app/components/indexation/PageUnavailableDueToIndexation.tsx b/server/sonar-web/src/main/js/app/components/indexation/PageUnavailableDueToIndexation.tsx
index 6dfa918d7bc..f59a04ab525 100644
--- a/server/sonar-web/src/main/js/app/components/indexation/PageUnavailableDueToIndexation.tsx
+++ b/server/sonar-web/src/main/js/app/components/indexation/PageUnavailableDueToIndexation.tsx
@@ -50,7 +50,7 @@ export class PageUnavailableDueToIndexation extends React.PureComponent<WithInde
id="indexation.page_unavailable.description.additional_information"
values={{
link: (
- <Link to="https://docs.sonarqube.org/latest/instance-administration/reindexing/">
+ <Link to="https://docs.sonarsource.com/sonarqube/latest/instance-administration/reindexing/">
{translate('learn_more')}
</Link>
),
diff --git a/server/sonar-web/src/main/js/app/components/indexation/__tests__/__snapshots__/IndexationContextProvider-test.tsx.snap b/server/sonar-web/src/main/js/app/components/indexation/__tests__/__snapshots__/IndexationContextProvider-test.tsx.snap
index c8202de2b54..143f0fac15f 100644
--- a/server/sonar-web/src/main/js/app/components/indexation/__tests__/__snapshots__/IndexationContextProvider-test.tsx.snap
+++ b/server/sonar-web/src/main/js/app/components/indexation/__tests__/__snapshots__/IndexationContextProvider-test.tsx.snap
@@ -4,7 +4,7 @@ exports[`should render correctly and start polling if issue sync is needed 1`] =
<IndexationContextProvider
appState={
{
- "documentationUrl": "https://docs.sonarqube.org/10.0",
+ "documentationUrl": "https://docs.sonarsource.com/sonarqube/10.0",
"edition": "community",
"needIssueSync": true,
"productionDatabase": true,
diff --git a/server/sonar-web/src/main/js/app/components/indexation/__tests__/__snapshots__/PageUnavailableDueToIndexation-test.tsx.snap b/server/sonar-web/src/main/js/app/components/indexation/__tests__/__snapshots__/PageUnavailableDueToIndexation-test.tsx.snap
index 53932900198..2d3cf8c163a 100644
--- a/server/sonar-web/src/main/js/app/components/indexation/__tests__/__snapshots__/PageUnavailableDueToIndexation-test.tsx.snap
+++ b/server/sonar-web/src/main/js/app/components/indexation/__tests__/__snapshots__/PageUnavailableDueToIndexation-test.tsx.snap
@@ -21,7 +21,7 @@ exports[`should render correctly 1`] = `
values={
{
"link": <StandoutLink
- to="https://docs.sonarqube.org/latest/instance-administration/reindexing/"
+ to="https://docs.sonarsource.com/sonarqube/latest/instance-administration/reindexing/"
>
learn_more
</StandoutLink>,
diff --git a/server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.tsx b/server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.tsx
index ad2a4340e02..2b86e04154c 100644
--- a/server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.tsx
+++ b/server/sonar-web/src/main/js/apps/issues/sidebar/Sidebar.tsx
@@ -425,7 +425,7 @@ export class SidebarClass extends React.PureComponent<Props> {
id="indexation.filters_unavailable"
values={{
link: (
- <Link to="https://docs.sonarqube.org/latest/instance-administration/reindexing/">
+ <Link to="https://docs.sonarsource.com/sonarqube/latest/instance-administration/reindexing/">
{translate('learn_more')}
</Link>
),
diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap b/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap
index baba3c9fd1a..6e09e138b58 100644
--- a/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap
+++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotDisabledFilterTooltip-test.tsx.snap
@@ -20,7 +20,7 @@ exports[`should render correctly and stop event propagation 1`] = `
</span>
<a
class="sw-ml-1"
- href="https://docs.sonarqube.org/latest/instance-administration/reindexing/"
+ href="https://docs.sonarsource.com/sonarqube/latest/instance-administration/reindexing/"
rel="noopener noreferrer"
target="_blank"
>
diff --git a/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts b/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts
index 6b56a5ad3f4..3d92f418a3a 100644
--- a/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts
+++ b/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts
@@ -554,7 +554,7 @@ export const definitions: ExtendedSettingDefinition[] = [
key: 'sonar.cobol.aucobol.preprocessor.directives.default',
name: 'AcuCobol preprocessor default directives',
description:
- 'This property allows to set preprocessor directives used to compile every COBOL program. See the \'ACUCOBOL-GT Source Code Control directives\' section in the <a target="_blank" href="http://docs.sonarqube.org/display/PLUG/COBOL+Plugin+Advanced+Configuration">documentation of the plugin</a>.',
+ 'This property allows to set preprocessor directives used to compile every COBOL program. See the \'ACUCOBOL-GT Source Code Control directives\' section in the <a target="_blank" href="http://docs.sonarsource.com/sonarqube/display/PLUG/COBOL+Plugin+Advanced+Configuration">documentation of the plugin</a>.',
category: 'COBOL',
subCategory: 'Preprocessor',
options: [],
diff --git a/server/sonar-web/src/main/js/helpers/testMocks.ts b/server/sonar-web/src/main/js/helpers/testMocks.ts
index b2363cbe26a..533cff7bd1a 100644
--- a/server/sonar-web/src/main/js/helpers/testMocks.ts
+++ b/server/sonar-web/src/main/js/helpers/testMocks.ts
@@ -82,7 +82,7 @@ export function mockAppState(overrides: Partial<AppState> = {}): AppState {
qualifiers: ['TRK'],
settings: {},
version: '1.0',
- documentationUrl: 'https://docs.sonarqube.org/10.0',
+ documentationUrl: 'https://docs.sonarsource.com/sonarqube/10.0',
...overrides,
};
}