[ 
https://issues.apache.org/jira/browse/OFBIZ-9873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16404492#comment-16404492
 ] 

Taher Alkhateeb commented on OFBIZ-9873:
----------------------------------------

I see, you up-numbered without excluding from asciidoctorj-pdf. It works but 
would be fragile for the future.

So my recommendation if everyone agrees is to apply Jacque's patch with the 
below comment. This way we can come back to it and remove it later when the 
issue is fixed with a future release of asciidoctorj-pdf.
{code}
Index: build.gradle
===================================================================
--- build.gradle        (revision 1827146)
+++ build.gradle        (working copy)
@@ -31,6 +31,8 @@
         classpath 'at.bxm.gradleplugins:gradle-svntools-plugin:latest.release'
         classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.7'
         classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.16'
+        // asciidoctorj-pdf bug workaround - override jruby. See OFBIZ-9873
+        classpath 'org.jruby:jruby-complete:9.1.13.0'
     }
 }
 apply plugin: 'java'

{code}

> Create a PoC for a documentation system for OFBiz based on Asciidoc
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-9873
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9873
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Upcoming Branch
>            Reporter: Taher Alkhateeb
>            Assignee: Taher Alkhateeb
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-9873.patch, OFBIZ-9873.patch
>
>
> In reference to the [discussion 
> thread|https://lists.apache.org/thread.html/8cc03b7b8733512244129ddae9e0cc1fb2a28e3e250aba1c8cf678f8@%3Cdev.ofbiz.apache.org%3E]
>  this is an attempt to create a PoC for OFBiz documentation system based on 
> Asciidoc. The main assumptions for the design of this system are:
> - The documentation language to use is Asciidoc
> - The documentation tool is Asciidoctor
> - Publishing happens through Gradle using the asciidoctor gradle plugin (not 
> the OFBiz framework or anything else).
> - The only place where we write documentation is inside the code base
> - Every component contains its own documentation
> - General documentation goes to either a standalone directory or a generic 
> component like common or base
> - As much as possible, documentation files are small and focused on one 
> topic. And then other longer documents are constructed from these snippets of 
> documentation.
> - We publish to all formats including PDF for users, or HTML for embedded 
> help and wiki pages. So OFBiz does not parse docbook for its help system, 
> instead it just renders generated HTML.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to