asciidoctor / asciidoctor.org

:globe_with_meridians: Asciidoctor project site. Composed in AsciiDoc. Baked with Awestruct.
https://asciidoctor.org
Other
322 stars 808 forks source link

declare a dependency to another extension #900

Closed uniqueck closed 4 years ago

uniqueck commented 4 years ago

Hi guys,

what is the prefered way to define the dependency to another extension. I wrote an extension that generate plantuml and so i need diagram extension to generate a picture from this plantuml code. Should I declare the dependency to asciidoctor-diagram or should i only describe it in my documentation, that this extension needs asciidoctor-diagram in version ...?

mojavelinux commented 4 years ago

Ultimately, that's your call. I tend to prefer documenting them to give the user the most control. But there are benefits to doing it either way.

uniqueck commented 4 years ago

Thanks for the intentions. So I will declare it as provided with the minimum needed version.