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

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

Issue 99703004: Docserver: Fix the TOC rendering for API references by fixing the haphazard way (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_reference.html
diff --git a/chrome/common/extensions/docs/templates/private/api_reference.html b/chrome/common/extensions/docs/templates/private/api_reference.html
index 6a879c2a313e871d47058298686bf9184cd540ff..dd369118195ad84936c3b52aff36d0fc475d8012 100644
--- a/chrome/common/extensions/docs/templates/private/api_reference.html
+++ b/chrome/common/extensions/docs/templates/private/api_reference.html
@@ -1,6 +1,5 @@
<div class="api_reference">
{{- This is a span not a header-tag so that it doesn't show up in the TOC. -}}
- <span id="api-reference-header">Reference</span>
{{?api.types}}
<h2 id="types">Types</h2>
{{#t:api.types}}
@@ -26,7 +25,7 @@
{{/}}
{{/api.events}}
{{?api.domEvents}}
- <h2 id="dom_events">DOM events</h2>
+ <h2 id="dom_events">DOM Events</h2>
<dd>
Listeners can be added for these events using the standard HTML
<a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addEventListener">addEventListener</a>
@@ -38,7 +37,7 @@
{{/api.domEvents}}
</div>
{{?samples_list}}
- <h2 id="samples">Sample {{platformTitle}} that use {{api.namespace}}</h2>
+ <h2 id="samples">Sample {{platformTitle}}</h2>
<ul>
{{#sample:samples_list}}
<li><strong><a href="samples.html#{{sample.id}}">{{sample.name}}</a></strong>

Powered by Google App Engine
This is Rietveld 408576698