diff --git a/build.gradle b/build.gradle index 267f62a..bd7c89b 100644 --- a/build.gradle +++ b/build.gradle @@ -1,13 +1,9 @@ plugins { - id "org.sonarqube" version "2.1-rc1" - id "org.ajoberstar.github-pages" version "1.5.1" - id "org.xbib.gradle.plugin.jbake" version "1.1.0" + id "org.sonarqube" version "2.2" + id "org.ajoberstar.github-pages" version "1.6.0-rc.1" + id "org.xbib.gradle.plugin.jbake" version "1.2.1" } -println "Host: " + java.net.InetAddress.getLocalHost() -println "Gradle: " + gradle.gradleVersion + " JVM: " + org.gradle.internal.jvm.Jvm.current() + " Groovy: " + GroovySystem.getVersion() -println "Build: group: '${project.group}', name: '${project.name}', version: '${project.version}'" - apply plugin: 'java' apply plugin: 'maven' apply plugin: 'signing' @@ -35,7 +31,7 @@ targetCompatibility = JavaVersion.VERSION_1_8 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' tasks.withType(JavaCompile) { - options.compilerArgs << "-Xlint:all" + options.compilerArgs << "-Xlint:all" << "-profile" << "compact2" } test { classpath += configurations.provided diff --git a/src/jbake/content/manual.asciidoc b/src/jbake/content/manual.asciidoc index 68a084b..3891bb6 100644 --- a/src/jbake/content/manual.asciidoc +++ b/src/jbake/content/manual.asciidoc @@ -2,10 +2,23 @@ Jörg Prante 2016-09-15 :jbake-type: page -:jbake-tags: documentation :jbake-status: published +:jbake-tags: documentation :idprefix: :toc: :toc-placement!: toc::[] + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vel diam purus. Curabitur ut nisi lacus. + +* http://example.org +* http://example.org[Example.org] + +Nam id nisl quam. Donec a lorem sit amet libero pretium vulputate vel ut purus. Suspendisse leo arcu, +mattis et imperdiet luctus, pulvinar vitae mi. Quisque fermentum sollicitudin feugiat. Mauris nec leo +ligula. Vestibulum tristique odio ut risus ultricies a hendrerit quam iaculis. Duis tempor elit sit amet +ligula vehicula et iaculis sem placerat. Fusce dictum, metus at volutpat lacinia, elit massa auctor risus, +id auctor arcu enim eu augue. Donec ultrices turpis in mi imperdiet ac venenatis sapien sodales. In +consequat imperdiet nunc quis bibendum. Nulla semper, erat quis ornare tristique, lectus massa posuere +libero, ut vehicula lectus nunc ut lorem. Aliquam erat volutpat. \ No newline at end of file diff --git a/src/jbake/content/test.asciidoc b/src/jbake/content/test.asciidoc new file mode 100644 index 0000000..8ddadd8 --- /dev/null +++ b/src/jbake/content/test.asciidoc @@ -0,0 +1,9 @@ += Test +Jörg Prante +2016-11-08 +:jbake-type: post +:jbake-status: published +:jbake-tags: documentation +:idprefix: + +This is a test \ No newline at end of file diff --git a/src/jbake/jbake.properties b/src/jbake/jbake.properties index 13af7f8..cd0b71d 100644 --- a/src/jbake/jbake.properties +++ b/src/jbake/jbake.properties @@ -11,12 +11,16 @@ meta.description=Generated by JBake template.folder=templates content.folder=content asset.folder=assets -render.index=true index.file=index.html -index.posts.limit=100 -index.posts.title.limit=200 +#index.posts.limit=100 +#index.posts.title.limit=200 +render.masterindex=true +render.index=true +render.archive=true +render.feed=true render.tags=true render.sitemap=true +template.masterindex.file=index.gsp template.index.file=index.gsp template.archive.file=archive.gsp template.tag.file=tags.gsp diff --git a/src/jbake/templates/index.gsp b/src/jbake/templates/index.gsp index 648ac6b..dac123b 100644 --- a/src/jbake/templates/index.gsp +++ b/src/jbake/templates/index.gsp @@ -14,6 +14,6 @@
-

Older posts are available in the archive.

+

Older posts are available in the archive.

<%include "footer.gsp"%> \ No newline at end of file diff --git a/src/jbake/templates/index.tpl b/src/jbake/templates/index.tpl new file mode 100644 index 0000000..a479342 --- /dev/null +++ b/src/jbake/templates/index.tpl @@ -0,0 +1,5 @@ +html { + body { + p "Hello World" + } +} \ No newline at end of file