Introduction
With Antora you will probably have content in multiple Git repositories and a central playbook that transforms it into a website. Setting up an Antora build in every single repository can be tedious, though.
The Local Antora Plugin makes it easier to generate a site from the components in a single Git repository.
The Local Kroki Plugin let’s you run a local instance of Kroki.
Source Code
The code is hosted on GitLab.
Gradle Plugin Portal
The plugins are published at the Gradle Plugin Portal here:
Quickstart
Apply the plugins.
build.gradle
plugins {
id 'com.gitlab.mvik.local-antora' version '0.4.0'
id 'com.gitlab.mvik.local-kroki' version '0.4.0'
}
Run the tasks.
run
./gradlew startKroki
./gradlew npmInstall generateLocalAntoraSite
./gradlew stopKroki