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

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

Issue 149673004: Rework API reference pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bumped versions Created 6 years, 10 months 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/function_details.html
diff --git a/chrome/common/extensions/docs/templates/private/function_details.html b/chrome/common/extensions/docs/templates/private/function_details.html
index 9322ce117b7d5ad220b93e55ab69b8a581c92388..63424c36cc19eeb7e098654cd837167d2c4741a6 100644
--- a/chrome/common/extensions/docs/templates/private/function_details.html
+++ b/chrome/common/extensions/docs/templates/private/function_details.html
@@ -11,21 +11,19 @@
</p>
{{/description}}
{{?parameters}}
- <h4 title="">Parameters</h4>
- <dl>
+ <table {{?parentName}}class="innerTable"{{/}}>
+ <tr><th colspan="3">Parameters</th></tr>
{{#p:parameters}}
{{+partials.parameter_full
parameter:p
parentName:name
+ parentCallback:callback
hideParamTOC:true /}}
{{/parameters}}
- </dl>
+ </table>
{{/parameters}}
- {{?callback}}
- {{+partials.callback callback:callback/}}
- {{/callback}}
{{?returns.is_object}}
- <h4 title="">Properties of return type</h4>
+ <h4 title="">Returns</h4>
{{+partials.type type:returns/}}
{{/returns.is_object}}
</div>

Powered by Google App Engine
This is Rietveld 408576698