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

Links in documentation causing 404s #5938

Open
2 tasks done
bquackie opened this issue Feb 28, 2025 · 2 comments
Open
2 tasks done

Links in documentation causing 404s #5938

bquackie opened this issue Feb 28, 2025 · 2 comments

Comments

@bquackie
Copy link

bquackie commented Feb 28, 2025

TanStack Table version

latest

Framework/Library version

Chrome, Safari

Describe the bug and the steps to reproduce it

I don't know if this is the correct way to communicate documentation issues, but here goes:

  1. Go to: https://tanstack.com/table/latest/docs/guide/column-filtering
  2. Click/Tap on Column Filtering API

Expected: see API documentation
Actual: 404 page asking to go back or restart

My guess is that there was a directory or routing change. In re: to the links above, you get routed to https://tanstack.com/table/latest/api/features/column-filtering but you should be routed to https://tanstack.com/table/latest/docs/api/features/column-filtering.

To get to the correct page, I have to manually add docs between latest and api to the URL. Or, Is this just my computers?

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://tanstack.com/table/latest/docs/guide/column-filtering

Screenshots or Videos (Optional)

Actual:
Image

Expected:
Image

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
@azeek21
Copy link

azeek21 commented Mar 4, 2025

+1.

Seems like a mass incident with relative links inside /docs directory. Have seen a few PRs (#5945, #5933, #5932, #5918 and so on). I did look around a little bit but couldn't put my finger on exatly what and where went wrong.

Here's some things one can take a look at:

Could be related: 024ecda
Where routing happens for docs: https://github.com/TanStack/tanstack.com/tree/main/app/routes/%24libraryId
Where links in md files get turned into hrefs (mardown render): https://github.com/TanStack/tanstack.com/blob/main/app/components/Doc.tsx

@ravshan77
Copy link

Checking the Documentation Routing Configuration

TanStack documentation might be built using Docusaurus or Next.js. The issue could be caused by an incorrect router configuration.

Open apps/docs/next.config.mjs or docusaurus.config.js and check the following code:

If the redirect configuration is missing or incorrect in next.config.mjs or docusaurus.config.js, it needs to be fixed.

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

No branches or pull requests

3 participants