JSDOC-TOOLKIT(1)
β¨ JSDOC-TOOLKIT(1) β the user manual, but make it cute β¨
okay bestie, gather round, because this is the jsdoc-toolkit user manual and we are about to make automatic documentation generation feel like a whole personality trait π
this page is JSDOC-TOOLKIT(1), and it's giving "your build script finally has lore."
πΈ NAME πΈ
jsdoc β the automatic generator for HTML documentation of Javascript sources. she documents. she generates. she's iconic. π
π¦ SYNOPSIS π¦
jsdoc {-d=<PATH> | --directory=<PATH>} [options] <SRC_DIR_OR_FILE> ...
jsdoc [{-h | --help}]
so like, you must tell her where to put the output with -d=<PATH> or --directory=<PATH> (no cap, it's required), then toss in your [options] and one or more <SRC_DIR_OR_FILE> things, and she goes to work. orrr you just ask for help. simple as. β¨
π DESCRIPTION π
This manual page documents briefly the jsdoc command. brief queen energy.
jsdoc is an application, written in JavaScript, for automatically generating template-formatted, multi-page HTML (or XML, JSON, or any other text-based) documentation from commented JavaScript source code. likeβ¦ she reads your comments and turns them into a whole documentation website?? main character behaviour fr fr π
β¨ OPTIONS β¨
The program follows the usual GNU command line syntax, with long options starting with two dashes (-). A summary of options is included below. For a complete description, see the info(1) files.
-a,--allfunctionβ Include all functions, even undocumented ones. yes even the ones you wrote at 3am and never explained π«Ά-c,--confβ Load a configuration file.-d=<PATH>,--directory=<PATH>β Output to this directory (required parameter). do NOT forget this one, bestie, she said required π-D="myVar:My value",--define="myVar:My value"β Multiple. Define a variable, available in JsDoc asJSDOC.opt.D.myVar.-e=<ENCODING>,--encoding=<ENCODING>β Use this encoding to read and write files.-E="REGEX",--exclude="REGEX"β Multiple. Exclude files based on the supplied regex. bye felicia π-h,--helpβ Show this message and exit.-m,--multiplesβ Don't warn about symbols being documented more than once. letting her live her life.-n,--nocodeβ Ignore all code, only document comments with@nametags.-o=<PATH>,--out=<PATH>β Print log messages to a file (defaults to stdout).-p,--privateβ Include symbols tagged as private, underscored and inner symbols. we're nosy today π-q,--quietβ Do not output any messages, not even warnings.-r=<DEPTH>,--recurse=<DEPTH>β Descend into src directories.-s,--suppressβ Suppress source code output.-S,--securemodulesβ Use Secure Modules mode to parse source code.-t=<PATH>,--template=<PATH>β Use this template to format the output. dress her up π-T,--testβ Run all unit tests and exit.-u,--uniqueβ Force file names to be unique, but not based on symbol names.-v,--verboseβ Provide verbose feedback about what is happening. she will tell you EVERYTHING.-x=<EXT>[,EXT]...,--ext=<EXT>[,EXT]...β Scan source files with the given extension/s (defaults tojs).
π BUGS π
The following bugs are known bugs:
- Does not support spaces in arguments β The wrapper
jsdocis not immune to spaces in filenames, either escaped or not.
so likeβ¦ if your filename has a space in it? she's gonna struggle. escaped or not. it's giving tragic but we move π
π AUTHOR π
Georges Khaznadar <georgesk@ofset.org>
- Wrote this manpage for the Debian system.
π COPYRIGHT π
Copyright Β© 2011 Georges Khaznadar
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
and that's the whole thing bestie!! π¦ this was jsdoc-toolkit from 01/05/2021, and honestly she ate. go generate some docs, you've got this πβ¨π
π¦ where this page comes from
- debian bookworm: jsdoc-toolkit 2.4.0+dfsg-7.1
- ubuntu jammy: jsdoc-toolkit 2.4.0+dfsg-7.1
- ubuntu noble: jsdoc-toolkit 2.4.0+dfsg-7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms