Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7504)

Unified Diff: chrome/common/extensions/docs/templates/private/api.html

Issue 92143003: Docserver: Reorganise the site templates into a single site.html file which (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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}}

Powered by Google App Engine
This is Rietveld 408576698