Ask Your Question

Is it possible to specify a default ros version with the roswiki macros?

asked 2011-10-28 07:08:44 -0500

Adolfo Rodriguez T gravatar image

I'm writing ros-distribution-specific wiki pages as shown in the bottom of the post, and I'd like to display by default a page that does not correspond to the latest stable release (in my case i want to display diamondback instead of electric). Is this possible?, and if so, where can I find the relevant documentation?.



{{{#!wiki version diamondback

{{{#!wiki version electric
edit retag flag offensive close delete

2 answers

Sort by ยป oldest newest most voted

answered 2011-10-28 13:50:06 -0500

kwc gravatar image

The default version is currently hardcoded in the javascript. We don't have cycles to rewrite this right now, but would happily accept a patch to the javascript and wiki macro code that would enable more customized setting.

The code for the javascript is here:

The code for the version macro is here:

edit flag offensive delete publish link more

answered 2011-10-28 08:03:50 -0500

joq gravatar image

The version is global (recently changed to Electric).

I don't know any way to override that. Maybe someone else does.

edit flag offensive delete publish link more


You can write you're own buttons using the seesaw macros but I'd recommend not doing that and just putting a clear header at the top, saying "If you want Diamondback, click below." Or you could lay the documentation out side by side and not use any macros. tfoote ( 2011-10-28 13:50:11 -0500 )edit
The clear heading stating the supported version is what I had and I'll stick to that for now. Thanks all for pointing out the relevant places that enforce the current behavior. Adolfo Rodriguez T ( 2011-11-02 04:33:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]


Asked: 2011-10-28 07:08:44 -0500

Seen: 97 times

Last updated: Oct 28 '11