apidocs: fixed references
ug2html.py: generate ug dist and zip to dist direcotry