asciidoctorj icon indicating copy to clipboard operation
asciidoctorj copied to clipboard

Document in OptionsBuilder.java the incompatible options

Open odupuy opened this issue 7 years ago • 3 comments
trafficstars

Document in these 3 methods that they are mutually exclusive for the target

  • inPlace() (precise that in place means to create the target file in the same folder as the original, just changing the extension)
  • toFile() you precise instead the target file name path including the extension
  • destinationDir()

OptionsBuilder does not detect and complains that you set them together. Thanks.

odupuy avatar May 11 '18 18:05 odupuy

Hi Olivier,

Would you like to create a PR with a fix for this?

Robert

robertpanzer avatar May 11 '18 19:05 robertpanzer

OK, I will add some documentation to these fields. I will not test that the options are not compatible except if you ask me to.

odupuy avatar May 14 '18 14:05 odupuy

We should also mention use of standalone with headerFooter if merged

abelsromero avatar Apr 05 '23 21:04 abelsromero