yongrenjie / sphinx-exec-directive

Sphinx extension to run Python code blocks and display the output.
https://yongrenjie.github.io/sphinx-exec-directive/
MIT License
3 stars 3 forks source link

More versatile context options #1

Open yongrenjie opened 3 years ago

yongrenjie commented 3 years ago

There should in theory be four possibilities (2*2):

Right now we only have :context: false (yes, no) and context:true (yes, yes). We should add two more possibilities (and possibly rename the options).