add api docs and new docs for bundle.result({fileName:...})