Changes between Version 9 and Version 10 of Ticket #11459


Ignore:
Timestamp:
06/18/11 04:34:25 (11 years ago)
Author:
slabbe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11459 – Description

    v9 v10  
    66 * Upload a .html file output from docutils rst2html on a ReST.
    77 * Upload a `worksheet.html` file as those stored in the repository `~/.sage/sage_notebook.sagenb/home/admin` without having to change the extension to `.txt`.
     8 * Add the class `docutilsHTMLProcessor` to the file `sagenb/notebook/docHTMLProcessor.py` which translates HTML file generated by docutils ``rst2html`` command into a worksheet text file. This class was inspired from the class `SphinxHTMLProcessor` already in the same Python file.
     9 * Add the class `genericHTMLProcessor` to the same file which gathers all the common methods of the other two classes.
     10 * Improve a lot the documentation of the file `sagenb/notebook/docHTMLProcessor.py` : it is now 100% doctest coveraged.
    811
    912My motivation is that in general I wrote my own code using the Sage Code Convention where examples are formatted in ReST. The possibility of converting rst syntax to a worksheet would be nice. Also, ReST file is more fun to edit than the html/cells worksheet text file. It is also more versatile as it can be used to generate a web page or S5 presentation, etc. using docutils.