To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
package doc-ock
-
docOck
-
ocamlary
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Processing OCaml's compilation units
type 'a result =
| Ok of 'a DocOckTypes.Unit.t
| Not_an_interface
| Wrong_version
| Corrupted
| Not_a_typedtree
| Not_an_implementation
Resolving
This is the part of DocOck handling the resolving of path and references.
val build_resolver :
?equal:('a -> 'a -> bool) ->
?hash:('a -> int) ->
(string -> 'a lookup_result) ->
('a -> 'a DocOckTypes.Unit.t) ->
(string -> 'a option) ->
('a -> 'a DocOckTypes.Page.t) ->
'a resolver
Build a resolver. Optionally provide equality and hash on 'a
.
val resolve : 'a resolver -> 'a DocOckTypes.Unit.t -> 'a DocOckTypes.Unit.t
val resolve_page :
'a resolver ->
'a DocOckTypes.Page.t ->
'a DocOckTypes.Page.t
Expansion
This is the part of DocOck in charge of performing substitutions, inlining of includes, etc.
val build_expander :
?equal:('a -> 'a -> bool) ->
?hash:('a -> int) ->
(string -> 'a lookup_result) ->
(root:'a -> 'a -> 'a DocOckTypes.Unit.t) ->
'a expander
Build an expander. Assumes that it is safe to use Hashtbl.hash
and structural equality (=) on 'a
.
val expand : 'a expander -> 'a DocOckTypes.Unit.t -> 'a DocOckTypes.Unit.t
Misc.
OCaml's predefined types and exceptions.
val core_types : 'a DocOckTypes.TypeDecl.t list
val core_exceptions : 'a DocOckTypes.Exception.t list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page