Second Week

In second week, we achieved following functionality :

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

Comments

Popular posts from this blog

Fifth Week

Eighth Week

Ninth Week