Open flying-sheep opened 6 months ago
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:
Describe the bug
context The
{eval}
role (user expressions) are not functional in a notebook rendered withnb_execution_mode == 'off'
.expectation I expected the renderer to simply fetch the existing execution results from the cell metadata.
bug I get
WARNING: This document does not have a running kernel
instead.problem This is a problem for people using user expressions/the eval role/directive, because it makes them needlessly useless with
nb_execution_mode == 'off'
.Reproduce the bug
create a notebook with a code cell
x = 1
and a Markdown cell containing{eval}`x`
.Execute the notebook. This results in this output being stored in the cell metadata:
Set
nb_execution_mode = 'off'
and build the documentation.You get the above warning and don’t see the output from the cell metad
List your environment