Test guides using doctests

You have to use -t doctest -b doctest as an argument to the Sphinx build to use it.