mirror of
https://github.com/hanzoai/workbox.git
synced 2026-09-24 17:04:35 +00:00
* The contents of v3, reconciled with master. * Remove a few stray files. * Another extra file. * Two more deletions. * Setting up for stable release * v3.0.0 * Updating CDN and versions * Doc repair for wf (#1358) * Changing doc structure to work with WF * Changing doc structure to work with WF
75 lines
1.8 KiB
Handlebars
75 lines
1.8 KiB
Handlebars
{{#any docs}}
|
|
{{#first docs}}
|
|
{{#embed 'symbol-header'}}{{/embed}}
|
|
{{/first}}
|
|
{{/any}}
|
|
|
|
{{#each docs}}
|
|
{{#if @first}}
|
|
{{!-- heading that indicates what we're about to list --}}
|
|
{{#is pageCategory 'classes'}}
|
|
<section>
|
|
{{else}}
|
|
{{#any exports}}
|
|
<section>
|
|
<h>{{translateHeading 'exports' docs}}</h>
|
|
{{/any}}
|
|
{{/is}}
|
|
{{/if}}
|
|
|
|
{{!--
|
|
If a module exports only one symbol, document the symbol in the overview, since it's not a
|
|
member of anything else.
|
|
--}}
|
|
{{#is kind 'module'}}
|
|
{{#if exports}}
|
|
{{#each exports}}
|
|
{{#withOnly symbol=this}}
|
|
<section>
|
|
{{#embed 'symbol-detail'}}{{/embed}}
|
|
</section>
|
|
{{/withOnly}}
|
|
{{/each}}
|
|
{{/if}}
|
|
{{!-- Classes also need additional information in the overview. --}}
|
|
{{else is kind 'class'}}
|
|
{{#unless hideconstructor}}
|
|
<section>
|
|
<h>Constructor</h>
|
|
<section>
|
|
{{#withOnly symbol=this}}
|
|
{{#embed 'symbol-detail'}}{{/embed}}
|
|
{{/withOnly}}
|
|
</section>
|
|
</section>
|
|
{{/unless}}
|
|
{{!-- Externals also need additional information in the overview. --}}
|
|
{{else is kind 'external'}}
|
|
<section>
|
|
{{#with this}}
|
|
<dl {{~cssClass '!dl-compact'}}>
|
|
{{#embed 'details'}}{{/embed}}
|
|
</dl>
|
|
{{/with}}
|
|
</section>
|
|
{{!-- Namespaces that are functions also need additional information in the overview. --}}
|
|
{{else is kind 'namespace'}}
|
|
{{#if (needsSignature this)}}
|
|
<section>
|
|
{{#withOnly symbol=this}}
|
|
{{#embed 'symbol-detail'}}{{/embed}}
|
|
{{/withOnly}}
|
|
</section>
|
|
{{/if}}
|
|
{{/is}}
|
|
|
|
{{#if @last}}
|
|
{{#is pageCategory 'classes'}}
|
|
</section>
|
|
{{else}}
|
|
{{#any exports}}
|
|
</section>
|
|
{{/any}}
|
|
{{/is}}
|
|
{{/if}}
|
|
{{/each}} |