package odig

  1. Overview
  2. Docs

Lookup package documentation directory.

Package documentation directory

type t

The type for documentation directory information.

val dir : t -> B0_std.Fpath.t option

dir is the path to the documentation directory (if any).

val changes_files : t -> B0_std.Fpath.t list

changes_files i are the package's change log files.

val license_files : t -> B0_std.Fpath.t list

license_files i are the package's licenses files.

val odoc_pages : t -> B0_std.Fpath.t list

odoc_pages i are the package's odoc pages

val odoc_assets_dir : t -> B0_std.Fpath.t option

odoc_assets i is the package's odoc assets directory (if any).

val odoc_assets : t -> B0_std.Fpath.t list

odoc_assets i is the package's odoc assets directory contents.

val readme_files : t -> B0_std.Fpath.t list

readme_files i are the package's readme files.

Queries

val of_pkg : doc_dir:B0_std.Fpath.t -> Pkg.t -> t

query ~doc_dir pkg queries the documentation directory doc_dir for documentation about pkg.

OCaml

Innovation. Community. Security.