You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add INFO message to site modules showing the filename in case of issues (#961)
This PR uses the new 'reference' parameter in Doxia Parsers
to print the source filename when an issue is detected.
This is compatible and extends the features in 'logHandler'.
Fixes#323
Copy file name to clipboardExpand all lines: asciidoctor-converter-doxia-module/src/main/java/org/asciidoctor/maven/site/AsciidoctorConverterDoxiaParser.java
Copy file name to clipboardExpand all lines: asciidoctor-parser-doxia-module/src/main/java/org/asciidoctor/maven/site/parser/AsciidoctorAstDoxiaParser.java
Copy file name to clipboardExpand all lines: docs/modules/site-integration/pages/converter-module-setup-and-configuration.adoc
+1-2
Original file line number
Diff line number
Diff line change
@@ -157,5 +157,4 @@ Enables processing of Asciidoctor messages.
157
157
For example to hide them, enable finer detail or fail the build on certain scenarios (e.g. missing included files).
158
158
To see all options refer to the main plugin xref:plugin:goals/http.adoc#configuration-logHandler[logHandler configuration].
159
159
+
160
-
IMPORTANT: Due to limitations in how Maven site integration works, it is not possible to provide the filename in the error message.
161
-
We are aware this is not ideal and are tracking any development on the Maven side towards this goal (https://issues.apache.org/jira/browse/DOXIA-555[DOXIA-555]).
160
+
NOTE: Since v3.1.0+ the source filename will be displayed alongside issues found during conversion.
Copy file name to clipboardExpand all lines: docs/modules/site-integration/pages/parser-module-setup-and-configuration.adoc
+1-2
Original file line number
Diff line number
Diff line change
@@ -159,8 +159,7 @@ Enables processing of Asciidoctor messages.
159
159
For example to hide them, enable finer detail or fail the build on certain scenarios (e.g. missing included files).
160
160
To see all options refer to the main plugin xref:plugin:goals/http.adoc#configuration-logHandler[logHandler configuration].
161
161
+
162
-
IMPORTANT: Due to limitations in how Maven site integration works, it is not possible to provide the filename in the error message.
163
-
We are aware this is not ideal and are tracking any development on the Maven side towards this goal (https://issues.apache.org/jira/browse/DOXIA-555[DOXIA-555]).
162
+
NOTE: Since v3.1.0+ the source filename will be displayed alongside issues found during conversion.
0 commit comments