summaryrefslogtreecommitdiffhomepage
path: root/templates/default/header/html/setup.rb
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-09-25 13:12:22 -0300
committerSeba Gamboa <[email protected]>2015-09-25 13:12:22 -0300
commit48fb10fef522ab9262061bc612b44d74a8bda17d (patch)
treec48dcb77245e4a6b15af4366e96c31d6eb1cdd93 /templates/default/header/html/setup.rb
parente0e43a79d282d69f2f45d5cf71e0e1154357d181 (diff)
downloadyard-mruby-48fb10fef522ab9262061bc612b44d74a8bda17d.tar.gz
yard-mruby-48fb10fef522ab9262061bc612b44d74a8bda17d.zip
Listing functions
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