]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-15466 Fix typo link
authorMathieu Suen <mathieu.suen@sonarsource.com>
Tue, 16 Nov 2021 09:14:39 +0000 (10:14 +0100)
committersonartech <sonartech@sonarsource.com>
Tue, 16 Nov 2021 20:03:55 +0000 (20:03 +0000)
server/sonar-docs/src/EmbedDocsSuggestions.json
server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js
server/sonar-docs/static/SonarCloudNavigationTree.json [deleted file]

index 2eb7800dd64767f8d238a5f7e26811d78d22753b..ac1f9b43c9a2428c7b4855524104fef66dd36079 100644 (file)
@@ -42,7 +42,7 @@
     },
     {
       "link": "/documentation/user-guide/connected-mode/",
-      "text": "SonarLint connected mode"
+      "text": "SonarLint Connected Mode"
     }
   ],
   "permission_templates": [],
index 74c4598bd5785ab3cb805ad7088ff4658fbead8d..c29aa77ed3811798f314bd8330150f3d89f2a3c4 100644 (file)
@@ -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 (file)
index 959f91a..0000000
+++ /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/"]
-  }
-]