Re: Generating the project site via Maven. GitHub Pull Request 787
Stephen Connolly <[email protected]> Fri, 10 Jan 2014 16:02:01 +0000
| Newsgroups | gmane.comp.java.junit.devel |
|---|---|
| Message-ID | <CA+nPnMybA6YQLPO+k30sKkpKzxS-gf7LtycDwxkRy+yGmZV+fA@mail.gmail.com> |
--===============0853540254082711623== Content-Type: multipart/alternative; boundary=047d7b33c9dcbba2b904ef9fd82e --047d7b33c9dcbba2b904ef9fd82e Content-Type: text/plain; charset=ISO-8859-1 The tour is defined at https://github.com/stephenc/junit/blob/generate-site/src/site/xdoc/index.xml#L136 All that is needed for a tour is that the page have the hopscotch css and js loaded and you have a <script> defining the tour, because a cookie is used to hold the tour state you can span multiple pages on the same site if you want to. (really like the hopscotch component BTW in case you haven't noticed!) On 10 January 2014 15:58, Stephen Connolly <[email protected]>wrote: > You can add as many examples to the carousel as you want... it's just a > question of writing the content: > https://github.com/stephenc/junit/blob/generate-site/src/site/xdoc/index.xml#L20 > > I just put enough placeholders so that people could understand what can be > done and how to do it... I could get more fancy... but I think a carousel > and a tour is plenty! (some might say too much) > > also, the tour can span multiple pages, but those pages need to be written > in the xdoc format... I am looking into adding support to doxia to allow > markdown pages to have the required support. > > > On 10 January 2014 15:44, Kevin Cooney <[email protected]> wrote: > >> Wow. Very nice. Would live to see more example code at the top (Rules? >> Theories?) >> >> What's up with the red splotches after the links? >> >> I know very little about maven. Do any of the "regulars" that do JUnit >> code reviews know much about Maven? >> On Jan 10, 2014 6:24 AM, "Stephen Connolly" < >> [email protected]> wrote: >> >>> https://github.com/junit-team/junit/pull/787 >>> >>> Just an FYI, so that you can see how this would look, I have pushed to a >>> gh-pages on my fork... >>> >>> http://stephenc.github.io/junit/ >>> >>> Obviously I have just put some placeholder content in... but let me know >>> what you think! >>> >>> -Stephen >>> >>> >>> ------------------------------------------------------------------------------ >>> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >>> Learn Why More Businesses Are Choosing CenturyLink Cloud For >>> Critical Workloads, Development Environments & Everything In Between. >>> Get a Quote or Start a Free Trial Today. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Junit-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/junit-devel >>> >>> > --047d7b33c9dcbba2b904ef9fd82e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">The tour is defined at=A0<a href=3D"https://github.com/ste= phenc/junit/blob/generate-site/src/site/xdoc/index.xml#L136">https://github= .com/stephenc/junit/blob/generate-site/src/site/xdoc/index.xml#L136</a><div= ><br> </div><div>All that is needed for a tour is that the page have the hopscotc= h css and js loaded and you have a <script> defining the tour, becaus= e a cookie is used to hold the tour state you can span multiple pages on th= e same site if you want to.</div> <div><br></div><div>(really like the hopscotch component BTW in case you ha= ven't noticed!)</div></div><div class=3D"gmail_extra"><br><br><div clas= s=3D"gmail_quote">On 10 January 2014 15:58, Stephen Connolly <span dir=3D"l= tr"><<a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div dir=3D"ltr">You can add as many example= s to the carousel as you want... it's just a question of writing the co= ntent:=A0<a href=3D"https://github.com/stephenc/junit/blob/generate-site/sr= c/site/xdoc/index.xml#L20" target=3D"_blank">https://github.com/stephenc/ju= nit/blob/generate-site/src/site/xdoc/index.xml#L20</a><div> <br></div><div>I just put enough placeholders so that people could understa= nd what can be done and how to do it... I could get more fancy... but I thi= nk a carousel and a tour is plenty! (some might say too much)</div><div> <br></div><div>also, the tour can span multiple pages, but those pages need= to be written in the xdoc format... I am looking into adding support to do= xia to allow markdown pages to have the required support.</div></div><div c= lass=3D"HOEnZb"> <div class=3D"h5"><div class=3D"gmail_extra"> <br><br><div class=3D"gmail_quote">On 10 January 2014 15:44, Kevin Cooney <= span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_qu= ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex= "> <p dir=3D"ltr">Wow. Very nice. Would live to see more example code at the t= op (Rules? Theories?)</p> <p dir=3D"ltr">What's up with the red splotches after the links?</p> <p dir=3D"ltr">I know very little about maven. Do any of the "regulars= " that do JUnit code reviews know much about Maven?</p> <div class=3D"gmail_quote"><div><div>On Jan 10, 2014 6:24 AM, "Stephen= Connolly" <<a href=3D"mailto:[email protected]" targ= et=3D"_blank">[email protected]</a>> wrote:<br type=3D"att= ribution"> </div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo= rder-left:1px #ccc solid;padding-left:1ex"><div><div> <div dir=3D"ltr"><a href=3D"https://github.com/junit-team/junit/pull/787" t= arget=3D"_blank">https://github.com/junit-team/junit/pull/787</a><br><div><= br></div><div>Just an FYI, so that you can see how this would look, I have = pushed to a gh-pages on my fork...</div> <div><br></div><div><a href=3D"http://stephenc.github.io/junit/" target=3D"= _blank">http://stephenc.github.io/junit/</a><br></div><div><br></div><div>O= bviously I have just put some placeholder content in... but let me know wha= t you think!</div> <div><br></div><div>-Stephen</div></div> <br></div></div>-----------------------------------------------------------= -------------------<br> CenturyLink Cloud: The Leader in Enterprise Cloud Services.<br> Learn Why More Businesses Are Choosing CenturyLink Cloud For<br> Critical Workloads, Development Environments & Everything In Between.<b= r> Get a Quote or Start a Free Trial Today.<br> <a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D119420431&iu= =3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam= pad/clk?id=3D119420431&iu=3D/4140/ostg.clktrk</a><br>__________________= _____________________________<br> Junit-devel mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Juni= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/junit-devel" target= =3D"_blank">https://lists.sourceforge.net/lists/listinfo/junit-devel</a><br= > <br></blockquote></div> </blockquote></div><br></div> </div></div></blockquote></div><br></div> --047d7b33c9dcbba2b904ef9fd82e-- --===============0853540254082711623== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk --===============0853540254082711623== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Junit-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/junit-devel --===============0853540254082711623==--