Antora documentation builder with integrated PlantUML used by Sebbia team
462
This is a basic features of this builder:
Build process is based on Gulp JS.
First you have to install docker and docker-compose.
Run this in terminal:
curl https://raw.githubusercontent.com/Sebbia/antora-builder/master/install.sh | bash
Clone and run sample documentation:
git clone https://github.com/Sebbia/antora-builder.git
sebbia-antora-builder watch -s antora-builder/example-docs -p antora-playbook.yml -o ~/doc-build
Open the documentation in a browser: http://localhost:3000.
These are dependencies which have to be installed on the host system:
Build with live reload and serving:
./sebbia-antora-builder.sh watch -s where/documentation/root/is -p where/playbook/is/relative/to/src.yml
After start the documentation can be viewed in a web browser at this URL: http://localhost:3000
Finally build can be performed by this command:
./sebbia-antora-builder.sh build -p where/playbook/is.yml -o where/to/place/html
WARNING: This way is harder for ordinary user.
These are dependencies which have to be installed on the host system:
$ cd ${project}
$ npm install
$ npx gulp build --playbook where/playbook/is.yml --output where/to/place/html
$ cd ${project}
$ npx gulp build --playbook where/playbook/is.yml --output where/to/place/html
$ cd ${project}
$ npx gulp watch --src where/documentation/root/is --playbook where/playbook/is.yml --output /where/to/place/html
The documentation is then accessible at http://localhost:3000.
The search ability was implemented with this project https://github.com/Mogztter/antora-lunr.
In short, to enable search field you need to proceed to this section:
https://github.com/Mogztter/antora-lunr#enable-the-search-component-in-the-ui
Images automatically built from this sources is located here:
Content type
Image
Digest
Size
138.6 MB
Last updated
over 6 years ago
docker pull sebbia/antora-builder