add documentation for pkgdoc