Improves documentation task

  * Accept list of source files
  * Support for `group` parameter
  * Autolink to definitions in repository
  * Tidies up templates