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

Unified Diff: chrome/common/extensions/docs/templates/public/owners.html

Issue 453713002: Docserver: Generate a table of extension/app API owners (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mlg rebasing Created 6 years, 4 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
« no previous file with comments | « chrome/common/extensions/docs/server2/owners_data_source_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/templates/public/owners.html
diff --git a/chrome/common/extensions/docs/templates/public/owners.html b/chrome/common/extensions/docs/templates/public/owners.html
new file mode 100644
index 0000000000000000000000000000000000000000..c3d23c3be4df56a0c250ef98a8cd26ba44374e80
--- /dev/null
+++ b/chrome/common/extensions/docs/templates/public/owners.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Extensions/Apps API Owners</title>
+ <style>
+ .warning {
+ color: #f90101;
+ }
+ html, body {
+ width: 1400px;
+ }
+ table {
+ border-collapse: collapse;
+ }
+ table, th, td {
+ border: 1px solid #eee;
+ padding: 2px 6px;
+ }
+ tr:target {
+ font-weight: bold;
+ background-color: #dcdcdc;
+ }
+ #notes {
+ white-space: pre-line;
+ }
+ </style>
+ </head>
+ <body>
+ <h1><center>Extensions/Apps API Owners</center></h1>
+ <table>
+ <tr>
+ <th>API</th>
+ <th>Owners</th>
+ <th>Notes</th>
+ </tr>
+ {{#entry:owners.apis}}
+ <tr id={{entry.id}}>
+ <td>{{entry.apiName}}</td>
+ <td>
+ {{?entry.owners}}
+ {{#owner:entry.owners}}
+ <a href="https://codereview.chromium.org/user/{{owner.email}}">
+ {{owner.username}}</a>{{^owner.last}}, {{/owner.last}}
+ {{/entry.owners}}
+ {{:}}
+ <a href="#core"><span class="warning">No owners.</span></a>
+ {{/entry.owners}}
+ </td>
+ <td id="notes">
+ {{entry.notes}}
+ </td>
+ </tr>
+ {{/owners.apis}}
+ </table>
+ </body>
+</html>
« no previous file with comments | « chrome/common/extensions/docs/server2/owners_data_source_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698