feat: add fetch_multiversion_configuration#1303
Merged
dgarcia360 merged 3 commits intoscylladb:masterfrom Dec 6, 2024
Merged
Conversation
Collaborator
|
Run with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue: scylladb/scylladb-docs-homepage#30
Adds a helper to get multiversion data from a remote URL.
To test the changes, we'll build multiple versions using data from the following URL:
https://gist.github.com/dgarcia360/d18edbfac5e2fc1443ba0819840e2fd1
{ "tags": [], "branches": ["master", "branch-1.8"], "latest": "branch-1.8", "unstable": ["master"], "deprecated": [] }How to test
docs/conf.pyglobal variables section as follows:This change will read configuration versions from an external file.
conf.py, setsmv_remote_whitelisttoNone:This ensures the multiversion build considers only the local branches cloned in Step 1.
In the terminal, run the multiversion preview:
Verify docs build with multiversion enabled. The
branch-1.8version should be listed as available in the documentation.Next steps
Release a new version of the theme and configure open-source and enterprise repo to read from remote files for multiversion config.