feat: add fetch_multiversion_configuration #1303
Merged
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
How to test
docs/conf.py
global variables section as follows:This change will read configuration versions from an external file.
conf.py
, setsmv_remote_whitelist
toNone
: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.8
version 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.