package odoc
All checked builds pass sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml Documentation Generator
Install
dune-project
Dependency
Authors
Maintainers
Sources
odoc-3.2.2.tbz
sha256=d7b9567ec9f2f99c4557999d78e268c97bcb5cab8770b5e74d694f5abd6dffae
sha512=444aedb4bbf132c45a198f73dbd282048a1e76cd4df739f530334f4c575575784e5db49392c798b997db9ae5d429a40a3618de7ffe71e5a60fbb29c67d5a7da2
doc/odoc.xref2/Odoc_xref2/Env/index.html
Module Odoc_xref2.EnvSource
Source
type resolver = {open_units : string list;lookup_unit : path_query -> (lookup_unit_result, lookup_error) result;lookup_page : path_query -> (Odoc_model.Lang.Page.t, lookup_error) result;lookup_asset : path_query -> (Odoc_model.Lang.Asset.t, lookup_error) result;lookup_impl : string -> Odoc_model.Lang.Implementation.t option;
}Source
type root = | Resolved of Odoc_model.Root.t * Odoc_model.Paths.Identifier.Module.t * Component.Module.t| Forward
Source
type lookup_type = | Module of Odoc_model.Paths.Identifier.Path.Module.t| ModuleType of Odoc_model.Paths.Identifier.ModuleType.t| RootModule of Odoc_model.Names.ModuleName.t * [ `Forward | `Resolved of Digest.t ] option| ModuleByName of string * Odoc_model.Paths.Identifier.Path.Module.t| FragmentRoot of int
Source
val add_module :
Odoc_model.Paths.Identifier.Path.Module.t ->
Component.Module.t Component.Delayed.t ->
Component.CComment.docs ->
t ->
tSource
val add_module_type :
Odoc_model.Paths.Identifier.Path.ModuleType.t ->
Component.ModuleType.t ->
t ->
tSource
val add_label :
Odoc_model.Paths.Identifier.Label.t ->
Component.Label.t ->
t ->
unboxed:bool ->
tSource
val add_class_type :
Odoc_model.Paths.Identifier.ClassType.t ->
Component.ClassType.t ->
t ->
tSource
val add_exception :
Odoc_model.Paths.Identifier.Exception.t ->
Component.Exception.t ->
t ->
tSource
val add_extension_constructor :
Odoc_model.Paths.Identifier.Extension.t ->
Component.Extension.Constructor.t ->
Component.Extension.t ->
t ->
tSource
val add_module_functor_args :
Component.Module.t ->
Odoc_model.Paths.Identifier.Path.Module.t ->
t ->
tSource
val add_module_type_functor_args :
Component.ModuleType.t ->
Odoc_model.Paths.Identifier.ModuleType.t ->
t ->
tSource
val lookup_page_by_path :
Odoc_model.Paths.Reference.Hierarchy.t ->
t ->
(Odoc_model.Lang.Page.t, lookup_error) resultSource
val lookup_asset_by_path :
Odoc_model.Paths.Reference.Hierarchy.t ->
t ->
(Odoc_model.Lang.Asset.t, lookup_error) resultSource
val lookup_unit_by_path :
Odoc_model.Paths.Reference.Hierarchy.t ->
t ->
(Component.Element.module_, lookup_error) resultTarget of a lookup
Lookup an element in Env depending on the given scope. Return Error (`Ambiguous _) when two or more elements match the given scope and name.
Source
val lookup_by_id :
'a scope ->
[< Odoc_model.Paths.Identifier.t_pv ] Odoc_model.Paths.Identifier.id ->
t ->
'a optionLike lookup_by_name but use an identifier as key.
Add a page content to the env.
Create a new env with a module initially opened.
Create a new env for a page.
Create a new env for an implementation.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>