Sort docs by name in the manifest

Rel: 97dbb2afde
pull/602/merge
Thibaut Courouble 8 years ago
parent f34385106f
commit 5f45ead400

@ -33,8 +33,8 @@ module Docs
def self.all
Dir["#{root_path}/docs/scrapers/**/*.rb"].
map { |file| File.basename(file, '.rb') }.
sort!.
map { |name| const_get(name.camelize) }.
sort { |a, b| a.name.casecmp(b.name) }.
reject(&:abstract)
end

Loading…
Cancel
Save