Attachments Directory and Attachment Files
A module directory can contain an optional family directory named attachments.
📂 modules 📂 ROOT 📂 attachments (1) 📄 a-source-file.zip (2) 📂 pages 📄 a-source-file.adoc 📄 nav.adoc
|1||An attachments family directory in a ROOT module directory|
|2||An attachment source file|
Antora applies preset behavior to the source files stored in an attachments directory when it generates a site.
An attachment is a resource, such as the ZIP archive of a sample project, that a site visitor can download via a link. The source files for attachments are stored in an attachments directory. A link to an attachment is created in a page or partial using the AsciiDoc link macro. Currently, you can’t reference an attachment using an Antora resource ID.