/sdkman-website

The SDKman website

Primary LanguageGroovyApache License 2.0Apache-2.0

SDKMAN! website

Sources for the static generation of the website

This project builds the SDKMAN! website. It builds with Gradle and is statically generated.

Build Status

Generating the site

git clone https://github.com/sdkman/sdkman-website
cd sdkman-website
./gradlew generateSite

The output can be found in the build/site directory:

build
  |---- site            : the generated static website
  |---- distributions   : zip of the website

Contributing

The website is generated thanks to Gradle and makes use of the {markupte}[Markup Template Engine]. The structure of the project consists of two modules:

generator                       : utility classes and model for generating the website
site                            : the website itself

The website subproject consists of:

src/main/site                   : sources for the static website
          |--- assets           : static resources such as images, CSS files, ...
          |--- html             : elements that templates include as raw HTML contents
          |--- includes         : includes used by templates
          |--- layouts          : layouts for the various pages
          |--- pages            : individual pages
build.gradle                    : website weaving logic

License

SDKMAN is licensed under the terms of the Apache License, Version 2.0