[opam-devel] opam-doc

Anil Madhavapeddy anil at recoil.org
Thu Jan 2 21:24:45 GMT 2014


I've just released opam-doc.0.9.3 into OPAM, which improves the look-and-feel
to this: http://mirage.github.io

Feedback/patches are welcome -- I've not seen much reaction to the mail below
yet from other OPAM users.  Issues are being queued up at:
https://github.com/ocamllabs/opam-doc/issues

-anil

On 19 Dec 2013, at 13:36, Thomas Gazagnaire <thomas at gazagnaire.org> wrote:

> Hi all,
> 
> I've tried to simplify the use of Leo's opam-doc and I came up with a pretty simple workflow.
> 
> 1. install opam-doc: 
> 
> git clone git at github.com:samoht/opam-doc.git
> cd opam-doc
> opam install cow && make && make install
> 
> This will create a `doc` switch with the right compiler wrappers, and it will install opam-doc-* scripts in your current switch.
> 
> 2. build the documentation
> 
> opam doc PKG1 ... PKGn
> 
> this will install the various packages in the `doc` switch, call the various scripts to install the cmd files at the right place and generate the HTML pages and so on. Finally, it will serve the contents of ~/.opam/doc/doc on http://127.0.0.1:8000 than you can then browse locally (using python -m SimpleHTTPServer).
> 
> This is still a very preliminary work (I'd love to replace the bunch of scripts by a proper OCaml program -- to easily change host port/name for instance) but I'd gladly welcome your feedback.
> 
> Best,
> Thomas
> 
> 
> 
> _______________________________________________
> opam-devel mailing list
> opam-devel at lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel
> 



More information about the opam-devel mailing list