Hi, Unfortunately, there are no such options. I think it is hard to distinguish code blocks in reST or docstring.
Thanks, Takeshi KOMIYA 2020年6月3日(水) 17:10 'Jens Jørgen Mortensen' via sphinx-users <[email protected]>: > > Hi! > > I'm using the sphinx.ext.doctest extension to test code examples in my > docs. I'm using the default behavior where code marked with ">>>" is > tested, which is nice because I don't have to put my code examples > inside a ".. doctest::" directive. But this will also test my doctests > pulled in (via autodoc) from my actual code. Is there a way to avoid > that? Those doctests are already tested outside Sphinx. > > Best, > Jens Jørgen > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/56d65bae-2987-fd60-fff5-a1bc60afb5a4%40dtu.dk. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAFmkQAOKoA1LCc96vHB4G5JNyEkFJFHWcuvA3PWSoY4nv_bc-A%40mail.gmail.com.
