Skip to content

Commit

Permalink
Merge pull request asciidoctor#13 from danhyun/master
Browse files Browse the repository at this point in the history
Use github fork badge
  • Loading branch information
rwinch committed Mar 2, 2015
2 parents f54288c + f8e9421 commit 669e31a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,19 @@ Rob Winch <https://github.com/rwinch[@rwinch]>; Dan Hyun <https://github.com/dan
:numbered:
:github_url: https://github.com/rwinch/asciidoctor-gradle-examples
:github_project_path: {github_url}/tree/master
:github_fork_badge: https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png
[.badge]
image::{github_fork_badge}[link="{github_url}"]
[discrete]
== About
This repository contains examples on how to use Gradle and Asciidoctor to create html5, pdf, epub, deck.js, and reveal.js outputs.
icon:github[2x] {github_url}[View on Github]
"""
index.text = header
new File("$rootDir/build/docinfo.html").text = '<style>.badge { position: fixed; top: 0; right: 0; }</style>'
}

subprojects {
Expand Down
3 changes: 2 additions & 1 deletion finalize.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ asciidoctor {

attributes 'icons': 'font',
'setanchors': 'true',
'rootDir': file(rootDir)
'rootDir': file(rootDir),
docinfo1: ''
}

task finalize(dependsOn: ['asciidoctor']) {
Expand Down

0 comments on commit 669e31a

Please sign in to comment.