Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force execution to stop with failure on missing image reference #455

Closed
PeterStange opened this issue Aug 6, 2020 · 2 comments
Closed

Comments

@PeterStange
Copy link
Contributor

I'm looking for a way to cause an failure of the tool execution in case the image reference is invalid and the image couldn't be found.
ascciidoctor offers this by using command line attributes: "asciidoctor -a attribute-missing=warn --failure-level=WARN"
How can I add those parameters when calling a task like generateHTML.
Tried to follow the call sequence and extended attributes defined in AsciiDocBasics.gradle
attributes (
'plantUMLDir' : '',
'attribute-missing' : 'warn'

But this didn't changed the behaviour.
Is there any documentation available about the flow of the execution chain ?
Any existing possibility to enable this kind of warnings?

@rdmueller
Copy link
Member

I guess the solution for this is in the following ticket:
asciidoctor/asciidoctor-gradle-plugin#154

mh182 added a commit to mh182/docToolchain that referenced this issue Apr 27, 2023
@mh182
Copy link
Collaborator

mh182 commented Apr 27, 2023

Closing since addressed with #1098

@mh182 mh182 closed this as completed Apr 27, 2023
mh182 added a commit that referenced this issue Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants