diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 04d57a468278..6adfcb2f119c 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -50,7 +50,7 @@ module.exports = { } ] }, - title: 'Rasa & Rasa Pro Documentation', + title: 'Rasa Documentation', url: SITE_URL, baseUrl: BASE_URL, favicon: '/img/favicon.ico', @@ -58,8 +58,9 @@ module.exports = { projectName: 'rasa', themeConfig: { announcementBar: { - id: 'rasa_sdk_change', // Any value that will identify this message. - content: 'Rasa SDK documentation has been moved to a section of Rasa Open Source.', + id: 'rasa_oss_docs_change', // Any value that will identify this message. + content: 'This is the documentation for Rasa Open Source. If you\'re looking for Rasa Pro documentation, please visit this page.', + backgroundColor: '#6200F5', // Defaults to `#fff`. textColor: '#fff', // Defaults to `#000`. // isCloseable: false, // Defaults to `true`. @@ -76,15 +77,22 @@ module.exports = { title: 'Rasa', items: [ { - label: 'Rasa', - to: path.join('/', BASE_URL), - position: 'left', + target: "_self", + label: "Rasa Pro", + position: "left", + href: `${SITE_URL}/docs/rasa-pro/`, }, + // TODO: ATO-1846 add link to Studio docs when they're live { - target: '_self', - label: 'Rasa X/Enterprise', - position: 'left', - href: `${SWAP_URL}/docs/rasa-enterprise/`, + label: "Rasa Open Source", + position: "left", + to: path.join("/", BASE_URL), + }, + { + target: "_self", + label: "Rasa X/Enterprise", + position: "left", + href: `${SITE_URL}/docs/rasa-enterprise/`, }, { href: 'https://github.com/rasahq/rasa',