Hello Sphinxers,
I was asembling a set of tutorials and recipies.
In order to make sure that every example I included in my code actually
works, I included them as doctests like
this is my example::
>>> 1+1
In order to nable readers to copy&paste the code directly in the
interactive shell (Ipython), I would like to have the possibility to
disable those ">>>" markers.
My idea:
Include a small JavaScript code which lets the users
* switch between normal and interactive code style
* switch line numbers on and off.
The MoinMoin wiki software [1] already includes such a functionality.
Maybe we could borrow from there?
What do you think?
Is there a good example on how to use doctests with Sphinx?
I didn't understand the codee from the documentation of Sphinx.
Kind regards,
Timmie
[1] example: http://www.scipy.org/Cookbook/DataFrame
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---