: ((navigationTreeSonarQube as any).default as DocNavigationItem[]);
const { splat = '' } = this.props.params;
const page = this.pages.find(p => p.url === '/' + splat);
- const mainTitle = translate('documentation.page_title');
+ const mainTitle = translate(
+ 'documentation.page_title',
+ isSonarCloud() ? 'sonarcloud' : 'sonarqube'
+ );
if (!page) {
return (
<HelmetWrapper
defer={true}
encodeSpecialCharacters={true}
- title="Lorem | documentation.page_title"
+ title="Lorem | documentation.page_title.sonarcloud"
/>
<ScreenPositionHelper
className="layout-page-side-outer"
<HelmetWrapper
defer={true}
encodeSpecialCharacters={true}
- title="Lorem | documentation.page_title"
+ title="Lorem | documentation.page_title.sonarqube"
>
<meta
content="noindex nofollow"
<HelmetWrapper
defer={true}
encodeSpecialCharacters={true}
- title="documentation.page_title"
+ title="documentation.page_title.sonarcloud"
>
<meta
content="noindex nofollow"
#
#------------------------------------------------------------------------------
documentation.page=Documentation
-documentation.page_title=SonarCloud Docs
+documentation.page_title.sonarcloud=SonarCloud Docs
+documentation.page_title.sonarqube=SonarQube Docs
documentation.on_this_page=On this page
documentation.skip_to_nav=Skip to documentation navigation