Re: antora referencing source beneath src folder
Posted by
mojavelinux on
Apr 24, 2020; 9:24pm
URL: https://discuss.asciidoctor.org/antora-referencing-source-beneath-src-folder-tp7953p7955.html
> but i wonder how to organize my dirs and files when i want to reference
(include:link) code the antora way when it is not located within the
antora related content tree, i.e. the actual source of a component
There are two ways around it that I can suggest:
* Move those files you want to include into the Antora content hierarchy
* Use a custom site generator component to import additional files in the Antora content catalog after it retrieves the files from the git indexes / worktrees
If you have a situation where an include doesn't resolve when you're not using Antora, you can register an include processor that emulates the behavior of Antora's include processor.
Best Regards,
-Dan
--