Unified · Split
| @@ -35,7 +35,7 @@ module Docs · 34 unmodified lines | |||
| 35 | type = path.split("/")[0..-2] | 35 | type = path.split("/")[0..-2] |
| 36 | type = type.map(&:capitalize).join(" ") | 36 | type = type.map(&:capitalize).join(" ") |
| 37 | # really bad way to sort | 37 | # really bad way to sort |
| 38 | type = type.gsub(/^(Compat|Error)\b/, "~ \\1") | 38 | type = type.gsub(/^(Compat|Error)\b/, "\u2063\\1") # U+2063 INVISIBLE SEPARATOR |
| 39 | else | 39 | else |
| 40 | name = type = nil | 40 | name = type = nil |
| 41 | end | 41 | end |