summaryrefslogtreecommitdiffhomepage
path: root/templates/default/header/html/setup.rb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/default/header/html/setup.rb')
-rw-r--r--templates/default/header/html/setup.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/default/header/html/setup.rb b/templates/default/header/html/setup.rb
index 6e5f8f9..52eb81c 100644
--- a/templates/default/header/html/setup.rb
+++ b/templates/default/header/html/setup.rb
@@ -1,8 +1,10 @@
-def init
- super
+include T('default/module')
+include YARD::MRuby::Templates::Helpers::HTMLHelper
- sections.push :header
- sections.push :function_summary
+def init
+ sections :header, :pre_docstring, T('docstring'), :includes,
+ :function_summary, [:item_summary],
+ :function_details_list, [T('function_details')]
end