Fifth Week
In fifth week, we achieved following goals :
- Text Documentation was generated.
- XML Doc was read to get appropriate information for Text Documentation.
- Jinja2 library was used to generate Template.
- For Text Documentation, we limited all information display to 150 chars per line.
- The Definition was indented on basis of their level in the tree.
- We use textwrap library to heuristically break long sentences along word boundaries.
- Each folder was also given a pkg.toc.txt file, which contained bundle information and links to all files in that folder.
- Heuristic signature breaking was designed. The signature for definition was read and broken into return type, name and parameter string.
- The breaking occured along heuristic : break at first incidence of name in the sign that it not enclosed by brackets and ends in whitespace or '('. Then break at end of the name.
Comments
Post a Comment