Hello fellow doc writers,
According to the User Manual you may link to relative files using the following syntax
link:name_of_your_file/[caption]
I see this syntax being used in Asciidoctor's User Manual itself (
https://github.com/asciidoctor/asciidoctor.org/blob/master/docs/user-manual.adoc) so I gave it a try. Problem is that it's not working for me.
I have several .adoc files under the same source directory, linking some of them like so
link:resources-resource-resolver-configuration/[configuration]
where resources-resource-resolver-configuration.adoc is a local file to the current document. The generated HTML link points to "build/asciidoc/resources-resource-resolver-configuration/" as is, no .html suffix. If I write the link in the following fashion instead
link:resources-resource-resolver-configuration.adoc/[configuration]
then the generated HTML link points to "build/asciidoc/resources-resource-resolver-configuration.adoc/". So I gather the link is taken verbatim. So question is, how can I make relative links work? I'm using asciidoctor-gradle 0.7 based on asciidoctorj 0.1.4 btw.
Cheers,
Andres