From 5a6d8a0131140873fa1cd37bd3d76b0b06d633ae Mon Sep 17 00:00:00 2001 From: Seba Gamboa Date: Thu, 24 Sep 2015 18:30:12 -0300 Subject: Renamed include to headers --- templates/default/fulldoc/html/setup.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/default/fulldoc/html') diff --git a/templates/default/fulldoc/html/setup.rb b/templates/default/fulldoc/html/setup.rb index 81ac35c..cd2e29a 100644 --- a/templates/default/fulldoc/html/setup.rb +++ b/templates/default/fulldoc/html/setup.rb @@ -1,7 +1,7 @@ def init super - YARD::MRuby::CodeObjects::INCLUDE_DIRECTORY.tap do |root| + YARD::MRuby::CodeObjects::HEADERS_ROOT.tap do |root| # Generates the requirements splash page with the 'include' template serialize root @@ -49,7 +49,7 @@ end def class_list(root = Registry.root) return super unless root == Registry.root - include_namespace = YARD::MRuby::CodeObjects::INCLUDE_DIRECTORY + include_namespace = YARD::MRuby::CodeObjects::HEADERS_ROOT root.instance_eval { children.delete include_namespace } out = super(root) root.instance_eval { children.push include_namespace } -- cgit v1.2.3