Skip to content

Commit b1560f2

Browse files
committed
docs: add G+ page announcement to homepage
Change-Id: I400334fc1465b67ec34af2071a6cca5b6eda116f
1 parent 5b08738 commit b1560f2

File tree

3 files changed

+50
-3
lines changed

3 files changed

+50
-3
lines changed

docs/html/index.jd

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,20 @@ href="{@docRoot}resources/dashboard/platform-versions.html">Learn more &raquo;</
142142
+ "href='{@docRoot}sdk/api_diff/15/changes.html'>diff report</a>. If you're new to Android, "
143143
+ "get started with the <a href='/sdk/index.html'>SDK starter package</a>.</p>"
144144
},
145+
146+
'plus': {
147+
'layout':"imgLeft",
148+
'icon':"google-plus-small.png",
149+
'name':"Google+ Page",
150+
'img':"google-plus.png",
151+
'title':"Android Developers on Google+",
152+
'desc': "<p>We now have a Google+ page for <a "
153+
+ "href='https://plus.google.com/108967384991768947849'>+Android Developers</a>. "
154+
+ "We'll use it to host Hangouts for developers, talk about the latest releases, "
155+
+ "development and design tips, and much more.</p>"
156+
+ "<div style='margin-top:.7em'><g:plus href='https://plus.google.com/108967384991768947849' "
157+
+ "size=\"smallbadge\" width=\"275\"></g:plus></div>"
158+
},
145159

146160
'tv': {
147161
'layout':"imgLeft",
@@ -186,5 +200,19 @@ href="{@docRoot}resources/dashboard/platform-versions.html">Learn more &raquo;</
186200
</script>
187201
<script type="text/javascript" src="{@docRoot}assets/carousel.js"></script>
188202
<script type="text/javascript">
189-
initCarousel("sdk");
203+
initCarousel("plus");
190204
</script>
205+
206+
<script type="text/javascript" src="https://plus.google.com/108967384991768947849"
207+
rel="publisher"></script>
208+
<script type="text/javascript">
209+
window.___gcfg = {lang: 'en'};
210+
(function()
211+
{var po = document.createElement("script");
212+
po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";
213+
var s = document.getElementsByTagName("script")[0];
214+
s.parentNode.insertBefore(po, s);
215+
})();</script>
216+
<style type="text/css">
217+
#___plus_0, #___plus_0 iframe, #___plus_0 { width: 275px !important; }
218+
</style>

docs/html/resources/community-more.jd

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
community=true
2-
page.title=IRC and Twitter
2+
page.title=IRC, G+, Twitter
33
@jd:body
44

55
<p>In addition to the <a href="community-groups.html">Android developer forums</a>, you can participate in the Android developer community through IRC and you can follow us on Twitter. </p>
@@ -45,8 +45,27 @@ does not require any installation, to join discussions on the Android IRC channe
4545
</li>
4646
</ul>
4747

48+
49+
<h3 id="gplus">Google+</h3>
50+
<p>We use a Google+ page to host Hangouts for developers, talk about the latest
51+
releases, development and design tips, and much more.</p>
52+
53+
<div style='margin-top:1em'><g:plus href='https://plus.google.com/108967384991768947849'
54+
size='badge'></g:plus></div>
55+
56+
4857
<h3 id="twitter">Twitter</h3>
4958
<p>You can follow us on Twitter at this account:</p>
5059

5160
<p style="margin-left:2em;"><a href="http://twitter.com/androiddev">http://twitter.com/androiddev</a></p>
5261

62+
<script type="text/javascript" src="https://plus.google.com/108967384991768947849"
63+
rel="publisher"></script>
64+
<script type="text/javascript">
65+
window.___gcfg = {lang: 'en'};
66+
(function()
67+
{var po = document.createElement("script");
68+
po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";
69+
var s = document.getElementsByTagName("script")[0];
70+
s.parentNode.insertBefore(po, s);
71+
})();</script>

docs/html/resources/resources_toc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
<span class="en">Developer Forums</span>
303303
</a></li>
304304
<li><a href="<?cs var:toroot ?>resources/community-more.html">
305-
<span class="en">IRC, Twitter</span>
305+
<span class="en">IRC, G+, Twitter</span>
306306
</a></li>
307307
</ul>
308308
</li>

0 commit comments

Comments
 (0)