diff options
| author | Seba Gamboa <[email protected]> | 2015-09-24 18:30:12 -0300 |
|---|---|---|
| committer | Seba Gamboa <[email protected]> | 2015-09-24 18:30:12 -0300 |
| commit | 5a6d8a0131140873fa1cd37bd3d76b0b06d633ae (patch) | |
| tree | 16e82d4640e8e8e90f3b98fa3104f74cad73bc66 /templates/default/fulldoc/html | |
| parent | c1f2404de71e9a8f73271b05f59a225728212069 (diff) | |
| download | yard-mruby-5a6d8a0131140873fa1cd37bd3d76b0b06d633ae.tar.gz yard-mruby-5a6d8a0131140873fa1cd37bd3d76b0b06d633ae.zip | |
Renamed include to headers
Diffstat (limited to 'templates/default/fulldoc/html')
| -rw-r--r-- | templates/default/fulldoc/html/setup.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |
