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

Update version warning banner to always point to the latest stable docs #374

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

CAM-Gerlach
Copy link
Member

@CAM-Gerlach CAM-Gerlach commented Jul 26, 2024

Pull Request

Pull Request Checklist

  • Read and followed this repo's Contributing Guidelines
  • Based your PR on the latest version of the correct branch (master or 4.x)
  • Checked your writing carefully for correct English spelling, grammar, etc
  • Described your changes and the motivation for them below

Description of Changes

Currently, the warning banner for old (and new) versions embeds a link title and URL that hardcode the version number of the latest stable docs. With Sphinx-Multiversion that was fine, since all branches were rebuilt in sync so even the old banners would always be up to date, but with the new theme introduced in #367 , this will no longer be the case and unmaintained branches will be static, and not migrated to the new theme. Therefore, we need to update the old banner to be "evergreen" and point to the /current/ version rather than a hardcoded version value.

I'll also fix any linkcheck issues that may come up.

Required for #367

@CAM-Gerlach CAM-Gerlach added type:Task 5.x Issues specific to the 5.x branch labels Jul 26, 2024
@CAM-Gerlach CAM-Gerlach self-assigned this Jul 26, 2024
@CAM-Gerlach CAM-Gerlach requested a review from ccordoba12 July 26, 2024 19:34
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

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

Thanks @CAM-Gerlach!

@ccordoba12 ccordoba12 merged commit e739e21 into spyder-ide:master Jul 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.x Issues specific to the 5.x branch type:Task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants