mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
1.4 KiB
1.4 KiB
Code documentation
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
*-installand*-autoloadscripts (pdf) - zinit-install.zsh – functions used only when installing a plugin or snippet (pdf)
- zinit-autoload.zsh – functions used only in interactive
Zinitinvocations (pdf)
PDFs, man pages, etc.
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).