Commit 381a0de6 authored by lazyboy's avatar lazyboy Committed by Commit bot

docs: Fix some broken links to samples where the #hash-word is supposed to be a search term.

BUG=486488
Test=Check some link that has search term, e.g.
https://developer.chrome.com/extensions/browsingData#samples
click on the "on the samples page" link.

Review URL: https://codereview.chromium.org/1124343004

Cr-Commit-Position: refs/heads/master@{#329264}
parent e8280f3a
......@@ -455,7 +455,7 @@ document.getElementById("someImage").src = imgURL;
<p>
You can find many
<a href="samples#script">examples that use content scripts</a>.
<a href="samples#search:script">examples that use content scripts</a>.
A simple example of communication via messages is in the
<a href="samples#message-timer">Message Timer</a>.
See <a href="samples#page-redder">Page Redder</a> and
......
......@@ -20,7 +20,7 @@ which we expect to finalize soon:
<b>devtools</b>,
<b>permissions</b>,
For examples of using the experimental APIs, see
<a href="samples#experimental">Samples</a>.
<a href="samples#search:experimental">Samples</a>.
</p>
{{/is_apps}}
......
......@@ -182,5 +182,6 @@ For an effective override page, follow these guidelines:
<p>
See the
<a href="samples#chrome_url_overrides">override samples</a>.
<!-- TODO(vasilii): Fix broken link. -->
<a href="samples#search:chrome_url_overrides">override samples</a>.
</p>
......@@ -151,5 +151,5 @@ chrome.browsingData.remove({
<h2 id="samples">Examples</h2>
<p>
Samples for the <code>browsingData</code> API are available
<a href="samples#browsingData">on the samples page</a>.
<a href="samples#search:browsingData">on the samples page</a>.
</p>
......@@ -137,5 +137,5 @@ tries to keep the identifiers stable across plugin updates.
<p>
You can find samples of this API on the
<a href="samples#contentSettings">sample page</a>.
<a href="samples#search:contentSettings">sample page</a>.
</p>
......@@ -50,4 +50,4 @@ For example:
<p>
You can find samples of this API on the
<a href="samples#contextMenus">sample page</a>.
<a href="samples#search:contextMenus">sample page</a>.
......@@ -30,5 +30,5 @@ to use this API.
<p>
You can find samples of this API in
<a href="samples#debugger">Samples</a>.
<a href="samples#search:debugger">Samples</a>.
</p>
......@@ -119,5 +119,5 @@ chrome.devtools.inspectedWindow.eval(
<p>
You can find more examples that use Developer Tools APIs in
<a href="samples#devtools">Samples</a>.
<a href="samples#search:devtools">Samples</a>.
</p>
......@@ -45,5 +45,5 @@ chrome.devtools.network.onRequestFinished.addListener(
<p>
You can find more examples that use this API in
<a href="samples#devtools.network">Samples</a>.
<a href="samples#search:devtools.network">Samples</a>.
</p>
......@@ -65,5 +65,5 @@ category.onAuditStarted.addListener(function(results) {
<p>
You can find more examples that use this API in
<a href="samples#devtools.audits">Samples</a>.
<a href="samples#search:devtools.audits">Samples</a>.
</p>
......@@ -68,4 +68,4 @@ icon, but it is displayed in color.
<p>
You can find samples of this API on the
<a href="samples#omnibox">sample page</a>.
<a href="samples#search:omnibox">sample page</a>.
......@@ -94,6 +94,7 @@
<h2 id="examples">Examples</h2>
<p>
For example code, see the
<a href="samples#privacy">Privacy API samples</a>.
<!-- TODO(mkwst): Fix broken link. -->
<a href="samples#search:privacy">Privacy API samples</a>.
</p>
......@@ -21,5 +21,5 @@ to use this API.
<p>
You can find samples of this API in
<a href="samples#topsites">Samples</a>.
<a href="samples#search:topsites">Samples</a>.
</p>
......@@ -310,5 +310,5 @@ chrome.webRequest.onBeforeSendHeaders.addListener(
["blocking", "requestHeaders"]);
</pre>
<p> For more example code, see the <a href="samples#webrequest">web request
<p> For more example code, see the <a href="samples#search:webrequest">web request
samples</a>.</p>
......@@ -42,7 +42,7 @@
<h2 id="samples">Sample {{platformTitle}}</h2>
<ul>
{{#sample:samplesForApi}}
<li><strong><a href="samples#{{sample.id}}">{{sample.name}}</a></strong>
<li><strong><a href="samples#search:{{sample.id}}">{{sample.name}}</a></strong>
{{?sample.description}}
&ndash; {{sample.description}}
{{/sample.description}}</li>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment