Skip to content

Commit

Permalink
Remove unused parameter in AsciidoctorConventions
Browse files Browse the repository at this point in the history
  • Loading branch information
dreis2211 authored and snicoll committed Mar 3, 2020
1 parent ea45d8e commit fcaede7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void apply(Project project) {
asciidoctorTask.baseDirFollowsSourceDir();
Sync syncSource = createSyncDocumentationSourceTask(project, asciidoctorTask);
if (asciidoctorTask instanceof AsciidoctorTask) {
configureHtmlOnlyAttributes(project, asciidoctorTask);
configureHtmlOnlyAttributes(asciidoctorTask);
syncSource.from(unzipResources, (resources) -> resources.into("asciidoc"));
asciidoctorTask.doFirst(new Action<Task>() {

Expand Down Expand Up @@ -135,7 +135,7 @@ private void configureOptions(AbstractAsciidoctorTask asciidoctorTask) {
asciidoctorTask.options(Collections.singletonMap("doctype", "book"));
}

private void configureHtmlOnlyAttributes(Project project, AbstractAsciidoctorTask asciidoctorTask) {
private void configureHtmlOnlyAttributes(AbstractAsciidoctorTask asciidoctorTask) {
Map<String, Object> attributes = new HashMap<>();
attributes.put("highlightjsdir", "js/highlight");
attributes.put("highlightjs-theme", "github");
Expand Down

0 comments on commit fcaede7

Please sign in to comment.