You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2014/10/01 11:19:03 UTC
[3/6] git commit: Remove debugging text from site_structure.rb
Remove debugging text from site_structure.rb
Debugging messages inadvertantly left in this plugin causing unwanted
console output during build.
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/commit/8f3ad9be
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/tree/8f3ad9be
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/diff/8f3ad9be
Branch: refs/heads/master
Commit: 8f3ad9bebd3683ea94a6eaf87914685bbd41f439
Parents: e000f1d
Author: Richard Downer <ri...@apache.org>
Authored: Tue Sep 16 10:56:24 2014 +0100
Committer: Richard Downer <ri...@apache.org>
Committed: Tue Sep 16 10:56:24 2014 +0100
----------------------------------------------------------------------
_plugins/site_structure.rb | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn-site/blob/8f3ad9be/_plugins/site_structure.rb
----------------------------------------------------------------------
diff --git a/_plugins/site_structure.rb b/_plugins/site_structure.rb
index 15f9257..b3f3bb6 100644
--- a/_plugins/site_structure.rb
+++ b/_plugins/site_structure.rb
@@ -10,7 +10,6 @@ module SiteStructure
navgroups.each do |ng|
ng['page'] = site.pages.detect { |page| page.path == ng['page'] }
end
- puts navgroups
site.data['navgroups'] = navgroups
site.data['structure'] = gen_structure(site, SiteStructure::ROOT, nil, navgroups)
end
@@ -31,7 +30,6 @@ module SiteStructure
page.data['navgroup'] = parent.data['navgroup']
end
end
- puts "#{page.path} #{page.data['navgroup']}"
# Figure out second level menu
# If there's no parent => I'm at the top level, so no action