Team

Contributors

  • Roberta Calegari
  • Giovanni Ciatto
  • Regis Riveret

Building from source

The Hugo theme used by this site is a git submodule, so clone the repository recursively:

git clone --recurse-submodules https://github.com/tuProlog/arg2p-kt.git

The build uses the Gradle wrapper, so no local Gradle installation is needed. The most useful tasks are:

TaskPurpose
./gradlew checkRun every test and check
./gradlew jvmTestRun the JVM test suite only
./gradlew jsTestRun the JavaScript test suite only
./gradlew ktlintCheckCheck the code style
./gradlew dokkaGeneratePublicationHtmlGenerate the API documentation

The JVM tests target Java 21 by default; pass -PtestJvm=<version> to use a different one.

Working on this site

The documentation is a Hugo site under doc/site, built through Gradle:

TaskPurpose
./gradlew :doc:hugoServerServe the site locally with live reload
./gradlew :doc:hugoBuildBuild the static site

Both download the required Hugo binary automatically. The version shown in the dependency snippets is injected at build time from the latest git tag, so it never has to be updated by hand.

Two parts of the API section are generated before the site is built, and are not kept in git: the Prolog modules pages, from the theories of the modules and their %! comments (./gradlew :core:prologDocs), and the Kotlin & JS reference, by Dokka. To change them, change the sources.

Reporting issues

Bugs and feature requests are tracked on GitHub.