automated documentation of examples using build_doc.py