Skip to content

Accessing variables from conf.py in .md files (e.g. release) #868

Answered by NickleDave
njr0 asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure if there's a way to use the RST substitions directly, but I think you can enable the MyST "substitions" extension to get similar behavior:
https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#substitutions-with-jinja2

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@njr0
Comment options

Answer selected by njr0
Comment options

You must be logged in to vote
1 reply
@njr0
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants