From ff0bc5450e7ab85169d7fe464f0b22d126d0ff39 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 25 Apr 2010 19:02:18 -0700 Subject: [PATCH] sort import and mixins by name, and hide private mixins from the docs. --- doc-src/lib/stylesheets.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc-src/lib/stylesheets.rb b/doc-src/lib/stylesheets.rb index 4e668010..395e481e 100644 --- a/doc-src/lib/stylesheets.rb +++ b/doc-src/lib/stylesheets.rb @@ -25,7 +25,7 @@ def imports(item) imports << child.imported_filename end end - imports + imports.sort end def reference_item(options) @@ -114,7 +114,7 @@ def mixins(item) comment = nil end end - mixins + mixins.reject{|m| m.comment =~ /@private/}.sort_by{|m| m.name} end def constants(item)