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
Hi, thanks for the nice work! I found sphinx-jinja2 very useful when I needed to customise the generated documentation.
Since the generated documentation contains markdown syntax, I try to use myst-parser with sphinx-jinja2, but encountered the following error:
I’d be really grateful if you had any suggestions that could help me with this issue!
The text was updated successfully, but these errors were encountered:
Document workaround for sphinx-extensions2#3
0a2997b
The template output is fed back into the RST parser. When the source uses MyST parser (please confirm), this error will be triggered:
Directive 'jinja' cannot be mocked: MockingError: MockStateMachine has not yet implemented 'insert_input'.
The workaround is to wrap the jinja directive inside rst-eval
jinja
rst-eval
```{rst-eval} .. jinja:: :ctx: {"foo":"bar"} Baz. ```
rather than using it directly:
```{jinja} :ctx: {"foo":"bar"} Baz. ```
Sorry, something went wrong.
Document workaround fror sphinx-extensions2#3
a691485
No branches or pull requests
Hi, thanks for the nice work! I found sphinx-jinja2 very useful when I needed to customise the generated documentation.
Since the generated documentation contains markdown syntax, I try to use myst-parser with sphinx-jinja2, but encountered the following error:
I’d be really grateful if you had any suggestions that could help me with this issue!
The text was updated successfully, but these errors were encountered: