Top-level main.css for all asciidoctor styles

Properly separate tocbot from asciidoctor styles and use main.css to
include both.
This commit is contained in:
Rossen Stoyanchev
2017-10-11 07:40:25 -04:00
parent 3febec3df6
commit 2e0a2845ab
3 changed files with 25 additions and 19 deletions

View File

@@ -85,7 +85,7 @@ asciidoctor {
}
resources {
from(sourceDir) {
include 'images/**', 'tocbot-3.0.2/**'
include 'images/*', 'stylesheets/*', 'tocbot-3.0.2/*'
}
}
logDocuments = true
@@ -104,7 +104,7 @@ asciidoctor {
sectnums: '',
'source-highlighter': 'coderay@', // TODO switch to 'rouge' once supported by the html5 backend
stylesdir: 'stylesheets/',
stylesheet: 'spring.css',
stylesheet: 'main.css',
'spring-version': project.version
}