summaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-24 18:30:12 -0300
committerSeba Gamboa <[email protected]>2015-09-24 18:30:12 -0300
commit5a6d8a0131140873fa1cd37bd3d76b0b06d633ae (patch)
tree16e82d4640e8e8e90f3b98fa3104f74cad73bc66 /templates
parentc1f2404de71e9a8f73271b05f59a225728212069 (diff)
downloadyard-mruby-5a6d8a0131140873fa1cd37bd3d76b0b06d633ae.tar.gz
yard-mruby-5a6d8a0131140873fa1cd37bd3d76b0b06d633ae.zip
Renamed include to headers
Diffstat (limited to 'templates')
-rw-r--r--templates/default/fulldoc/html/setup.rb4
-rw-r--r--templates/default/headersroot/html/headers_list.erb (renamed from templates/default/includedirectory/html/headers_list.erb)0
-rw-r--r--templates/default/headersroot/html/setup.rb (renamed from templates/default/includedirectory/html/setup.rb)0
3 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 }
diff --git a/templates/default/includedirectory/html/headers_list.erb b/templates/default/headersroot/html/headers_list.erb
index 1b524aa..1b524aa 100644
--- a/templates/default/includedirectory/html/headers_list.erb
+++ b/templates/default/headersroot/html/headers_list.erb
diff --git a/templates/default/includedirectory/html/setup.rb b/templates/default/headersroot/html/setup.rb
index 5945ae4..5945ae4 100644
--- a/templates/default/includedirectory/html/setup.rb
+++ b/templates/default/headersroot/html/setup.rb