Index: chrome/common/extensions/docs/templates/private/api.html |
diff --git a/chrome/common/extensions/docs/templates/private/api.html b/chrome/common/extensions/docs/templates/private/api.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b9aaa45b1fb9304fa3089a6491943c2870a047ab |
--- /dev/null |
+++ b/chrome/common/extensions/docs/templates/private/api.html |
@@ -0,0 +1,24 @@ |
+{{- This is the shared template for API documentations. |
+ - |api| The API being documented. |
+ - |intro?| The intro documentation for the API, if any. |
+ - |samplesForApi| The API samples. |
+ - |sidenav| The sidenav items. |
+ - |platform| The platform. |
+ - |platformTitle| The title of the platform ("Extensions" or "Apps"). |
+ -}} |
+{{+content:partials.site |
+ platform:platform |
+ platformTitle:platformTitle |
+ sidenav:sidenav}} |
+{{?api.channelWarning.trunk +partials.warning_trunk/}} |
+{{?api.channelWarning.dev +partials.warning_dev/}} |
+{{?api.channelWarning.beta +partials.warning_beta/}} |
+<h1>{{api.title}}</h1> |
+$(table_of_contents) |
+{{+partials.intro_table api:api /}} |
+{{?intro +intro platform:platform platformTitle:platformTitle /}} |
+{{+partials.api_reference api:api |
+ platform:platform |
+ platformTitle:platformTitle |
+ samplesForApi:samplesForApi /}} |
+{{/partials.site}} |