Odig_support.Pkg_info
Gather package information
Gathers Doc_cobj
, Opam
and Docdir
information about a package.
val doc_cobjs : t -> Doc_cobj.t list
doc_cobjs i
are the documentation compilation objects of i
.
Access information as list of strings.
type field = [
| `Authors
| `Changes_files
| `Depends
| `Doc_cobjs
| `Homepage
| `Issues
| `License
| `License_files
| `Maintainers
| `Odoc_assets
| `Odoc_pages
| `Online_doc
| `Readme_files
| `Repo
| `Synopsis
| `Tags
| `Version
]
The type for fields.
val field_names : (string * field) list
field_names
associated a string name to each field.
val pp : t B0_std.Fmt.t
pp
formats all package information fields in alphabetic order.
query ~doc_dir pkgs
combines the result of Doc_cobj.of_pkg
, Queries and Doc_dir.of_pkg
.