Small reordering of the sections so they appear nicer on screen
Small reordering of the sections so they appear nicer on screen

documentation {
    section('Getting started','fa-graduation-cap') {
        item 'Download Groovy', 'download', 'download'
        item 'Install Groovy', 'install', 'install'
        item 'Differences with Java', 'differences', 'core-differences'
        item 'The Groovy Development Kit', 'gdk', 'core-gdk'
        item 'Runtime and compile-time metaprogramming', 'metaprogramming', 'core-metaprogramming'
        item 'The Grape dependency manager', 'grapes', 'core-grapes'
        item 'Testing guide', 'testing', 'core-testing'
        item 'Domain-Specific Languages', 'dsls', 'core-dsls'
        item 'Security', 'security', 'security'
        item 'Design patterns in Groovy', 'design-patterns', 'core-design-patterns'
    }

    section('Groovy module guides', 'fa-cubes') {
        item 'Parsing and producing JSON', 'json', 'json'
        item 'Working with a relational database', 'databases', 'databases'
        item 'Processing XML', 'processing-xml', 'processing-xml'
        item 'Scripting Ant tasks', 'scripting-ant', 'scripting-ant'
        item 'Template engines', 'templating', 'template-engines'
        item 'Creating Swing UIs', 'swing', 'swing'
        item 'Servlet support', 'servlet', 'servlet'
        item 'Working with JMX', 'jmx', 'jmx'
    }

    section ('Tools','fa-gears') {
        item 'groovyc — the Groovy compiler', 'groovyc', 'tools-groovyc'
        item 'groovysh — the Groovy command -like shell', 'groovysh', 'tools-groovysh'
        item 'groovyConsole — the Groovy Swing console', 'groovyconsole', 'tools-groovyconsole'
        item 'IDE integration', 'ide', 'tools-ide'
    }

    section ('Language Specification', 'fa-graduation-cap') {
        item 'Syntax', 'syntax', 'core-syntax'
        item 'Operators', 'operators', 'core-operators'
        item 'Program structure', 'structure', 'core-program-structure'
        item 'Object orientation', 'objectorientation', 'core-object-orientation'
        item 'Closures', 'closures', 'core-closures'
        item 'Semantics', 'semantics', 'core-semantics'
    }

    section ('API documentation', 'fa-code') {
        item 'GroovyDoc documentation of the Groovy APIs', 'groovydoc', 'groovydoc'
        item 'The Groovy Development Kit enhancements', 'gdk', 'gdk'
    }
}

documentation {
    section('Getting started','fa-graduation-cap') {
        item 'Download Groovy', 'download', 'download'
        item 'Install Groovy', 'install', 'install'
        item 'Differences with Java', 'differences', 'core-differences'
        item 'The Groovy Development Kit', 'gdk', 'core-gdk'
        item 'Runtime and compile-time metaprogramming', 'metaprogramming', 'core-metaprogramming'
        item 'The Grape dependency manager', 'grapes', 'core-grapes'
        item 'Testing guide', 'testing', 'core-testing'
        item 'Domain-Specific Languages', 'dsls', 'core-dsls'
        item 'Security', 'security', 'security'
        item 'Design patterns in Groovy', 'design-patterns', 'core-design-patterns'
    }

    section('Groovy module guides', 'fa-cubes') {
        item 'Parsing and producing JSON', 'json', 'json'
        item 'Working with a relational database', 'databases', 'databases'
        item 'Processing XML', 'processing-xml', 'processing-xml'
        item 'Scripting Ant tasks', 'scripting-ant', 'scripting-ant'
        item 'Template engines', 'templating', 'template-engines'
        item 'Creating Swing UIs', 'swing', 'swing'
        item 'Servlet support', 'servlet', 'servlet'
        item 'Working with JMX', 'jmx', 'jmx'
    }

    section ('API documentation', 'fa-code') {
        item 'GroovyDoc documentation of the Groovy APIs', 'groovydoc', 'groovydoc'
        item 'The Groovy Development Kit enhancements', 'gdk', 'gdk'
    }

    section ('Language Specification', 'fa-graduation-cap') {
        item 'Syntax', 'syntax', 'core-syntax'
        item 'Operators', 'operators', 'core-operators'
        item 'Program structure', 'structure', 'core-program-structure'
        item 'Object orientation', 'objectorientation', 'core-object-orientation'
        item 'Closures', 'closures', 'core-closures'
        item 'Semantics', 'semantics', 'core-semantics'
    }

    section ('Tools','fa-gears') {
        item 'groovyc — the Groovy compiler', 'groovyc', 'tools-groovyc'
        item 'groovysh — the Groovy command -like shell', 'groovysh', 'tools-groovysh'
        item 'groovyConsole — the Groovy Swing console', 'groovyconsole', 'tools-groovyconsole'
        item 'IDE integration', 'ide', 'tools-ide'
    }


}
