qutip/qutip-doc

Add sphinx-doctest

nathanshammah opened this issue · 2 comments

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).

@nathanshammah, I am working on this now, will add a pr soon.

Done in #120