diff options
author | Scott Main <smain@google.com> | 2012-12-03 08:54:37 -0800 |
---|---|---|
committer | Scott Main <smain@google.com> | 2012-12-03 08:54:37 -0800 |
commit | df08adae5b003bfb056341254c35a16ec9295afe (patch) | |
tree | 9cdf61c371021bf678dfa82a78de9a7cd454cba1 /tools/droiddoc/templates-sdk | |
parent | 8fa5351cba16dcac5640f6e0cce794f29e1034f9 (diff) | |
download | build-df08adae5b003bfb056341254c35a16ec9295afe.zip build-df08adae5b003bfb056341254c35a16ec9295afe.tar.gz build-df08adae5b003bfb056341254c35a16ec9295afe.tar.bz2 |
docs: add "Google Services" search tab
Change-Id: I624f99aeb2f760d646f37d783ebb31b5d7d372b8
Diffstat (limited to 'tools/droiddoc/templates-sdk')
-rw-r--r-- | tools/droiddoc/templates-sdk/assets/js/docs.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-sdk/assets/js/docs.js b/tools/droiddoc/templates-sdk/assets/js/docs.js index 59ddb29..e15ab84 100644 --- a/tools/droiddoc/templates-sdk/assets/js/docs.js +++ b/tools/droiddoc/templates-sdk/assets/js/docs.js @@ -1721,6 +1721,10 @@ function loadSearchResults() { referenceSearcher.setUserDefinedLabel("Reference"); referenceSearcher.setSiteRestriction("http://developer.android.com/reference/"); + googleSearcher = new google.search.WebSearch(); + googleSearcher.setUserDefinedLabel("Google Services"); + googleSearcher.setSiteRestriction("http://developer.android.com/google/"); + blogSearcher = new google.search.WebSearch(); blogSearcher.setUserDefinedLabel("Blog"); blogSearcher.setSiteRestriction("http://android-developers.blogspot.com"); @@ -1731,6 +1735,7 @@ function loadSearchResults() { searchControl.addSearcher(trainingSearcher, searchOptions); searchControl.addSearcher(guidesSearcher, searchOptions); searchControl.addSearcher(referenceSearcher, searchOptions); + searchControl.addSearcher(googleSearcher, searchOptions); searchControl.addSearcher(blogSearcher, searchOptions); // configure result options |