Skip to content

fix(docs): link to docs pages through /latest/ so they resolve - #449

Open
nadeem4 wants to merge 1 commit into
mainfrom
fix/docs-latest-links
Open

nadeem4 wants to merge 1 commit into
mainfrom
fix/docs-latest-links

Conversation

@nadeem4

@nadeem4 nadeem4 commented Nov 4, 2026

Copy link
Copy Markdown
Owner

What

Seven links into the docs site (README, SECURITY.md, the engine and SDK READMEs) now go through /latest/, and a test keeps new ones from skipping the version.

Why

The docs site is versioned with mike: pages live under /nl2sql/<version>/, and only the front page redirects to latest. Links such as https://nadeem4.github.io/nl2sql/get-started/demo/ return 404, including on the PyPI project pages (fixed there at the next release).

How to test

pytest packages/nl2sql/tests/unit/test_docs_site_links.py -q fails on main and passes here. Every changed URL returns 200 on the live site.

Checklist

  • Tests written first; full suite passes (CI)
  • Docs updated (docs/contribute/docs-style.md, rule 7)
  • Tracker row updated

This branch has not been deployed

No deployments
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.

1 participant