aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/web-api/components
diff options
context:
space:
mode:
authorPascal Mugnier <pascal.mugnier@sonarsource.com>2018-04-26 08:42:19 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-03 20:20:50 +0200
commitb083d4376580b8dd252933025ca86ce5b98ce7af (patch)
treea0d05a812d6c70c3d8573106b12a1ec74f6faefa /server/sonar-web/src/main/js/apps/web-api/components
parent0c996218c1a2c2542c3465a7bf1f38ee386132da (diff)
downloadsonarqube-b083d4376580b8dd252933025ca86ce5b98ce7af.tar.gz
sonarqube-b083d4376580b8dd252933025ca86ce5b98ce7af.zip
SONAR-10612 Create documentation space in the web app
Diffstat (limited to 'server/sonar-web/src/main/js/apps/web-api/components')
-rw-r--r--server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.tsx b/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.tsx
index cb2b5e5f4d2..0b79a15c483 100644
--- a/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.tsx
+++ b/server/sonar-web/src/main/js/apps/web-api/components/WebApiApp.tsx
@@ -29,6 +29,7 @@ import ScreenPositionHelper from '../../../components/common/ScreenPositionHelpe
import { getActionKey, isDomainPathActive } from '../utils';
import { scrollToElement } from '../../../helpers/scrolling';
import { translate } from '../../../helpers/l10n';
+import Suggestions from '../../../app/components/embed-docs-modal/Suggestions';
import '../styles/web-api.css';
interface Props {
@@ -148,6 +149,7 @@ export default class WebApiApp extends React.PureComponent<Props, State> {
return (
<div className="layout-page">
+ <Suggestions suggestions="api_documentation" />
<Helmet title={translate('api_documentation.page')} />
<ScreenPositionHelper className="layout-page-side-outer">
{({ top }) => (