/dtd2rst

Generate a framework of reStructuredText pages for a DTD documentation.

Primary LanguagePythonMIT LicenseMIT

dtd2rst

Generate a framework of reStructuredText pages for a DTD documentation.

Screenshot

Features

  • Creates one page per XML tag, named after the tag. Each page has a framework for documentation:

    • A first-level heading, containing the tag name.

    • A box containing the basic information:

      • Purpose (to be filled in manually).
      • A list of attributes (chapter links).
      • A list of contained elements (page links).
    • A second-level chapter for each attribute.

    • Information about each attribute (to be completed manually).

  • Creates an index page with all tags.

Requirements

Download

Save the file dtd2rst.py.

Usage

    dtd2rst.py <DTD path>


License

Published under the MIT License