Skip to content

docs: fix md redirections for multiversion support #531

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

Open
wants to merge 1 commit into
base: scylla-4.x
Choose a base branch
from

Conversation

dgarcia360
Copy link

Related issue & explanation scylladb/scylladb#23957

This should allow navigation between versions without being redirected to the main index page:

image

Note: This fix will only apply to future versions unless backported. While backporting may not be worth the effort, it's important to be aware that the issue will remain in older versions

@Bouncheck Bouncheck self-requested a review May 6, 2025 23:40
Copy link
Collaborator

@Bouncheck Bouncheck left a comment

Choose a reason for hiding this comment

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

I have tried multiversionpreview limited to 2 last branches and I cannot get it to work. I still get redirected to main page for a version.
Here's what i did, similarly to as instructed in other PR:

  • Made local scylla-4.15.0.x and scylla-4.14.1.x branches and also pushed them to my own remote with applied identical change to source_suffix as in PR.
  • Returned to local branch with this PR checked out.
  • Edited BRANCHES to contain only those two versions, edited smv_remote_whitelist (on separate runs i tried the values None, "", r'^myrepo$')
  • Ran make multiversionpreview in docs subdirectory.

No matter the configuration I'm getting redirected from (for example) http://127.0.0.1:5500/scylla-4.14.1.x/manual/api_conventions/index.html
to http://127.0.0.1:5500/stable/index.html when changing version from dropdown menu (4.15.0.x is "stable" in this case)

@Bouncheck
Copy link
Collaborator

Bouncheck commented May 6, 2025

Regarding the version list: I see that it's severely outdated. I'll try to sort it out separately. Should be as simple as pushing new .x branches and updating the list.

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