History

es-toolkit: use U+2063 INVISIBLE SEPARATOR

Simon Legner committed 1 year ago

Commit 90fed111 parent 93c3c571 file · +1 −1Browse files

Unified · Split

lib/docs/scrapers/es_toolkit.rb+1−1
@@ -35,7 +35,7 @@ module Docs · 34 unmodified lines
3535 type = path.split("/")[0..-2]
3636 type = type.map(&:capitalize).join(" ")
3737 # 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
3939 else
4040 name = type = nil
4141 end

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t