summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/docs/static
diff options
context:
space:
mode:
authormkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-16 09:42:05 +0000
committermkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-16 09:42:05 +0000
commit1e74ff419752f2ed33b79321c6d675395c0f3f45 (patch)
tree283e03bc386a61d280f77c3691b00c6e5b48396c /chrome/common/extensions/docs/static
parentea041fe258b48823ddb9cffd4600d9907cd79a7a (diff)
downloadchromium_src-1e74ff419752f2ed33b79321c6d675395c0f3f45.zip
chromium_src-1e74ff419752f2ed33b79321c6d675395c0f3f45.tar.gz
chromium_src-1e74ff419752f2ed33b79321c6d675395c0f3f45.tar.bz2
Extension docs: Links from `samples.html` now point to the correct branch.
This CL also drops the "Browse Source" link, as there's no good way to make it point to the correct branch in our current documentation system, and it was (happily) redundant with the list of files that we already display for each sample. BUG=107595 TEST= Review URL: http://codereview.chromium.org/8961001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/docs/static')
-rw-r--r--chrome/common/extensions/docs/static/samples.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/common/extensions/docs/static/samples.html b/chrome/common/extensions/docs/static/samples.html
index 45f511a..0ae778c 100644
--- a/chrome/common/extensions/docs/static/samples.html
+++ b/chrome/common/extensions/docs/static/samples.html
@@ -49,9 +49,7 @@
for (var i = 0; i < source_files.length; i++) {
sample.source_files.push({
'file': source_files[i],
- 'url': 'http://src.chromium.org/viewvc/chrome/trunk' +
- '/src/chrome/common/extensions/docs/' + sample.path +
- source_files[i] + '?content-type=text/plain'
+ 'url': sample.path + source_files[i]
});
}
});
@@ -108,8 +106,7 @@
</ul>
</div>
<div>
- <a jsvalues="href:'http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/' + path" target="_blank">Browse source</a>
- - <a jsvalues="href:$this.zip_path">Download source</a>
+ <a jsvalues="href:$this.zip_path">Download source</a>
<!-- Only show the Install CRX link if a CRX file is provided -->
<span jsdisplay="$this.crx_path != null">
- <a jsvalues="href:$this.crx_path">Install extension</a>