add a documentation-generating script