OnWorks favicon

dh_ocamldoc - Online in the Cloud

Run dh_ocamldoc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dh_ocamldoc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dh_ocamldoc - Generates documentation for OCaml libraries


dh_ocamldoc [debhelper options]


dh_ocamldoc looks for all files matching "debian/$package.ocamldoc*" where it can find the
flags that will be given to ocamldoc, which will be called with all the .mli files (or .ml
if there is no matching .mli) found in debian/package/usr/lib/ocaml. Each ".ocamldoc*"
file is used to generate a different documentation where the part coming after "ocamldoc"
in the filename is used as document ID in the doc-base file.

You can have several flags per line. Lines beginning with "--include" have a special
meaning: whatever follows "--include" will be considered as a list of directories where
.mli or .ml files will be searched for the documentation generation. The directories will
also be added to ocamldoc library search path. This can be useful for generating the
documentation in its own binary package. Note that, to that end, you should ensure that
the package shipping the documentation is treated by dh_ocamldoc after the package
shipping the actual objects.

The "-d" flag is detected and used to generate the appropriate doc-base file. It contains
the path of the documentation directory and is relative to "/usr/share/doc/$package/". The
default value is "html/api".

dh_ocamldoc detects automatically if "ocamlfind ocamldoc" should be called instead of
plain "ocamldoc" (it does so by looking for common ocamlfind options such as: -package,
-predicates, etc.).

Lines starting with "#" in *ocamldoc files are comments and hence ignored.

If you want to install the documentation present in upstream's tarball (if any), you may
add "--doc-base-generate" in your .ocamldoc file in order to tell dh_ocamldoc generate the
.doc-base file only.


-X files
Exclude files from documentation processing.

-u flags
Additional flags to "ocamldoc" or "ocamlfind ocamldoc".

Use dh_ocamldoc online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 3
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 4
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 5
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 6
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • More »

Linux commands