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
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 2
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 3
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 4
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • 5
    Write your chatbot logic once and
    connect it to one of the available
    messaging services, including Amazon
    Alexa, Facebook Messenger, Slack,
    Telegram or even yo...
    Download BotMan
  • 6
    gerbv  a Gerber (RS-274X) viewer
    gerbv a Gerber (RS-274X) viewer
    Gerbv is an open source Gerber file
    (RS-274X only) viewer. Gerbv lets you
    load several files on top of each other,
    do measurements on the displayed image,
    etc. ...
    Download gerbv a Gerber (RS-274X) viewer
  • 7
    I/O performance Analysis Tool.
    Audience: Developers, Information
    Technology, Science/Research, System
    Administrators. User interface: Win32
    (MS Windows). Progr...
    Download Iometer
  • More »

Linux commands