This group is locked. No changes can be made to the group while it is locked.
Date
1 - 3 of 3
[releng] Maven Site generation
linxiao9292
Hi Thanh, Thanks a lot! That works. I could see the right pages and the links are working too. After my patch being merged by that project, the maven site will be automatically generated in https://nexus.opendaylight.org/content/sites/site/{myproject}/ ? Thanks, Xiao Lin From: thanh.ha@... Date: Thu, 25 Feb 2016 10:49:10 -0500 Subject: [releng] Maven Site generation To: linxiao9292@...; dev@... Hi Xiao, In the future please send these types of inquiries to the [releng] topic at dev@... The best way to test Maven Site locally that I've found is to run 2 commands as follows: mvn clean install mvn site:deploy -Dstream=latest The 1st command generates your documentation, because the way Maven Site generation works it produces all the documentation but does not produce working URL paths that you can use so we need the 2nd command. The 2nd command aggregates all the documentation into a staging site. This will produce a directory in your project root called "target/staged-site". The string -Dstream can be set to anything, it just represents what version of your site documentation you want to call it. Typically Jenkins will use our release names such as -Dstream=beryllium or -Dstream=boron etc... You can now open the site with your webbrowser by opening any of the html files for example: google-chrome target/staged-site/index.html Hope this helps, Thanh
On 25 February 2016 at 08:31, Xiao Lin <linxiao9292@...> wrote:
|
|
Thanh Ha <thanh.ha@...>
Hi Xiao, Yes all of the ODL merge jobs are configured to automatically detect the existence of the deploy-site.xml file and automatically build and deploy the docs once your code is merged. Regards, Thanh
On 26 February 2016 at 00:40, Xiao Lin <linxiao9292@...> wrote:
|
|
linxiao9292
Hi Thanh, That is really helpful, thank you for the information! Bests, Xiao From: thanh.ha@... Date: Fri, 26 Feb 2016 11:40:28 -0500 Subject: Re: [releng] Maven Site generation To: linxiao9292@... CC: dev@...; godrickk@...; alto-dev@...; jingxuan.n.zhang@... Hi Xiao, Yes all of the ODL merge jobs are configured to automatically detect the existence of the deploy-site.xml file and automatically build and deploy the docs once your code is merged. Regards, Thanh
On 26 February 2016 at 00:40, Xiao Lin <linxiao9292@...> wrote:
|
|