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

Konrad Windszus commented on SLING-7176:
----------------------------------------

bq. I've been thinking about an idea of scripting README generation

I think the great advantage of having an explicit readme is that it is rendered 
nicely by Github (important for people finding the Github repo first and not 
our Sling Site). That makes it probably easier to encourage people to 
contribute and come up with PRs.

> Link and embed bundle readme's from Sling Site
> ----------------------------------------------
>
>                 Key: SLING-7176
>                 URL: https://issues.apache.org/jira/browse/SLING-7176
>             Project: Sling
>          Issue Type: Improvement
>          Components: Site
>            Reporter: Konrad Windszus
>
> As proposed in 
> https://lists.apache.org/thread.html/7cb85c44d3b852fd13acc66413606d1ada1e6585eda2220981ad0c6d@%3Cdev.sling.apache.org%3E
>  we should link 
> # from the bundle's readme MD files to the according page below 
> http://sling.apache.org/documentation/bundles.html 
> # from the [bundles overview 
> page|http://sling.apache.org/documentation/bundles.html] in the Sling Site 
> towards the individual bundle's readmes
> The latter should be done automatically by leveraging JBake template 
> functionionality.
> Some technical hints on how to implement this:
> # Come up with a new JBake template: bundles
> # This template will use the Github API with its [List organization 
> repositories 
> method|https://developer.github.com/v3/repos/#list-organization-repositories] 
> to figure out all Sling repositories
> # For all repositories containing a readme.md file a link towards this file 
> (on Github) should be placed in the bundle overview page
> # To figure out the relation between individual Sling Site Bundle 
> Documentation pages (e.g. 
> http://sling.apache.org/documentation/bundles/models.html) and the according 
> readme.md, the readme should be optionally extended with a link towards the 
> Sling Site page.
> # TBD: format of the link towards the Sling Site documentation, so that it 
> can be easily extracted with Groovy to put the link to the readme in the 
> right position of the bundle overview page.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to