#48 Errors / warnings and html

v3.1
closed
5
2007-02-14
2007-01-19
Nickle
No

It would be good if the html output also included page with all the errors and warnings that occurred durring generation.

Nick

Discussion

  • Add a logger memorizing all the issues.

     
    Attachments
    • labels: --> HTML Generation
    • milestone: --> v3.1
    • assigned_to: nobody --> dvarrazzo
     
  • Logged In: YES
    user_id=1053920
    Originator: NO

    I started experimenting with it and in a few minutes i added a logger which can record the relevant information to create such a page.

    What is missing to be complete is:
    - these informations are to be used by the html writer to create a page
    - currently the file name and line number are free-form inside the string passed to start_block. start_block should grow a pair of optional parameters to record them in a structured way in
    - all the relevant calls to start_block() should use such parameters instead of mangling them together in a string.

    I attached a patch with my test. I'm not planning to add such a feature in v3.0, but i like the idea and i will develop this feature in the next release.

    Feel free to contribute, of course ;)

    Thank for the nice idea. Regards,

    Daniele
    File Added: memo_log.patch

     
  • Edward Loper
    Edward Loper
    2007-02-14

    • status: open --> closed
     
  • Edward Loper
    Edward Loper
    2007-02-14

    Logged In: YES
    user_id=195958
    Originator: NO

    Added in r1488. Use the "--include-log" option; the page is named "epydoc-log.html" and is linked from the footer of generated pages.