Skip to content

Commit 7bb446a

Browse files
authored
Stop showing Next and add an announcement bar about SuperDB docs (#87)
1 parent b419e44 commit 7bb446a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docusaurus.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const config = {
4242
/** @type {import('@docusaurus/preset-classic').Options} */
4343
({
4444
docs: {
45+
includeCurrentVersion: false,
4546
sidebarPath: require.resolve("./sidebars.js"),
4647
editUrl: ({docPath}) =>
4748
`https://github.com/brimdata/zed/edit/main/docs/${docPath}`,
@@ -57,6 +58,14 @@ const config = {
5758
themeConfig:
5859
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
5960
({
61+
announcementBar: {
62+
id: 'superdb_announce',
63+
content:
64+
'Zed is currently evolving into <a href="https://superdb.org/">SuperDB</a>. While still under construction, early <a href="https://superdb.org/docs/">SuperDB docs</a> are available.',
65+
backgroundColor: '#F9DA46',
66+
textColor: '#000',
67+
isCloseable: false,
68+
},
6069
image: "img/zed-social-image.jpg",
6170
metadata: [
6271
{ name: "twitter:card", content: "summary" },

0 commit comments

Comments
 (0)