From d9cd8a9f85408c1e338e752f00d4bd06348a3488 Mon Sep 17 00:00:00 2001 From: Phil Rzewski Date: Tue, 19 Nov 2024 15:24:53 -0800 Subject: [PATCH] Stop showing Next and add an announcement bar about SuperDB docs --- docusaurus.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index d852112f..00b25cc4 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -42,6 +42,7 @@ const config = { /** @type {import('@docusaurus/preset-classic').Options} */ ({ docs: { + includeCurrentVersion: false, sidebarPath: require.resolve("./sidebars.js"), editUrl: ({docPath}) => `https://github.com/brimdata/zed/edit/main/docs/${docPath}`, @@ -57,6 +58,14 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ + announcementBar: { + id: 'superdb_announce', + content: + 'Zed is currently evolving into SuperDB. While still under construction, early SuperDB docs are available.', + backgroundColor: '#F9DA46', + textColor: '#000', + isCloseable: false, + }, image: "img/zed-social-image.jpg", metadata: [ { name: "twitter:card", content: "summary" },