mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Remove unused parameter in AsciidoctorConventions
See gh-20380
This commit is contained in:
parent
ea45d8ef25
commit
fcaede70a9
@ -79,7 +79,7 @@ class AsciidoctorConventions {
|
||||
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>() {
|
||||
|
||||
@ -135,7 +135,7 @@ class AsciidoctorConventions {
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user