lib/jazzy/themes/jony/templates/doc.mustache in jazzy-0.13.4 vs lib/jazzy/themes/jony/templates/doc.mustache in jazzy-0.13.5
- old
+ new
@@ -41,14 +41,44 @@
{{^hide_name}}<h1>{{name}}</h1>{{/hide_name}}
{{> deprecation}}
{{#declaration}}
<div class="declaration">
<div class="language">
+ {{#other_language_declaration}}<p class="aside-title">{{language}}</p>{{/other_language_declaration}}
{{{declaration}}}
</div>
+ {{#other_language_declaration}}
+ <div class="language">
+ <p class="aside-title">Swift</p>
+ {{{other_language_declaration}}}
+ </div>
+ {{/other_language_declaration}}
</div>
{{/declaration}}
{{{overview}}}
+ {{#parameters.any?}}
+ <div>
+ <h4>Parameters</h4>
+ <table class="graybox">
+ <tbody>
+ {{#parameters}}
+ {{> parameter}}
+ {{/parameters}}
+ </tbody>
+ </table>
+ </div>
+ {{/parameters.any?}}
+ {{#return}}
+ <div>
+ <h4>Return Value</h4>
+ {{{return}}}
+ </div>
+ {{/return}}
+ {{#github_token_url}}
+ <div class="slightly-smaller">
+ <a href="{{{github_token_url}}}">Show on GitHub</a>
+ </div>
+ {{/github_token_url}}
</section>
{{> tasks}}
</section>
</article>
</div>