summaryrefslogtreecommitdiffhomepage
path: root/templates/default/header/html/setup.rb
diff options
context:
space:
mode:
authorSeba Gamboa <[email protected]>2015-10-12 14:13:11 -0200
committerSeba Gamboa <[email protected]>2015-10-12 14:13:11 -0200
commit89853c9da5d1274612f28ef8cb3e1ab22501e856 (patch)
tree733ac18fbbd60fd492b65131bfa313015eba9089 /templates/default/header/html/setup.rb
parentd2538783741de8681bdd0fa7e7e268bc24eddb4a (diff)
parent4d1b7420a4aaaaa8da14091d95ed007f4efb93ab (diff)
downloadyard-mruby-89853c9da5d1274612f28ef8cb3e1ab22501e856.tar.gz
yard-mruby-89853c9da5d1274612f28ef8cb3e1ab22501e856.zip
Merge pull request #8 from takahashim/typedef_handler
support typedef documentation
Diffstat (limited to 'templates/default/header/html/setup.rb')
-rw-r--r--templates/default/header/html/setup.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/default/header/html/setup.rb b/templates/default/header/html/setup.rb
index 204f823..7bb0159 100644
--- a/templates/default/header/html/setup.rb
+++ b/templates/default/header/html/setup.rb
@@ -5,6 +5,7 @@ def init
sections :header, :pre_docstring, T('docstring'), :includes,
:function_summary, [:item_summary],
:define_summary, [T('docstring')],
+ :typedef_summary, [T('docstring')],
:function_details_list, [T('function_details')]
end
@@ -22,3 +23,10 @@ def define_listing
@defines = object.defines
@defines
end
+
+def typedef_listing
+ return @typedefs if @typedefs
+
+ @typedefs = object.typedefs
+ @typedefs
+end