odoc.document
Url.Anchor
odoc
odoc.examples
odoc.html
odoc.html_support_files
odoc.index
odoc.json_index
odoc.latex
odoc.loader
odoc.manpage
odoc.model
odoc.model_desc
odoc.ocamlary
odoc.occurrences
odoc.odoc
odoc.odoc_utils
odoc.search
odoc.search_html_frontend
odoc.syntax_highlighter
odoc.xref2
odoc.xref_test
type kind = [
| Path.kind
| `Section
| `Type
| `Extension
| `ExtensionDecl
| `Exception
| `Method
| `Val
| `Constructor
| `Field
| `SourceAnchor
]
val pp_kind : Format.formatter -> kind -> unit
val string_of_kind : kind -> string
type t = {
page : Path.t;
anchor : string;
Anchor in page where the element is attached
page
kind : kind;
What kind of element the path points to. e.g. "module", "module-type", "exception", ...
}
val from_identifier : Odoc_model.Paths.Identifier.t -> t
val polymorphic_variant : type_ident:Odoc_model.Paths.Identifier.t -> Odoc_model.Lang.TypeExpr.Polymorphic_variant.element -> t
val extension_decl : Odoc_model.Lang.Extension.t -> t
Anchor for the extension declaration item itself, which doesn't have an identifier in the model.
val source_anchor : Path.t -> string -> t