dsheets / codoc

OCaml documentation generator
34 stars 5 forks source link

Can't produce the documentation of Uucp #58

Closed dbuenzli closed 9 years ago

dbuenzli commented 9 years ago

No documentation is produced, this error shows up:

XML error parsing _build/codoc/src/uucp/index.xml:56:1712 : Syntax error

Steps to reproduce:

cd /tmp
curl -O http://erratique.ch/software/uucp/releases/uucp-0.9.1.tbz
tar -xvzf  uucp-0.9.1.tbz
export OCAMLPARAM=_,doc=1,w=-50,bin-annot=1
./pkg/build.ml native=true native-dynlink=true
codoc doc _build -o _build/codoc 
dsheets commented 9 years ago

This is due to the trailing dot in that comment being interpreted as an OCaml parent identifier path separator. I've opened lpw25/doc-ock-lib#48 and lpw25/doc-ock-xml#8 to track the various issues.