Skip to content

Commit 183d886

Browse files
edeweerd1Arquinio1A
authored andcommitted
feat: Enhance warning message for unknown apidocs package
Fixes #120
1 parent 75b28cb commit 183d886

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,9 @@
236236
<build>
237237
<plugins>
238238
<plugin>
239+
<groupId>org.apache.maven.plugins</groupId>
239240
<artifactId>maven-gpg-plugin</artifactId>
240-
<version>3.1.0</version>
241+
<version>3.2.8</version>
241242
<executions>
242243
<execution>
243244
<id>sign-artifacts</id>

src/main/java/com/amadeus/asciidoc/apidoc/ImplicitApidocMacro.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ public PhraseNode process(StructuralNode parent, String target, Map<String, Obje
8484
log(new LogRecord(Severity.WARN,
8585
String.format(
8686
"Unknown apidocs package: <%s>, no links will be generated."
87-
+ " Add the package via %s attribute, report the false-positive or use passthrough macro.",
88-
target, ATTRIBUTE_APIDOCS_CONFIG)));
87+
+ " Add the package via %s attribute, report the false-positive"
88+
+ " or use passthrough macro (`pass:[%s]`).",
89+
target, ATTRIBUTE_APIDOCS_CONFIG, target)));
8990
}
9091
return renderText(parent, target, attributes); // skip
9192
}

0 commit comments

Comments
 (0)