Add sphinx-doctest
nathanshammah opened this issue · 2 comments
nathanshammah commented
Using sphinx-doctest
allows to test the examples in rst. The doctest
directive for interactive code blocks allows to test examples. For static blocks this can be done with testcode
(matched by testoutput
and eventually with the ghost block testsetup
).
sarsid commented
@nathanshammah, I am working on this now, will add a pr soon.
jakelishman commented
Done in #120