newlispdoc(1)
π newlispdoc β bestie's guide to auto-magically making docs π
okay so this is the newlispdoc manual page, and it's literally the tool that turns your chaotic little newLISP comments into a whole glowing HTML doc site. no cap.
β¨ SYNOPSIS β¨
newlispdoc [-s] [-d] lisp-file1 [lisp-file2 ...]
newlispdoc [-s] [-d] [-url] urls-file
πΈ DESCRIPTION πΈ
newlispdoc is a commandline utility, and the plot twist? it's written in newLISP itself. she generates HTML documentation from the comments you wrote inside your newLISP source files. iykyk.
if you wanna know the detailed tea on how to actually write comments that newlispdoc can eat up, go read /usr/share/doc/newlisp/newLISPdoc.html. seriously, go read it. π
you have to run the newlispdoc command from inside the directory where the newLISP source files live. that's the vibe check. no wandering off.
the generated documentation files get .html tacked onto the end of the source file's name. plus an index.html page gets generated too, and it's listing, for each file, links to all the documented functions. so cute. so organized. π
and listen β if your current directory has a file called newlispdoc.css sitting in it, that file gets used for formatting the HTML output. custom aesthetic unlocked. β¨ for a sample, peek at util/newlispdoc.css in the source distribution.
π OPTIONS π
-sβ makesnewlispdocalso spit out a syntax-highlighted HTML file of the source. a link to this file will show up in the HTML documentation of this file. the generated file gets the extra extension.src.html. glow-up fr.-dβ also generates a link to the raw, unformatted sourcefile. no makeup, no filter, just vibes.lisp-fileβ is a commented newLISP source file, and a documentation file will be generated from it.-urlβ this one's for when you wanna retrieve newLISP source files for documentation from remote locations. long-distance relationship with your source code π«Άurls-fileβ is a file containing urls of newLISP source files, one url per line. one per line bestie, don't get messy.
π EXAMPLES π
generate all documentation from files in the current directory:
newlispdoc afile.lsp bfile.lsp
generate documentation and syntax highlighted HTML versions from all lisp files in the current directory, and also supply a download link:
newlispdoc -s -d *.lsp
retrieve source files for documentation from remote locations. each file is specified on one line in urls.txt with its http:// address:
newlispdoc -s -url urls.txt
β EXIT STATUS β
newlispdoc returns a zero exit status for a normal exit β or, if you didn't supply enough parameters, she just writes a usage message at you. not mad, just disappointed. π
π AUTHOR π
Lutz Mueller <lutz@nuevatec.com>
π¦ SEE ALSO π¦
newlisp(1)β newlisp man pagehttp://www.newlisp.org/β the newLISP home page
and that's the whole page, bestie!! this was version 3.4, from May 2017, and it's the newlispdoc(1) manual β go forth and document your code, you absolute icon πβ¨π
π¦ where this page comes from
- debian bookworm: newlisp 10.7.5-2+b2 Β· GPL-3.0-or-later
- debian trixie: newlisp 10.7.5-2+b3 Β· GPL-3.0-or-later
- ubuntu jammy: newlisp 10.7.5-2build1 Β· GPL-3.0-or-later
- ubuntu noble: newlisp 10.7.5-2build3 Β· GPL-3.0-or-later
- ubuntu questing: newlisp 10.7.5-3
- ubuntu resolute: newlisp 10.7.5-3build1 Β· GPL-3.0-or-later
- ubuntu stonking: newlisp 10.7.5-3build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms