[docs] [issue14865] #doctest: directives removed from doctest chapter examples

Sandro Tosi report at bugs.python.org
Sun May 20 20:45:19 CEST 2012

Sandro Tosi <sandro.tosi at gmail.com> added the comment:

Hi Terry,
the same problem recently came up on docs@ and digging into it, it turned out that sphinx is currently ignoring doctest directives[1], but that it was fixed in sphinx 1.1[2].

[1] https://bitbucket.org/birkenfeld/sphinx/issue/169/strip-doctest-csomments-in-rendered-output
[2] https://bitbucket.org/birkenfeld/sphinx/changeset/d91bf8e465ef

It's likely the bug is visible on the active branches because recently they were updated to use the same sphinx version.

We can probably plan to update the sphinx we use for the doc - what do you think about it?

nosy: +sandro.tosi

Python tracker <report at bugs.python.org>

More information about the docs mailing list