GithubHelp home page GithubHelp logo

isabella232 / groovy-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/groovy-website

0.0 0.0 0.0 5.51 MB

Apache Groovy content to generate sites

License: Apache License 2.0

HTML 2.12% Groovy 83.96% CSS 13.70% JavaScript 0.23%

groovy-website's Introduction

Groovy website

groovy logo

Groovy is a multi-faceted language for the Java Virtual Machine. It builds upon the strengths of Java, but has additional power features inspired by languages like Python, Ruby and Smalltalk.

Groovy makes modern programming features available to Java developers with almost-zero learning curve as well as supports Domain-Specific Languages and other compact syntax so your code becomes easy to read and maintain.

Groovy makes writing shell and build scripts easy with its powerful processing primitives, OO abilities and an Ant DSL.

It also increases developer productivity by reducing scaffolding code when developing web, GUI, database or console applications. Groovy simplifies testing by supporting unit testing and mocking out-of-the-box. Groovy also seamlessly integrates with all existing Java classes and libraries and compiles straight to Java bytecode so you can use it anywhere you can use Java.

Sources for the Groovy website

This project builds two Groovy websites:

  • The user website contains information for users of the Apache Groovy programming language

  • The developer website contains information for those interested in contributing to the language development

The websites are static once generated. The generation process uses Gradle and Groovy’s templating capabilities to generate the sites.

Build is build status.

Generating the user site

git clone https://github.com/apache/groovy-website
cd groovy-website
./gradlew :site-user:webzip

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

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

Generating the developer site

git clone https://github.com/apache/groovy-website
cd groovy-website
./gradlew :site-dev:webzip

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

site-dev/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 these modules/directories:

generator                       : module for utility classes and model for generating the website
site                            : directory with shared website content
site-user                       : module which describes which content appears in the user site
site-dev                        : module which describes which content appears in the developer site

The site 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

The site-user subproject consists of:

build.gradle                    : website weaving logic for user site

The site-dev subproject consists of:

build.gradle                    : website weaving logic for dev site

Additional details (a little dated but mostly relevant) can be found in this blog post.

Continuous Integration

The official CI server runs here (login as user guest and leave the password blank) and is sponsored by JetBrains.

Warning
The website is continuously updated from the asf-site branch. This means that every merge on master is immediately published. Changes that need to be applied on a specific date need to be done on a dedicated branch.

License

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

groovy-website's People

Contributors

paulk-asert avatar daniellansun avatar pwithams avatar glaforge avatar jacobaae avatar keeganwitt avatar melix avatar leoger avatar elkamondo avatar jakemehring avatar wiremoons avatar wololock avatar sbglasius avatar energister avatar prafair avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.