idoc is a documentation generator for Inko, turning Inko's documentation JSON files into a static website.
To generate documentation, run idoc in the root directory of your project (=
the directory containing the src/ directory). The resulting website is found
at ./build/idoc/public. For more information, run idoc --help.
- Inko 0.20.0 or newer
Building from source:
make install PREFIX=~/.localThis installs idoc into ~/.local, with the executable being found at
~/.local/bin, and the assets located at ~/.local/share/idoc/assets. To
uninstall, run the following:
make uninstall PREFIX=~/.localFor testing changes locally, run the following
make build ASSETS=$PWD/assetsThis builds the executable such that it uses the assets/ directory directly
from the repository. In this case the executable is found at
./build/release/idoc.
You can also use the provided Docker image:
docker pull ghcr.io/inko-lang/idoc:latest
docker run --rm --volume $PWD:$PWD:z --workdir $PWD idoc:latestOr when using Podman:
podman pull ghcr.io/inko-lang/idoc:latest
podman run --rm --volume $PWD:$PWD:z --workdir $PWD idoc:latestAll source code in this repository is licensed under the Mozilla Public License version 2.0, unless stated otherwise. A copy of this license can be found in the file "LICENSE".