doc: turn into a package