sort import and mixins by name, and hide private mixins from the docs.
This commit is contained in:
parent
458a19361d
commit
ff0bc5450e
@ -25,7 +25,7 @@ def imports(item)
|
|||||||
imports << child.imported_filename
|
imports << child.imported_filename
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
imports
|
imports.sort
|
||||||
end
|
end
|
||||||
|
|
||||||
def reference_item(options)
|
def reference_item(options)
|
||||||
@ -114,7 +114,7 @@ def mixins(item)
|
|||||||
comment = nil
|
comment = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
mixins
|
mixins.reject{|m| m.comment =~ /@private/}.sort_by{|m| m.name}
|
||||||
end
|
end
|
||||||
|
|
||||||
def constants(item)
|
def constants(item)
|
||||||
|
Loading…
Reference in New Issue
Block a user