thatbeautifuldream / developer-documentation

Documentation for Developers
https://developer-documentaion.vercel.app
MIT License
61 stars 15 forks source link

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

Open khardikk opened 8 months ago

khardikk commented 8 months ago

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. https://github.com/shuding/nextra/issues/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

thatbeautifuldream commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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)