This project defines an OCI standard container for generating OmegaT documents.
To generate container images, you need to prepare container runtime, and OCI standard CLI.
You have several options;
Invoke from the OmegaT doc_src
dir as so:
docker run -i --rm -v $(dirname $PWD):/work/root omegatorg/docgen -Dlanguage=en html
The arguments after omegatorg/docgen
are those supplied to ant
according
to the developer manual's section Manual build using container
and building the documentation manually.
You may want to create a wrapper script like the following, named
e.g. docgen
:
#!/bin/sh
exec docker run -i --rm -v $(dirname $PWD):/work/root omegatorg/docgen "$@"
...which you can invoke like so:
docgen -Dlanguage=en html