diff options
| author | Seba Gamboa <[email protected]> | 2015-09-24 18:25:12 -0300 |
|---|---|---|
| committer | Seba Gamboa <[email protected]> | 2015-09-24 18:25:12 -0300 |
| commit | c1f2404de71e9a8f73271b05f59a225728212069 (patch) | |
| tree | b4f3842661dd6edd38c594579335e1ae5ea61f33 /templates/default/layout/html | |
| parent | cc49ade5e7029e4d8d8d62b7c09590042b43d65d (diff) | |
| download | yard-mruby-c1f2404de71e9a8f73271b05f59a225728212069.tar.gz yard-mruby-c1f2404de71e9a8f73271b05f59a225728212069.zip | |
Generating C API HTML Layout
Diffstat (limited to 'templates/default/layout/html')
| -rw-r--r-- | templates/default/layout/html/setup.rb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/templates/default/layout/html/setup.rb b/templates/default/layout/html/setup.rb new file mode 100644 index 0000000..c6e52d2 --- /dev/null +++ b/templates/default/layout/html/setup.rb @@ -0,0 +1,41 @@ +def init + super +end + +# +# Append yard-cucumber stylesheet to yard core stylesheets +# +def stylesheets + super + %w(css/mruby.css) +end + +# +# Append yard-cucumber javascript to yard core javascripts +# +def javascripts + super + %w(js/mruby.js) +end + +# +# Append yard-cucumber specific menus 'features' and 'tags' +# +# 'features' and 'tags' are enabled by default. +# +# 'step definitions' and 'steps' may be enabled by setting up a value in +# yard configuration file '~/.yard/config' +# +# @example `~/.yard.config` +# +# yard-cucumber: +# menus: [ 'features', 'directories', 'tags', 'step definitions', 'steps' ] +# +def menu_lists + + [ { + type: 'header', + title: 'C API', + search_title: 'C API' + } ] + super + +end + |
