diff options
author | Mathieu Suen <mathieu.suen@sonarsource.com> | 2021-11-16 10:14:39 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-11-16 20:03:55 +0000 |
commit | 49817181bad8d681446d87623c4c07c2c2bfff5d (patch) | |
tree | cd878e0af6cec7ee1949531098e617a73c6477d6 /server/sonar-docs | |
parent | 9c3a37a194901d3e799a61379ace35a61c0683bd (diff) | |
download | sonarqube-49817181bad8d681446d87623c4c07c2c2bfff5d.tar.gz sonarqube-49817181bad8d681446d87623c4c07c2c2bfff5d.zip |
SONAR-15466 Fix typo link
Diffstat (limited to 'server/sonar-docs')
-rw-r--r-- | server/sonar-docs/src/EmbedDocsSuggestions.json | 2 | ||||
-rw-r--r-- | server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js | 6 | ||||
-rw-r--r-- | server/sonar-docs/static/SonarCloudNavigationTree.json | 90 |
3 files changed, 2 insertions, 96 deletions
diff --git a/server/sonar-docs/src/EmbedDocsSuggestions.json b/server/sonar-docs/src/EmbedDocsSuggestions.json index 2eb7800dd64..ac1f9b43c9a 100644 --- a/server/sonar-docs/src/EmbedDocsSuggestions.json +++ b/server/sonar-docs/src/EmbedDocsSuggestions.json @@ -42,7 +42,7 @@ }, { "link": "/documentation/user-guide/connected-mode/", - "text": "SonarLint connected mode" + "text": "SonarLint Connected Mode" } ], "permission_templates": [], diff --git a/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js b/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js index 74c4598bd57..c29aa77ed38 100644 --- a/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js +++ b/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js @@ -45,11 +45,7 @@ it('should have at least one instance of all possible frontmatter fields', () => /* eslint-disable no-console */ it('should have valid links in trees files', () => { - const trees = [ - 'SonarCloudNavigationTree.json', - 'SonarQubeNavigationTree.json', - 'StaticNavigationTree.json' - ]; + const trees = ['SonarQubeNavigationTree.json', 'StaticNavigationTree.json']; let hasErrors = false; trees.forEach(file => { const tree = JSON.parse(fs.readFileSync(path.join(rootPath, '..', 'static', file), 'utf8')); diff --git a/server/sonar-docs/static/SonarCloudNavigationTree.json b/server/sonar-docs/static/SonarCloudNavigationTree.json deleted file mode 100644 index 959f91ac13a..00000000000 --- a/server/sonar-docs/static/SonarCloudNavigationTree.json +++ /dev/null @@ -1,90 +0,0 @@ -[ - { - "title": "Get Started", - "children": ["/integrations/github/", "/integrations/bitbucketcloud/", "/integrations/vsts/"] - }, - { - "title": "Analyzing Source Code", - "children": [ - "/analysis/overview/", - "/analysis/analysis-parameters/", - { - "title": "Languages", - "children": [ - "/analysis/languages/abap/", - "/analysis/languages/apex/", - "/analysis/languages/csharp/", - "/analysis/languages/cfamily/", - "/analysis/languages/cobol/", - "/analysis/languages/flex/", - "/analysis/languages/go/", - "/analysis/languages/html/", - "/analysis/languages/java/", - "/analysis/languages/javascript/", - "/analysis/languages/kotlin/", - "/analysis/languages/php/", - "/analysis/languages/plsql/", - "/analysis/languages/python/", - "/analysis/languages/ruby/", - "/analysis/languages/scala/", - "/analysis/languages/swift/", - "/analysis/languages/tsql/", - "/analysis/languages/vbnet/", - "/analysis/languages/xml/" - ] - }, - "/analysis/coverage/", - "/analysis/external-issues/", - "/analysis/background-tasks/", - "/analysis/generic-issue/", - "/analysis/generic-test/", - "/analysis/pull-request/", - { - "title": "Branches", - "children": ["/branches/overview/", "/branches/branches-faq/"] - }, - "/analysis/supported-languages/" - ] - }, - { - "title": "User Guide", - "children": [ - "/user-guide/clean-as-you-code/", - "/user-guide/project-page/", - "/user-guide/issues/", - "/user-guide/security-hotspots/", - "/user-guide/rules/", - "/user-guide/security-rules/", - "/user-guide/built-in-rule-tags/", - "/user-guide/quality-gates/", - "/instance-administration/quality-profiles/", - "/user-guide/metric-definitions/", - "/user-guide/concepts/", - "/user-guide/activity-history/", - "/user-guide/visualizations/", - "/user-guide/security-reports/", - "/user-guide/user-account/", - "/user-guide/user-token/", - "/user-guide/keyboard-shortcuts/" - ] - }, - { - "title": "Project Admin Guide", - "children": [ - "/project-administration/webhooks/", - "/project-administration/narrowing-the-focus/" - ] - }, - { - "title": "Organization Admin Guide", - "children": [ - "/organizations/overview/", - "/organizations/manage-team/", - "/organizations/organization-visibility/" - ] - }, - { - "title": "Appendices", - "children": ["/sonarcloud-pricing/", "/privacy/", "/security/", "/faq/", "/autoscan/"] - } -] |