package odig
Lookup documentation of installed OCaml packages
Install
Dune Dependency
erratique.ch
Readme
Changelog
ISC; LicenseRef-ParaType-Free-Font-License; LicenseRef-DejaVu-fonts License
Edit opam file
Versions (7)
Authors
Maintainers
Sources
odig-0.0.7.tbz
sha512=1398656a8719a37db3f47083a08ab7124ec51bd1df5fe0e4b65410088267f21eccb096ea7494237c411a68e17c44c27d3789f1c8835dcb533c921391425f4def
doc/odig.support/Odig_odoc_page/index.html
Module Odig_odoc_page
mld and HTML pages generated by odig itself.
Pages
val index_mld :
Odig_support.Conf.t ->
Odig_support.Pkg.t ->
Odig_support.Pkg_info.t ->
user_index:string option ->
with_tag_links:bool ->
string
index_mld conf pkg pkg_info ~user_index ~with_tag_links
is an index.mld
page for package pkg
with info pkg_info
.
- If
user_index
isSome content
, that user provided content is integrated in the result (a leading section"{0"
is stripped away though) and no module index is generated by the function. with_tag_links
, iftrue
assumes the package list generated bypkg_list
has a tag index and links the tags of the metadata section into it.
val pkgs_with_html_docs : Odig_support.Conf.t -> Odig_support.Pkg.t list
pkg_with_html_docs c
looks up in c
packages that seem to have generated documentation.
val pkg_list :
Odig_support.Conf.t ->
index_title:string option ->
raw_index_intro:string option ->
raw_index_toc:string option ->
tag_index:bool ->
ocaml_manual_uri:string option ->
Odig_support.Pkg.t list ->
string
pkg_list c ~index_title ~raw_index_intro ~tag_index ~ocaml_manual_uri pkgs
is an HTML page package list for the packages pkgs
.
index_title
is a title for the page with the list of packages; if unspecified one is automatically generated.raw_index_intro
is the HTML markup that is inserted before the list of packages; if unspecified one is automatically generated.raw_index_toc
is the HTML markup that is inserted in the toc list of packages page; if unspecified one is automatically generated.tag_index
iftrue
a package tag is added to the page after the list of packages by name.ocaml_manual_uri
is a local URI to the OCaml manual if unspecified the online manual is linked.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page