We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
First of all, thanks a lot for this super-useful package!
I'm currently building a multi-version documentation, mostly written in Markdown using myst-parser. Everything works fine, except that I can't seem to be able to use substitutions (https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#substitutions-with-jinja2) to access the current_version variable.
current_version
I've made sure that 'substitution' was in my myst_enable_extensions, and I've tried to use
'substitution'
myst_enable_extensions
{{ current_version.name }}
as well as
{{ env.config.current_version.name }}
but none of these are defined.
Is there a way to access this variable (defined in the HTML context)?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Got the same question regarding current version in rst files.
Sorry, something went wrong.
Is this what you are looking for: https://holzhaus.github.io/sphinx-multiversion/master/context.html
No branches or pull requests
First of all, thanks a lot for this super-useful package!
I'm currently building a multi-version documentation, mostly written in Markdown using myst-parser. Everything works fine, except that I can't seem to be able to use substitutions (https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#substitutions-with-jinja2) to access the
current_version
variable.I've made sure that
'substitution'
was in mymyst_enable_extensions
, and I've tried to useas well as
but none of these are defined.
Is there a way to access this variable (defined in the HTML context)?
Thanks a lot!
The text was updated successfully, but these errors were encountered: