Skip to content

caseyscarborough/grails-static-website

 
 

Repository files navigation

Grails website

and opinionated APIs. It integrates smoothly with the JVM, allowing you to be immediately productive whilst providing powerful features, including integrated ORM, Domain-Specific Languages, runtime and compile-time meta-programming and Asynchronous programming.

Sources for the Grails website

This project builds the Grails website. It is using Gradle and is fully statically generated.

Build is Build Status.

Generating the site

git clone https://github.com/grails/grails-static-website
cd grails-static-website
./gradlew webzip

The output can be found in the build directory:

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

Contributing

The website is generated thanks to Gradle and makes use of the 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

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

About

Static version of the website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 69.0%
  • CSS 24.8%
  • HTML 4.1%
  • JavaScript 1.7%
  • Shell 0.4%