Here is Asciidoc
code documentation generated using Zshelldoc. There
are 4
Zinit's source files, the main one is zinit.zsh. The documentation lists all functions,
interactions between them, their comments and features used.
Github allows to directly view Asciidoc
documents:
- zinit.zsh – always loaded, in
.zshrc
(pdf) - zinit-side.zsh – common functions, loaded by
*-install
and*-autoload
scripts (pdf) - zinit-install.zsh – functions used only when installing a plugin or snippet (pdf)
- zinit-autoload.zsh – functions used only in interactive
Zinit
invocations (pdf)
Formats other than Asciidoc
can be produced by using provided Makefile. For example, issuing make pdf
will create
and populate a new directory pdf
(requires asciidoctor
, install with gem install asciidoctor-pdf --pre
).
make man
will create man pages (requires package asciidoc
, uses its command a2x
, which is quite slow).