Module Url.AnchorSource
Source
type kind = [ | Odoc_document.Url.Path.kind| `Section| `Type| `Extension| `ExtensionDecl| `Exception| `Method| `Val| `Constructor| `Field| `UnboxedField| `SourceAnchor
]Source
type t = {page : Odoc_document.Url.Path.t;anchor : string;kind : Odoc_document.Url.Anchor.kind;(*What kind of element the path points to. e.g. "module", "module-type", "exception", ...
*)
}Source
val polymorphic_variant :
type_ident:Odoc_model.Paths.Identifier.t ->
Odoc_model.Lang.TypeExpr.Polymorphic_variant.element ->
Odoc_document.Url.Anchor.tAnchor for the extension declaration item itself, which doesn't have an identifier in the model.