Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: When searching for documents 404 pages are coming #5

Open
khardikk opened this issue Dec 23, 2023 · 3 comments
Open

[BUG]: When searching for documents 404 pages are coming #5

khardikk opened this issue Dec 23, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@khardikk
Copy link

Description of the bug

When you go to the search bar week 0 content is coming whereas there is no content for week 0, this is causing to open the 404 page.
image
image

Steps To Reproduce

  1. Find the week 0 content ( tried that but it is not present on the codebase)
  2. Figure out why the search bar is fetching past content and displaying it
  3. Improve theme options interface shuding/nextra#676 can refer to this -> maybe the unstable_flexsearch: true, in the next.config.js might be causing this but no sure.

Additional Information

No response

@khardikk khardikk added the bug Something isn't working label Dec 23, 2023
@thatbeautifuldream
Copy link
Owner

thank you for reporting the bug, i am under time constraints and not being able to cover earlier docs so have hidden it from the meta.json for time being looking for contributors to contribute with week 1,2 materials.

@khardikk
Copy link
Author

thank you for reporting the bug, i am under time constraints and not being able to cover earlier docs so have hidden it from the meta.json for time being looking for contributors to contribute with week 1,2 materials.

Oh okay, I ran it locally and saw that changing flex-search was not the solution, thanks for informing :)

@khardikk
Copy link
Author

khardikk commented Dec 23, 2023

Still not sure why it is showing up in the search bar, if it hidden from the meta.json file ( showing in production and not on local server)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants