.TH newlispdoc 1 "May 2017" "version 3.4" "Commandline Parameters" .SH NAME .B newlispdoc \- generate documentation from newLISP source comments .SH SYNOPSIS .B newlispdoc [\-s] [\-d] lisp\-file1 [lisp\-file2 ...] .B newlispdoc [\-s] [\-d] [\-url] urls-file .SH DESCRIPTION newlispdoc is a commandline utility written in newLISP to generate HTML documentation from comments written in newLISP source files. Consult /usr/share/doc/newlisp/newLISPdoc.html for a detailed description on how to write comments usable for newlispdoc. The newlispdoc command should be executed from inside the directory where the newLISP source files can be found. The generated documentation files will have .html added to the name of the source file. An index.html page is generated, which is listing for each file links to all the documented functions. If the current directory contains the file newlispdoc.css, it will be used for formatting HTML output. For a sample see util/newlispdoc.css in the source distribution. .SH OPTIONS .TP \-s this option causes newlispdoc to also generate a syntax highlighted HTML file of the source. A link to this file will be present in the HTML documentation of this file. The generated file will have the added extension .src.html. .TP \-d also generate a link to the raw unformatted sourcefile. .TP lisp\-file is a commented newLISP source file from which a documentation file will be generated. .TP \-url this option is used to retrieve newLISP source files for documentation from remote locations. .TP urls-file is a file containing urls of newLISP source files, one url per line. .SH EXAMPLES .TP Generate all documentation form files in the current directory. .B newlispdoc afile.lsp bfile.lsp .PP .TP Generate documentation and syntax highlighted HTML versions from all lisp files in the current directory and also supply a download link. .B newlispdoc \-s -d *.lsp .TP Retrieve source files for documentation from remote locations. Each file is specified on one line in urls.txt with its http:// address. .B newlispdoc \-s \-url urls.txt .SH EXIT STATUS newlispdoc returns a zero exit status for normal exit or writes a usage message if not enough paramneters are supplied. .SH AUTHOR Lutz Mueller .SH SEE ALSO newlisp(1) \- newlisp man page http://www.newlisp.org/ \- the newLISP home page