Skip to content

DOC: use docs version for stable source links#64346

Open
qicaiy wants to merge 1 commit intopandas-dev:mainfrom
qicaiy:fix-doc-source-links-64223
Open

DOC: use docs version for stable source links#64346
qicaiy wants to merge 1 commit intopandas-dev:mainfrom
qicaiy:fix-doc-source-links-64223

Conversation

@qicaiy
Copy link

@qicaiy qicaiy commented Feb 28, 2026

Summary

  • use version instead of pandas.__version__ when building the non-dev GitHub source link in linkcode_resolve
  • this ensures stable docs point to an existing tag (for example v3.0.1) instead of a local version string like v3.0.1+1.g...

Closes #64223

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed (docs config only)
  • All code checks passed (not run locally)
  • Added type annotations to new arguments/methods/functions (N/A)
  • Added an entry in doc/source/whatsnew/vX.X.X.rst (N/A)
  • I have reviewed and followed all the contribution guidelines
  • If I used AI to develop this pull request, I prompted it to follow AGENTS.md.

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.

DOC: source links not working: 404 on GitHub

1 participant