ppalaga commented on issue #1795:
URL: https://github.com/apache/camel-quarkus/issues/1795#issuecomment-696333114


   I like the idea to use partials instead of pages. 
   
   At the same time, I do not like that building Camel Quarkus Antora docs 
would require Camel source tree being checked out at a specific location, only 
to have a set of pages to include our partials into. That sounds unnecessarily 
complicated. The data stored in the partials comes from Camel Quarkus only and 
any pages aggregating that data should not need Camel for building. 
   
   I have looked into your proposed implementation and I came across the 
question whether your macros should not be taught to operate on partials? That 
would solve the problem in the most elegant way, IMO. I tried to do that in 
#1814, esp. in this commit: 
https://github.com/apache/camel-quarkus/pull/1814/commits/e599c94280a4a82b9401569baa19e808892f68ab
 and also here 
https://github.com/apache/camel-quarkus/pull/1814/files#diff-a5f808e798bf3612d1e44875e6bef126R13
 
   
   It does what I expect it to do but I admit my code is probably not the 
prettiest one because I am a JavaScript noob. Anyway, what do you think about 
the idea?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to