Skip to content

Commit

Permalink
update eol distros list, make lunar active version and add M-Turtle f…
Browse files Browse the repository at this point in the history
…or future version
  • Loading branch information
mikaelarguedas committed Jan 23, 2017
1 parent b9ab8dc commit 10eb7cd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion custom/js/rosversion.js
Expand Up @@ -54,7 +54,7 @@ function toggleDocStatus()
}

$(document).ready(function() {
var activedistro = "kinetic"; //CHANGE THIS LINE TO CHANGE THE DISTRO DISPLAYED BY DEFAULT
var activedistro = "lunar"; //CHANGE THIS LINE TO CHANGE THE DISTRO DISPLAYED BY DEFAULT
var url_distro = getURLParameter('distro');
if (url_distro) {
activedistro=url_distro;
Expand Down
2 changes: 1 addition & 1 deletion macro/PackageHeader.py
Expand Up @@ -7,7 +7,7 @@
generates_headings = True
dependencies = []

hidden_distros = ['boxturtle', 'cturtle', 'diamondback', 'electric', 'fuerte', 'groovy', 'unstable']
hidden_distros = ['boxturtle', 'cturtle', 'diamondback', 'electric', 'fuerte', 'groovy', 'hydro', 'unstable']

for hidden_distro in hidden_distros if hidden_distro in distro_names:
distro_names.remove(hidden_distro)
Expand Down
2 changes: 1 addition & 1 deletion macro/StackHeader.py
Expand Up @@ -8,7 +8,7 @@
generates_headings = True
dependencies = []

hidden_distros = ['boxturtle', 'cturtle', 'diamondback', 'electric', 'fuerte', 'groovy', 'unstable']
hidden_distros = ['boxturtle', 'cturtle', 'diamondback', 'electric', 'fuerte', 'groovy', 'hydro', 'unstable']

for hidden_distro in hidden_distros if hidden_distro in distro_names:
distro_names.remove(hidden_distro)
Expand Down
5 changes: 2 additions & 3 deletions macro/Version.py
Expand Up @@ -47,11 +47,10 @@
def execute(macro, args):
if args:
version = str(args)
if version.lower() == 'lunar':
# TODO Change when l-turtle name is decided
if version.lower() == 'm-turtle':
return ('<span style="background-color:#FFFF00; '
'font-weight:bold; padding: 3px;">'
'Expected in Lunar</span>')
'Expected in M-Turtle</span>')
else:
return ('<span style="background-color:#FFFF00; '
'font-weight:bold; padding: 3px;">'
Expand Down
6 changes: 3 additions & 3 deletions macro/macroutils.py
Expand Up @@ -11,9 +11,9 @@

NETWORK_TIMEOUT = 3

distro_names = ['boxturtle', 'cturtle', 'diamondback', 'electric', 'fuerte', 'groovy', 'hydro', 'indigo', 'jade', 'kinetic', 'unstable']
distro_names_indexed = ['diamondback', 'electric', 'fuerte', 'groovy', 'hydro', 'indigo', 'jade', 'kinetic', 'unstable'] #boxturtle and cturtle not indexed
distro_names_buildfarm = ['indigo', 'jade', 'kinetic']
distro_names = ['boxturtle', 'cturtle', 'diamondback', 'electric', 'fuerte', 'groovy', 'hydro', 'indigo', 'jade', 'kinetic', 'lunar', 'unstable']
distro_names_indexed = ['diamondback', 'electric', 'fuerte', 'groovy', 'hydro', 'indigo', 'jade', 'kinetic', 'lunar', 'unstable'] #boxturtle and cturtle not indexed
distro_names_buildfarm = ['indigo', 'jade', 'kinetic', 'lunar']

doc_url = "http://docs.ros.org/"

Expand Down

0 comments on commit 10eb7cd

Please sign in to comment.