add pydoc of generate_url()

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>