Remove the workaround for variable substitution in multiversion documentation#3083
Conversation
|
@rzetelskik: GitHub didn't allow me to request PR reviews from the following users: rzetelskik. Note that only scylladb members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/hold scylla-operator/docs/source/conf.py Lines 55 to 64 in a2fdeb1 (The makefile target should also be configured to fail on warnings, but that's unrelated) |
|
^ |
|
@rzetelskik It was tested on our repo. |
@dgarcia360 I also tried to test it locally with a single local branch with all variables present in |
|
@rzetelskik try updating to sphinx-multiversion-scylla version 0.3.4 (just published). This release fixes an issue where the extension could not ensure that MyST variables loaded before the multiversion read the conf variables. |
9ba8e40 to
22e6e00
Compare
22e6e00 to
996e8e5
Compare
|
Seems to be working fine now. Thanks @dgarcia360! |
|
/test build-docs-multiversion |
|
/hold cancel |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: czeslavo, rzetelskik The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description of your changes: sphinx-multiversion-scylla 0.3.4 fixes handling myst_substitutions for multiple branches. This means we can remove the in-tree hack and define substitutions per branch.
Which issue is resolved by this Pull Request:
Resolves #
/kind cleanup
/priority important-longterm
/cc