try restore local search capabiliity

This commit is contained in:
Zheyuan Wu
2025-10-20 14:14:39 -05:00
parent fbda70e849
commit 2d5527303d
4 changed files with 3 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ export default async function RootLayout({ children }) {
sidebar={{ defaultMenuCollapseLevel: 1 }}
pageMap={pageMap}
// TODO: fix algolia search
search={<AlgoliaSearch />}
// search={<AlgoliaSearch />}
>
{children}
{/* SpeedInsights in vercel */}

View File

@@ -160,4 +160,3 @@ Therefore, $f(X)$ is connected.
</details>

View File

@@ -25,4 +25,5 @@ export default {
Math4201_L19: "Topology I (Lecture 19)",
Math4201_L20: "Topology I (Lecture 20)",
Math4201_L21: "Topology I (Lecture 21)",
Math4201_L22: "Topology I (Lecture 22)",
}

View File

@@ -1,8 +1,7 @@
# Welcome to NoteNextra
> [!WARNING]
>
> This site use [Algolia Search](https://www.algolia.com/) to search the content. However, due to some unknown reasons, when the index page is loaded, the search bar is calling default PageFind package from Nextra. **If you find the search bar is not working**, please try to redirect to another page and then back to the index page or search in another page.
><!-- > This site use [Algolia Search](https://www.algolia.com/) to search the content. However, due to some unknown reasons, when the index page is loaded, the search bar is calling default PageFind package from Nextra. **If you find the search bar is not working**, please try to redirect to another page and then back to the index page or search in another page. -->
>
> This site updates in a daily basis. But the sidebar is not. **If you find some notes are not shown on sidebar but the class already ends more than 24 hours**, please try to access the page directly via the URL. (for example, change the URL to `.../Math4201/Math4201_L{number}` to access the note of the lecture `Math4201_L{number}`)