From 1d470363df875a49daf4efeaa55b9548b8bb2b94 Mon Sep 17 00:00:00 2001
From: Alex Yang <himself65@outlook.com>
Date: Wed, 13 Nov 2024 18:16:13 -0800
Subject: [PATCH] docs: add banner for legacy (#1478)

---
 apps/docs/docusaurus.config.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/apps/docs/docusaurus.config.js b/apps/docs/docusaurus.config.js
index c520156a7..675b7150e 100644
--- a/apps/docs/docusaurus.config.js
+++ b/apps/docs/docusaurus.config.js
@@ -62,6 +62,12 @@ const config = {
     ({
       // Replace with your project's social card
       image: "img/favicon.png", // TODO change this
+      announcementBar: {
+        id: "migrate_to_next",
+        content:
+          'We are migrating to Next.js based documentation. Check it out <a href="https://ts.llamaindex.ai">here</a>!',
+        isCloseable: false,
+      },
       navbar: {
         title: "LlamaIndex.TS",
         logo: {
-- 
GitLab