Skip to content

Conversation

@Charul192
Copy link

What has changed?

  • Fixed the broken 404 page on the documentation website.
  • Replaced the default 404 UI with an automatic redirect using window.location.replace("/docs").
  • This ensures that users visiting a non-existent route are cleanly redirected to the main documentation page without extra browser history entries.

This PR Resolves #2975

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Ran npm run build and npm run serve
  • Navigated to random invalid routes like /abc, /random-page, /something
  • Verified instant redirect to /docs
  • Confirmed there are no extra entries added in browser history
  • Checked behaviour in both light and dark mode

ScreenRecording:
https://github.com/user-attachments/assets/6079aaa5-6dd6-4247-97d7-5056692e484a

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • My PR contains only the required file changes.

…e 710

Signed-off-by: Charul <charul1902@gmail.com>
Signed-off-by: Charul <charul1902@gmail.com>
Signed-off-by: Charul192 <charul1902@gmail.com>
Copy link
Contributor

@Achanandhi-M Achanandhi-M left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Charul192 can you please fix the linter and prettier issues, the pipelines are failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants