-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
helpers: Add --trace to asciidoctor args #3714
helpers: Add --trace to asciidoctor args #3714
Conversation
I'm by no means an expert here, but we do fallback to |
I think |
Hi @miltador,
So
Please do so. 👍 Thank you for your contribution! 😉 |
This will help to understand and fix errors by seeing stacktrace of an error.
55432d6
to
51fda88
Compare
Will add a smarter check (WIP). |
Added smarter check for |
967151b
to
5a9eba1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @miltador!
One tiny problem though: If both AsciiDoc and Asciidoctor are installed, your code would choose AsciiDoc over Asciidoctor. I am pretty sure that is not what you intended, especially since you use Ascidoctor yourself, and also because previous Hugo code has always "favoured" Asciidoctor over AsciiDoc. :-)
Could you please take a look again? Many thanks!
5a9eba1
to
089b878
Compare
@anthonyfok, switched the order to first check for Asciidoctor and then for Asciidoc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was very quick! Thank you @miltador!
Looks good to me! :-)
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This will help to understand and fix errors by seeing stacktrace of an error.