package odig
Lookup documentation of installed OCaml packages
Install
dune-project
Dependency
erratique.ch
Readme
Changelog
ISC; LicenseRef-ParaType-Free-Font-License; LicenseRef-DejaVu-fonts License
Edit opam file
Versions (2)
Authors
Maintainers
Sources
odig-0.1.0.tbz
sha512=acabe752f5010900e9fe024321d6e34cc07f395ebd18f015a00b88c4c6482645b591a83a3f088f110adaf83e062551feb800a1dbca7646cce305eb3f542cfa41
doc/odig_support/Odig_odoc_page/index.html
Module Odig_odoc_page
Source
mld and HTML pages generated by odig itself.
Pages
Source
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.
pkg_with_html_docs c
looks up in c
packages that seem to have generated documentation.
Source
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