-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to_dir setting in tests Fix baseDir pathing in site converter
- Loading branch information
1 parent
37f4a47
commit 63adeac
Showing
11 changed files
with
53 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...ugin/src/test/java/org/asciidoctor/maven/test/processors/ManpageInlineMacroProcessor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
package org.asciidoctor.maven.test.processors; | ||
|
||
import org.asciidoctor.ast.PhraseNode; | ||
import org.asciidoctor.ast.StructuralNode; | ||
import org.asciidoctor.extension.InlineMacroProcessor; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
import org.asciidoctor.ast.ContentNode; | ||
import org.asciidoctor.extension.InlineMacroProcessor; | ||
|
||
public class ManpageInlineMacroProcessor extends InlineMacroProcessor { | ||
|
||
public ManpageInlineMacroProcessor(String macroName) { | ||
super(macroName); | ||
} | ||
|
||
@Override | ||
public String process(ContentNode parent, String target, Map<String, Object> attributes) { | ||
|
||
public PhraseNode process(StructuralNode parent, String target, Map<String, Object> attributes) { | ||
final Map<String, Object> options = new HashMap<>(); | ||
options.put("type", ":link"); | ||
options.put("target", target + ".html"); | ||
return createPhraseNode(parent, "anchor", target, attributes, options).convert(); | ||
return createPhraseNode(parent, "anchor", target, attributes, options); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters