Commit graph

263 commits

Author SHA1 Message Date
smain@google.com
d99989c558 Merge "new version of Helpouts recruit banner for TV and Wear" into lmp-docs 2014-12-03 02:23:11 +00:00
smain@google.com
55bbab956b new version of Helpouts recruit banner for TV and Wear
Change-Id: I971e9043b60bdb925c2f648e0aff3de9d8c9cd81
2014-12-02 11:01:20 -08:00
smain@google.com
570c2210b8 add support for shadowbox videos with start time specified with #t= in video url
Change-Id: I165620326f44f8e95bb34a2b623e67fc3b7dcc50
2014-11-25 19:03:56 -08:00
smain@google.com
3a9d50e19d move the next/previous links in design docs up 25px to avoid overlap with long titles
Change-Id: I3428e4cf2959d0e171692d12d47e100b46b6733e
2014-11-25 13:35:45 -08:00
smain@google.com
f75ee21c34 add analytics event tracking for shadowbox player and
rig the 'notice-developers-video' style links to also use shadowbox for video playback

Change-Id: Ib48a7c5243ad926345ce9ae9bd572d59aea035f4
2014-11-24 10:47:07 -08:00
smain@google.com
698fff028a add style and script to play videos in a shadowbox
anytime that a link appears in the page with class "video-shadowbox-button"
the link must also have the youtube video set in the href with the ?v parameter

Change-Id: I4af84f003075b8d2c43acd3295ce3955b141cc97
2014-11-21 09:56:42 -08:00
Dirk Dougherty
b87e300056 Support langs.
Change-Id: Ia01e4b41f0ebf2c54669428eef143dce5611d0bd
2014-11-19 23:31:03 +00:00
smain@google.com
6bdcb981ce followup to recent cookie max-age change to remove parameter and use 2-year for all cookies
bug: 17781603

Change-Id: Id0da9d41e01c6a45672d1362fc1c5aa39e558904
2014-11-14 11:53:07 -08:00
smain@google.com
80e38f4872 remove cookie expiration and add max-age of 2 years.
bug: 17781603

Change-Id: Idab3cae786fde4d0318ba03d3c7f5f678882b815
(cherry picked from commit f51f30d7f1)
2014-11-03 19:40:48 +00:00
Dirk Dougherty
9b7f8f20ac Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
Change-Id: Ib7968010b0d0707a82ec51b1e63611628b8d465a
2014-11-01 20:33:25 -07:00
smain@google.com
be113f8ac0 fix broken download buttons, make a[name] offset apply only to reference docs
Change-Id: I44421d90c335e0fcb4b35d8f568f9775a84b41ea
2014-10-17 09:56:10 -07:00
smain@google.com
11fc009469 fix scroll offset when loading non-header pages
Change-Id: I7a90ccf760eb06c291e88a3ace04c8c7498f75c1
2014-10-16 22:10:00 -07:00
smain@google.com
fbdb2a1b62 add helpouts banner thing to recruit providers
includes script to randomly change the URL and text of link as an A/B test
it's a bad A/B test because it does not save the A/B per session

Change-Id: Ie8338a7403834d2322c5088039f2936207db734b
2014-10-15 13:05:21 -07:00
smain@google.com
c69af6faeb hide the butter bar but also update the CSS for recent butterbar changes
Change-Id: I29cbdfe4ef6542a0dd04642be76856f3af2732d1
2014-10-15 12:48:58 -07:00
smain@google.com
f0daf562f7 Merge "fix bug causing anchors to fail on preview landing page; exit the onhashchange listener if there's no searchbar on the page" into lmp-dev 2014-10-10 02:12:24 +00:00
smain@google.com
17e2c06e8a make the <a> tag offset effective for the whole site,
not just reference, because turns out these are also used in the manifest docs,
so what the heck.

Change-Id: I33d3cf842377511d0733983deffa03639eb0bdbf
2014-10-09 19:10:32 -07:00
smain@google.com
2f077190ab fix bug causing anchors to fail on preview landing page;
exit the onhashchange listener if there's no searchbar on the page

