Second Week
In second week, we achieved following functionality :
- Basic structure of ecldoc utility was generated in python.
- Python utility uses a configuration file as input that specifies :
- Input root of documentation - where we start processing the files
- Glob patterns wrt to input root for files to be processed.
- Output root - where output documentation will be stored.
- format of documentation required.
- Glob pattern were parsed using glob utility in python 3.
- LXML lib was used for processing XML in python 3.
- XML documentation was generated for each files matched by glob pattern.
- To gen XML documentation, first we run ecldoc using subprocess in python to obtain original xml output from ecldoc -M
- Then we use LXML to parse this XMLOriginal to generate new XML.
- New XML contains :
- Signature of each attribute by reading corresponding source code .
- Documentation parser was rewritten in python.
Comments
Post a Comment