aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2019-08-02 15:00:49 +0200
committerSonarTech <sonartech@sonarsource.com>2019-08-07 20:21:22 +0200
commitc5e8b72a30d0b91c54e7f47bc74eb238311cf6ac (patch)
tree2e161fb24fbe81361c52c15d3b7e34614fc9e414
parent995807ad4d6473f819764bb55b59c641292596cf (diff)
downloadsonarqube-c5e8b72a30d0b91c54e7f47bc74eb238311cf6ac.tar.gz
sonarqube-c5e8b72a30d0b91c54e7f47bc74eb238311cf6ac.zip
SONAR-12342 Align VB.Net documentation key with plugin key
-rw-r--r--server/sonar-docs/src/pages/analysis/languages/overview.md2
-rw-r--r--server/sonar-docs/src/pages/analysis/languages/vbnet.md (renamed from server/sonar-docs/src/pages/analysis/languages/vb.md)2
-rw-r--r--server/sonar-docs/static/SonarCloudNavigationTree.json2
-rw-r--r--server/sonar-docs/static/SonarQubeNavigationTree.json2
-rw-r--r--server/sonar-docs/static/StaticNavigationTree.json2
-rw-r--r--server/sonar-web/src/main/js/app/utils/startReactApp.tsx4
6 files changed, 9 insertions, 5 deletions
diff --git a/server/sonar-docs/src/pages/analysis/languages/overview.md b/server/sonar-docs/src/pages/analysis/languages/overview.md
index 6b5efc2a3a3..ffc9f3b6991 100644
--- a/server/sonar-docs/src/pages/analysis/languages/overview.md
+++ b/server/sonar-docs/src/pages/analysis/languages/overview.md
@@ -30,7 +30,7 @@ SonarQube allows to analyze different languages depending on the Edition you are
| [Swift](/analysis/languages/swift/) | | ![](/images/check.svg) | ![](/images/check.svg) |
| [TypeScript](/analysis/languages/typescript/) | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg) |
| [TSQL](/analysis/languages/tsql/) | | ![](/images/check.svg) | ![](/images/check.svg) |
-| [Visual Basic](/analysis/languages/vb/) | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg) |
+| [VB.NET](/analysis/languages/vbnet/) | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg) |
| [VB6](/analysis/languages/vb6/) | | | ![](/images/check.svg) |
| [HTML](/analysis/languages/html/) | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg) |
| [XML](/analysis/languages/xml/) | ![](/images/check.svg) | ![](/images/check.svg) | ![](/images/check.svg) |
diff --git a/server/sonar-docs/src/pages/analysis/languages/vb.md b/server/sonar-docs/src/pages/analysis/languages/vbnet.md
index e6ef5fff465..126028d51e0 100644
--- a/server/sonar-docs/src/pages/analysis/languages/vb.md
+++ b/server/sonar-docs/src/pages/analysis/languages/vbnet.md
@@ -1,6 +1,6 @@
---
title: VB.NET
-url: /analysis/languages/vb/
+url: /analysis/languages/vbnet/
---
<!-- static -->
diff --git a/server/sonar-docs/static/SonarCloudNavigationTree.json b/server/sonar-docs/static/SonarCloudNavigationTree.json
index 1f50dc695b0..440d7f8c75f 100644
--- a/server/sonar-docs/static/SonarCloudNavigationTree.json
+++ b/server/sonar-docs/static/SonarCloudNavigationTree.json
@@ -31,7 +31,7 @@
"/analysis/languages/swift/",
"/analysis/languages/tsql/",
"/analysis/languages/typescript/",
- "/analysis/languages/vb/",
+ "/analysis/languages/vbnet/",
"/analysis/languages/xml/"
]
},
diff --git a/server/sonar-docs/static/SonarQubeNavigationTree.json b/server/sonar-docs/static/SonarQubeNavigationTree.json
index 548751e7a95..cfdc126052d 100644
--- a/server/sonar-docs/static/SonarQubeNavigationTree.json
+++ b/server/sonar-docs/static/SonarQubeNavigationTree.json
@@ -49,7 +49,7 @@
"/analysis/languages/swift/",
"/analysis/languages/typescript/",
"/analysis/languages/tsql/",
- "/analysis/languages/vb/",
+ "/analysis/languages/vbnet/",
"/analysis/languages/vb6/",
"/analysis/languages/xml/"
]
diff --git a/server/sonar-docs/static/StaticNavigationTree.json b/server/sonar-docs/static/StaticNavigationTree.json
index 1870da441c1..bad0ed85a88 100644
--- a/server/sonar-docs/static/StaticNavigationTree.json
+++ b/server/sonar-docs/static/StaticNavigationTree.json
@@ -65,7 +65,7 @@
"/analysis/languages/swift/",
"/analysis/languages/typescript/",
"/analysis/languages/tsql/",
- "/analysis/languages/vb/",
+ "/analysis/languages/vbnet/",
"/analysis/languages/vb6/",
"/analysis/languages/xml/"
]
diff --git a/server/sonar-web/src/main/js/app/utils/startReactApp.tsx b/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
index 8581a91d544..f60009a4bc9 100644
--- a/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
+++ b/server/sonar-web/src/main/js/app/utils/startReactApp.tsx
@@ -132,6 +132,10 @@ export default function startReactApp(
<Redirect from="/component/index" to="/component" />
<Redirect from="/component_issues" to="/project/issues" />
<Redirect from="/dashboard/index" to="/dashboard" />
+ <Redirect
+ from="/documentation/analysis/languages/vb"
+ to="/documentation/analysis/languages/vbnet/"
+ />
<Redirect from="/governance" to="/portfolio" />
<Redirect from="/groups" to="/admin/groups" />
<Redirect from="/extension/governance/portfolios" to="/portfolios" />