example

mdoc /m23/data+scripts /tmp/m23api.tex
will scan the /m23/data+scripts directory and store the documentation in /tmp/m23api.tex.