Change-Id: I7bdd31d0ea997e408b997856450822d1bc56af92
2014-10-09 18:04:10 -07:00
smain@google.com
783d016a27 am bc667f1c: am 08f336ea: fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c that causes anchors in most docs other than reference to stop working
* commit 'bc667f1cd7d852909a9a3893473f29dc7b000b2f':
  fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c that causes anchors in most docs other than reference to stop working
2014-10-07 22:23:35 +00:00
smain@google.com
4247c940d4 am f4cefc19: am 633f322b: update the analytics tracking event calls to use new API for analytics.js bug: 16331906
* commit 'f4cefc19e87eae62b6f2f8cc40b154f9fbe4b3de':
  update the analytics tracking event calls to use new API for analytics.js bug: 16331906
2014-10-07 22:23:19 +00:00
smain@google.com
08f336eaff fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c
that causes anchors in most docs other than reference to stop working

Change-Id: I58ed0f7a84c4478d482d63e675693a197088019a
2014-10-03 17:40:00 -07:00
smain@google.com
633f322b38 update the analytics tracking event calls to use new API for analytics.js
bug: 16331906

Change-Id: I015b5aae825525822ca767d293b473f9f332961a
2014-10-03 15:49:45 -07:00
smain@google.com
c464dbc3b6 am 5e5f5b77: am 7ddf7943: am 9a818f55: more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as ancho
* commit '5e5f5b777414204cf600727662ac0f89de6f8211':
  more fixes to scroll offset for the sticky header. This offsets the layout position of all <a name=""> tags so they naturally show up below the sticky nav bar... though this is only for API reference, which uses <a> tags as anchors for all API members. bug: 16924057
2014-10-03 19:03:43 +00:00
smain@google.com
9a818f55f4 more fixes to scroll offset for the sticky header.
This offsets the layout position of all <a name=""> tags so they naturally
show up below the sticky nav bar... though this is only for API reference,
which uses <a> tags as anchors for all API members.
bug: 16924057

Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c
2014-10-03 18:34:20 +00:00
Jeff Arneson
1e7fd557dd Make the text generated by showAnnotations more noticable in docs
Made the foreground of the "included in docs by annotation..." orange,
the same color used in the header of the docs page. This text is inserted
when the showAnnotations flag is used with doclava

Change-Id: I56e0b2060ed42cd0d077fff149d578d31c763f95
2014-09-10 21:20:12 +00:00
Jeff Arneson
3a5cb1bd15 Show annotation information in generated documentation
Display the annotations used to override @hide for classes in packages
and methods in classes.

Bug: 16848303
Change-Id: I5599e6593613edbbe6a002d5d46a0a6561dec55a
2014-09-05 22:28:59 +00:00
Robert Ly
3cbf635856 am 13c416be: am 28d695a0: css changes for index page card
* commit '13c416be55329150bbfefe2a51ae05c8c832db84':
  css changes for index page card
2014-06-26 10:31:01 +00:00
Robert Ly
28d695a005 css changes for index page card
Change-Id: I4fca8284acf50ad05bf9c06ada0daa636b3e9e6f
2014-06-25 22:50:49 -07:00
smain@google.com
bd7b23e403 am 0858c65a: am 5771ee3c: add style for stand-alone back link with left arrow
* commit '0858c65a4d2e9cda9b9a6017bc1f4bf32125cafc':
  add style for stand-alone back link with left arrow
2014-06-25 23:21:00 +00:00
smain@google.com
5771ee3c41 add style for stand-alone back link with left arrow
Change-Id: Ia9219e3e77ef23c6bf6374244c57c4c7e8d1f386
2014-06-25 15:12:52 -07:00
smain@google.com
bb9ecf420f undo the butterbar change, because automerger is ruthless
Change-Id: If9953c9c7af1250a26a74691d8aac58808595c85
2014-06-24 18:43:36 -07:00
smain@google.com
cfb92aa963 add a smaller version of the device frame for wear
Change-Id: I91ead3f689844c5cf4b6862f38c686263f7d5cbf
2014-06-24 11:58:16 -07:00
smain@google.com
58b617b902 am cd59b7df: am 5f6019ab: DO NOT MERGE add butterbar notice for the google IO SDK announcements
* commit 'cd59b7dfdb392153422f5618e2d6e847dcff790b':
  DO NOT MERGE add butterbar notice for the google IO SDK announcements
