Refactoring with Docutils

Doctree for MoinMoin

MoinMoin could use its own doctree. We can use Docutils' doctree, plus these elements or attributes:

  • lang attribute
  • reference: pagelink, interwikilink, attachment(?)
  • underline
  • strike
  • small
  • big
  • macro (still not sure)
  • image: attachment(?)

The attachment stuff may go away sooner or later.

  • attachment_inline?
  • smiley?
  • nowikiword?
  • icon: who knows where to get the icon from to create the node image

To Do

  • To get ourselves started, we'd want to use the document tree, keeping the parsers and formatters unchanged (mostly).

    • Write DOM formatter.
    • Write DOM parser.
    [Text] -> Parser -> DOM-Formatter -> [DOM-Tree] -> DOM-Parser -> Formatter -> [Output]

MoinMoin: RefactoringWithDocutils (last edited 2007-10-29 19:08:31 by localhost)