Enable sphinx doctest.
Disable doctests for reference/
Merge pull request #501 from segfaulthunter/doctest

Test guides using doctests