aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/config
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-05-25 09:37:15 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-25 20:20:48 +0200
commite8b90e724c5f8d4eac7607f8e40db222eb7555e9 (patch)
tree743dd3128222c4ac0c9bad1cdfabdbed334f0ab2 /server/sonar-web/config
parent7031c2ae9d1a5caefd9c27cc302624e01403687b (diff)
downloadsonarqube-e8b90e724c5f8d4eac7607f8e40db222eb7555e9.tar.gz
sonarqube-e8b90e724c5f8d4eac7607f8e40db222eb7555e9.zip
SONAR-10676 Add documentation for team onboarding on SonarCloud "Members" page (#251)
Diffstat (limited to 'server/sonar-web/config')
-rw-r--r--server/sonar-web/config/documentation-loader/fetch-matter.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/config/documentation-loader/fetch-matter.js b/server/sonar-web/config/documentation-loader/fetch-matter.js
index 657a07f08e9..424d491d948 100644
--- a/server/sonar-web/config/documentation-loader/fetch-matter.js
+++ b/server/sonar-web/config/documentation-loader/fetch-matter.js
@@ -37,7 +37,8 @@ module.exports = (root, files) => {
name: path.basename(file).slice(0, -3),
relativeName: file.slice(0, -3),
title: headerData.title || file,
- order: headerData.order || -1
+ order: headerData.order || -1,
+ scope: headerData.scope && headerData.scope.toLowerCase()
};
})
.sort(compare);