Skip to content

Commit

Permalink
Merge pull request #12962 from RasaHQ/ATO-1705-update-banner
Browse files Browse the repository at this point in the history
add new banner for docs change
  • Loading branch information
m-vdb committed Nov 27, 2023
2 parents 0dd893a + 627001d commit 444c197
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,17 @@ module.exports = {
}
]
},
title: 'Rasa & Rasa Pro Documentation',
title: 'Rasa Documentation',
url: SITE_URL,
baseUrl: BASE_URL,
favicon: '/img/favicon.ico',
organizationName: 'RasaHQ',
projectName: 'rasa',
themeConfig: {
announcementBar: {
id: 'rasa_sdk_change', // Any value that will identify this message.
content: '<strong>Rasa SDK<strong> documentation has been moved to a <a href="https://rasa.com/docs/rasa/action-server/">section</a> of <strong>Rasa Open Source</strong>.',
id: 'rasa_oss_docs_change', // Any value that will identify this message.
content: 'This is the documentation for <strong>Rasa Open Source</strong>. If you\'re looking for <strong>Rasa Pro</strong> documentation, please visit <a href="https://rasa.com/docs/rasa-pro/">this page</a>.',

backgroundColor: '#6200F5', // Defaults to `#fff`.
textColor: '#fff', // Defaults to `#000`.
// isCloseable: false, // Defaults to `true`.
Expand All @@ -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',
Expand Down

0 comments on commit 444c197

Please sign in to comment.