Custom JavaScripts not copied to the Output Directory (Gradle)

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

Custom JavaScripts not copied to the Output Directory (Gradle)

Oquance
Dear All,
First of all me and my company have been thrilled when we switch to AsciiDoctor for our documentation.
Now, it is the time for some customizations and we use Gradle to build it.
I am trying to use some JavaScript beauties (no CDNs) which trigger some custom HTML files to be applied to the documentation.
I included the JavaScripts in the "docinfo" file, however it seems the JSs and custom HTMLs are not copied to the output directory.

I was wondering if there is a way to copy these custom JSs and HTML files to the output directory.

Thanks a lot in advance.

Oquance (Serdar)
Reply | Threaded
Open this post in threaded view
|

Re: Custom JavaScripts not copied to the Output Directory (Gradle)

abelsromero
Asciidoctor itself does not take care of copying additional files (aka. resources).

If you are using Gradle, I think this is what you need https://asciidoctor.github.io/asciidoctor-gradle-plugin/development-2.0/user-guide/#_processing_auxiliary_files.

Reply | Threaded
Open this post in threaded view
|

Re: Custom JavaScripts not copied to the Output Directory (Gradle)

Oquance
Thanks a lot, it is indeed!