Leverage doctest / manuel hooks to support other languages, such as JavaScript
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/zc
.travis.yml
CHANGES.txt
MANIFEST.in
README.txt
buildout.cfg
setup.py
tox.ini

README.txt

=====================================================
zc.customdoctests -- Use doctest with other languages
=====================================================

doctest (and recently manuel) provide hooks for using custom doctest
parsers.  `zc.customdoctests` helps to leverage this to support other
languages, such as JavaScript::

    js> function double (x) {
    ...     return x*2;
    ... }
    js> double(2)
    4

And with `manuel <http://pypi.python.org/pypi/manuel>`_, it
facilitates doctests that mix multiple languages, such as Python,
JavaScript, and sh.

.. contents::