Link versus XRef (Linking to other asciidoc files)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Link versus XRef (Linking to other asciidoc files)

ghillert
Hi,

I am still missing something obvious - I have multiple asciidoc files. Within an asciidoc file, I may link to another asciidoc file. This works fine on Github but when converting the asciidoc files to e.g. HTML the links stop working. It looks like the links are not rewritten to end with *.html. For example, I have the following 2 files:

* index.asiidoc
* Creating-a-Source-Module.asciidoc

I have a link in index.asiidoc:

link:Creating-a-Source-Module[Source Modules]

However, the resulting html is:

...Creating-a-Source-Module

Without the html ending appended. Should I rather use xref?

Thanks!

Cheers,

Gunnar