Module Url.AnchorSource

Sourcetype kind = [
  1. | Path.kind
  2. | `Section
  3. | `Type
  4. | `Extension
  5. | `ExtensionDecl
  6. | `Exception
  7. | `Method
  8. | `Val
  9. | `Constructor
  10. | `Field
  11. | `SourceAnchor
]
Sourceval pp_kind : Format.formatter -> kind -> unit
Sourceval string_of_kind : kind -> string
Sourcetype t = {
  1. page : Path.t;
  2. anchor : string;
    (*

    Anchor in page where the element is attached

    *)
  3. kind : kind;
    (*

    What kind of element the path points to. e.g. "module", "module-type", "exception", ...

    *)
}
Sourceval extension_decl : Odoc_model.Lang.Extension.t -> t

Anchor for the extension declaration item itself, which doesn't have an identifier in the model.

Sourceval source_anchor : Path.t -> string -> t