Url.Anchor
type kind = [
| Path.kind
| `Section
| `Type
| `Extension
| `ExtensionDecl
| `Exception
| `Method
| `Val
| `Constructor
| `Field
| `SourceAnchor
]
val pp_kind : Stdlib.Format.formatter -> kind -> unit
val string_of_kind : kind -> string
val from_identifier :
Odoc_model.Paths.Identifier.t ->
(t, Error.t) Result.result
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.