2014-06-25 00:24:34 +00:00
smain@google.com
5f6019ab6c DO NOT MERGE
add butterbar notice for the google IO SDK announcements

Change-Id: I25bbb0ee4cab95b0c26cd2bd517e490e44ae1465
2014-06-24 17:11:13 -07:00
smain@google.com
abf34118c3 more tweaks fixes to the next/prev logic. Fix the way 'articles'
include the links. was broken for design docs, all appeared disabled.
also add 'white' style for links that appear on colored background

Change-Id: I6f59b91c1429014a90cb887a9e46880ebde0f75a
2014-06-23 11:47:12 -07:00
smain@google.com
c91ecb7093 update the wear device frame style. rename and make frame part of css.
also update some logic with next/prev links to make navigation prev
possible while in design docs (or others that allow cross-boundary nav)
and simply remove the 'next' link in the footer when at the end of a set.

Change-Id: I83008e313fb07c9bc028e27c06e0e8478fa525f0
2014-06-23 10:42:07 -07:00
smain@google.com
ebed3b8595 Merge "new android logo for preview docs header" into klp-modular-dev 2014-06-20 21:00:34 +00:00
smain@google.com
13f0a0bf0f new android logo for preview docs header
Change-Id: I80a35bcbdb55c50a445e061212e32ed2361f983c
2014-06-20 16:54:50 -07:00
smain@google.com
95c0d99f75 fix vertical spacing following collection
Change-Id: I50ec016d646a8fd92cf1f85a844cb6f3bf96cf79
2014-06-20 10:22:38 -07:00
smain@google.com
baf5b60b12 make primary landing button dark red
Change-Id: I2d515991ccdca79a28ee1ebe7706e8fbc3afc57e
2014-06-19 22:24:44 -07:00
smain@google.com
cda1a9a756 add "static" class to allow hand-written version of collection card for the homepage
and add "no-section" override to resource widget to enable title+description only card layout
and make the landing-secondary button blue

Change-Id: I4432c2ff267c20cb64f9c87524560b2d779c9e91
2014-06-19 18:24:28 -07:00
smain@google.com
1ac633c4c8 Merge "fix vertical spacing following collection" into klp-modular-dev 2014-06-20 00:20:03 +00:00
smain@google.com
eb01827bef reverse the blue button hover state color
Change-Id: Ib3b8abcd9683eda3b9a69f0c0ba1d53228191540
2014-06-19 22:54:07 -07:00
smain@google.com
b8281c7091 add new preview watermark for docs
Change-Id: Idd63395b6b53674d0db87fbbcf37eb4864accacd
2014-06-19 10:44:03 -07:00
smain@google.com
5bc3a1acb0 revisions to the next/prev page link layout.
make "next" link in footer align left, remove previous link in footer,
add doc title to next link in footer, move g+ to the right

Change-Id: Id7c18a1a1a42344e96d0fa17c35908eb87d62612
2014-06-17 20:02:53 -07:00
smain@google.com
3b77ab5a01 fix xss vulnerabilities
bug: 15597152
bug: 15405607

Change-Id: I10582d5cd767b977fc2af0f2cf2642802feeffab
2014-06-17 11:57:27 -07:00
smain@google.com
95948b88ec add script and style for toggling which IDE instructions to show.
Change-Id: Ief094a4f58c7ebb4625948d6639fed713adcc0c7
2014-06-16 19:25:14 -07:00
Robert Ly
908a05a1ee fix hero image offset in css
Change-Id: I7633a852166ca8781f753f7f63829a3394f38773
2014-06-16 10:47:50 -07:00
Joe Fernandez
fc0f545342 Android TV - small CSS fixes for TV landing page
Change-Id: I672b5299e71d840ccc53561e540c33ede14cbcf7
2014-06-15 14:53:08 -07:00
Robert Ly
e7eeb40029 add support for microsites
Change-Id: If41551747df098f679bdf18fe3460b727fc094fb
2014-06-15 14:07:31 -07:00
smain@google.com
9cb34eae76 add margin for paras in sidebox
Change-Id: I15ec01da9dc1130552743aad3543b3ea14d2bbb4
2014-06-13 17:47:43 -07:00