Package docutils :: Package transforms :: Module parts :: Class SectNum
[show private | hide private]
[frames | no frames]

Class SectNum

Transform --+
            |
           SectNum


Automatically assigns numbers to the titles of document sections.

It is possible to limit the maximum section level for which the numbers are added. For those sections that are auto-numbered, the "autonum" attribute is set, informing the contents table generator that a different form of the TOC should be used.


Method Summary
  apply(self)
Override to apply the transform to the document tree.
  update_section_numbers(self, node, prefix, depth)
    Inherited from Transform
  __init__(self, document, startnode)
Initial setup for in-place document transforms.

Class Variable Summary
int default_priority = 710                                                                   

Method Details

apply(self)

Override to apply the transform to the document tree.
Overrides:
docutils.transforms.Transform.apply (inherited documentation)

Class Variable Details

default_priority

Type:
int
Value:
710                                                                   

Generated by Epydoc 2.0 on Tue Jul 22 05:31:17 2003 http://epydoc.sf.net