Commit 0e54f20d authored by Florent Didier's avatar Florent Didier
Browse files

[dev] oar_properties.rb: sort properties display by name

parent adb4f428
...@@ -212,7 +212,7 @@ class OarPropertiesGenerator < WikiGenerator ...@@ -212,7 +212,7 @@ class OarPropertiesGenerator < WikiGenerator
@@categories.sort.to_h.each { |cat, cat_properties| @@categories.sort.to_h.each { |cat, cat_properties|
@generated_content += MW::heading(cat, 2) + MW::LINE_FEED @generated_content += MW::heading(cat, 2) + MW::LINE_FEED
cat_properties.each{ |property| cat_properties.sort.each{ |property|
values = oar_properties[property]["values"] rescue [] values = oar_properties[property]["values"] rescue []
@generated_content += MW::heading(MW::code(property), 3) + MW::LINE_FEED @generated_content += MW::heading(MW::code(property), 3) + MW::LINE_FEED
@generated_content += @@properties[property]["description"] + MW::LINE_FEED @generated_content += @@properties[property]["description"] + MW::LINE_FEED
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment