Module Url.Anchor

type kind = [
  1. | `Class
  2. | `ClassType
  3. | `Constructor
  4. | `Exception
  5. | `Extension
  6. | `ExtensionDecl
  7. | `Field
  8. | `File
  9. | `LeafPage
  10. | `Method
  11. | `Module
  12. | `ModuleType
  13. | `Page
  14. | `Parameter of int
  15. | `Section
  16. | `SourceAnchor
  17. | `SourcePage
  18. | `Type
  19. | `Val
]
val pp_kind : Format.formatter -> kind -> unit
val string_of_kind : kind -> string
type t = {
  1. page : Path.t;
  2. anchor : string;
  3. kind : kind;
}
val extension_decl : Odoc_model.Lang.Extension.t -> t
val source_anchor : Path.t -> string -> t