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 <stephen.alan.connolly@gmail.com> 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 <kcooney@google.com> 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" <stephen.alan.connolly@gmail.com> 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...


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
Junit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/junit-devel