Skip to content

Conversation

mnocon
Copy link
Contributor

@mnocon mnocon commented Oct 15, 2025

Current status:
Go to https://doc.ibexa.co/en/4.6/ai_actions/ai_actions/ and click any card -> you're redirected to the latest version!

The problem is that the version is resolved during build time, based on the canonical url - it's always latest.

After this PR:
The cards redirect to the current version of the doc if built on readthedocs. I've also tested it locally (by exporting the READTHEDOCS_VERSION_NAME variable)

I see that it doesn't work on preview right now, but previously it would just link to the latest version of the doc on doc.ibexa.co.

Copy link

Preview of modified files: no change to preview.

@mnocon mnocon marked this pull request as ready for review October 15, 2025 12:57
Copy link
Contributor

@adriendupuis adriendupuis left a comment

Choose a reason for hiding this comment

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

Conceptual approvement. Not tested but should work in prod which is where the fix is more needed.

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