Closed dgarcia360 closed 3 years ago
Related issue https://github.com/scylladb/sphinx-scylladb-theme/issues/86
The new built-in function multiversion_regex_builder(versions) enables maintainers to define versions in an array instead of defining complex regex expressions.
multiversion_regex_builder(versions)
Before:
smv_tag_whitelist = r'\b(3.22.0-scylla|3.21.0-scylla|3.22.3-scylla|3.24.0-scylla)\b'
Now:
TAGS = ['3.21.0-scylla', '3.22.0-scylla', '3.22.3-scylla', '3.24.0-scylla']
It also adds a new command make multiversionpreview that launches a webserver to quickly preview the multiversion build.
make multiversionpreview
TAGS
Related issue https://github.com/scylladb/sphinx-scylladb-theme/issues/86
The new built-in function
multiversion_regex_builder(versions)
enables maintainers to define versions in an array instead of defining complex regex expressions.Example
Before:
smv_tag_whitelist = r'\b(3.22.0-scylla|3.21.0-scylla|3.22.3-scylla|3.24.0-scylla)\b'
Now:
TAGS = ['3.21.0-scylla', '3.22.0-scylla', '3.22.3-scylla', '3.24.0-scylla']
It also adds a new command
make multiversionpreview
that launches a webserver to quickly preview the multiversion build.Testing this PR
make multiversionpreview
.TAGS
(conf.py).