~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/worksheet/rst.py

  • Committer: Matt Giuca
  • Date: 2009-03-24 03:14:44 UTC
  • mto: This revision was merged to the branch mainline in revision 1322.
  • Revision ID: matt.giuca@gmail.com-20090324031444-dbpn1bj6dr4zh4sx
Added auto-generated (and hand-modified) Sphinx files (conf, Makefile and
    index).
    Our IVLE documentation will be stored as Sphinx files.
    make html to generate the documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
1
#
3
2
# Natural Language Toolkit: Documentation generation script
4
3
#
1697
1696
            writer=CustomizedHTMLWriter(), reader=CustomizedReader())
1698
1697
        match = _OUTPUT_RE.search(output)
1699
1698
        if match:
1700
 
            return match.group(1)
 
1699
            return "<div>" + match.group(1) + "</div>"
1701
1700
        else:
1702
1701
            raise ValueError('Could not process exercise definition')
1703
1702