devonfw / docgen

Documentation generator that can generate a complete and self-contained documentation as PDF, ePub and HTML from Asciidoc wiki pages.
Apache License 2.0
8 stars 9 forks source link

Build should fail when errors exists in doc files #36

Closed alfeilex closed 2 months ago

alfeilex commented 2 months ago

Builds containing errors in adoc files should fail.

Related issue: https://github.com/devonfw/IDEasy/issues/590

Possible solution would be to add that configuration in asciidoctor-maven-plugin:

<logHandler>
  <outputToConsole>false</outputToConsole>
  <failIf>
      <severity>ERROR</severity>
  </failIf>
</logHandler>

https://github.com/asciidoctor/asciidoctor-maven-plugin/issues/261#issuecomment-596428956

alfeilex commented 2 months ago

Moved to https://github.com/devonfw/IDEasy/issues/672