Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / common / extensions / docs / templates / private / api.html
blobaf15738a2f92d320935f1e07a9d86c47bf57b0fb
1 {{- This is the shared template for API documentations.
2 - |api| The API being documented.
3 - |intro?| The intro documentation for the API, if any.
4 - |samplesForApi| The API samples.
5 - |sidenav| The sidenav items.
6 - |platform| The platform.
7 - |platformTitle| The title of the platform ("Extensions" or "Apps").
8 -}}
9 {{+content:partials.site
10 platform:platform
11 platformTitle:platformTitle
12 sidenav:sidenav}}
13 {{?api.channelWarning.master +partials.warning_master/}}
14 {{?api.channelWarning.dev +partials.warning_dev/}}
15 {{?api.channelWarning.beta +partials.warning_beta/}}
16 <article>
17 <div itemprop="articleBody" class="api">
18 <h1>{{api.title}}</h1>
19 {{+partials.intro_table api:api /}}
20 {{?chrome_os_only +partials.chrome_os_only/}}
21 {{?intro}}
22 <section>
23 {{+intro platform:platform platformTitle:platformTitle /}}
24 </section>
25 {{/intro}}
26 {{+partials.api_summary api:api/}}
27 <section>
28 {{+partials.api_reference api:api
29 platform:platform
30 platformTitle:platformTitle
31 samplesForApi:samplesForApi /}}
32 </section>
33 </div>
34 </article>
35 {{/partials.site}}