summaryrefslogtreecommitdiffstats
path: root/tools/droiddoc/templates-sdk/assets/js
Commit message (Collapse)AuthorAgeFilesLines
* Support matching unicode characters in suggestions by changing match(regex) ↵Dirk Dougherty2015-07-021-21/+21
| | | | | | to indexOf(string). Change-Id: I460a5cb43e4be6ff552a7b2d41b6d3957f2d02a2
* Highlight Essentials tab for distribute/tools content.Dirk Dougherty2015-05-261-1/+1
| | | | Change-Id: I8cc4a73dc1b507940d02b8e40e03aed966ab44b0
* Sync style changes from external (sync3).Dirk Dougherty2015-05-221-19/+209
| | | | Change-Id: I590557ccc3bde1172e80f5a9bc0a2be2f30e23b8
* Highlight "Preview" subtab on preview pages. Support templating for ndk ↵Dirk Dougherty2015-05-221-1/+16
| | | | | | files within templates-sdk. Change-Id: Iade5ac4630c9e763c377ab5749f16832e3ba47b7
* Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". ↵Dirk Dougherty2015-05-151-0/+2
| | | | | | Highlight preview subtab on preview pages. Change "About" link to latest version of Android. Change-Id: I80124a8a05311976a7c373dfdaf5bb984a9c3bc7
* Style and template updates to support responsive layout, mobile nav, email ↵Dirk Dougherty2015-05-131-118/+368
| | | | | | signup, updated styles (sync2). Change-Id: I6e33dd10e1c9e8b378080464b4b70ac6b10df8b7
* docs: Add navigation heading for Develop > PreviewJoe Fernandez2015-05-061-2/+35
| | | | Change-Id: I133672c6ecb5e778f49c31d091812ed7b6dc6b24
* Swap templates-sdk and templates-sdk-dev files to enable redesign builds by ↵Dirk Dougherty2015-05-051-143/+593
| | | | | | default. Change-Id: I9eabbbcd823fb29bd2209172c458cb9dad5f24d2
* change video analytics to distinguish between start and resume events.smain@google.com2015-02-051-9/+21
| | | | | | also scrub out any additional parameters from the videoId before passing to analytics Change-Id: Idf3351028e62d0d03c0f680a904bb83ef8353797
* Add new subtab under Distribute tab.Dirk Dougherty2015-01-151-0/+2
| | | | Change-Id: I991c3295dea40629fdb9dde4a8ccbecad25f8136
* fix bug that allowed only one video in the shadowbox per pagesmain@google.com2014-12-161-0/+4
| | | | | | bug: 18777918 Change-Id: I07c75f795128165e2f1472112cf8ba1a1ee782c7
* make shadowbox video always centered to fit the window heightsmain@google.com2014-12-151-11/+39
| | | | Change-Id: I03f8ffac555dbbbbd5538fedf13413aca031fd74
* set youtube player lang based on user pref and enable captions when not Englishsmain@google.com2014-12-121-1/+3
| | | | Change-Id: I3208074713d3f7b571a22a7ef8f18a9131827e98
* add analytics event to track from which page a video was startedsmain@google.com2014-12-121-3/+9
| | | | Change-Id: I9ba1f992c09fb9e18c55bca5bf3892e50f37012a
* update analytics event for searches to make query case-insensitivesmain@google.com2014-12-121-4/+4
| | | | | | and save the URL instead of doc title. Change-Id: Iad8c5f4873173f6964fc4ebffee8aef878891a8e
* add support for shadowbox videos with start time specified with #t= in video urlsmain@google.com2014-11-251-1/+7
| | | | Change-Id: I165620326f44f8e95bb34a2b623e67fc3b7dcc50
* add analytics event tracking for shadowbox player andsmain@google.com2014-11-241-5/+20
| | | | | | rig the 'notice-developers-video' style links to also use shadowbox for video playback Change-Id: Ib48a7c5243ad926345ce9ae9bd572d59aea035f4
* add style and script to play videos in a shadowboxsmain@google.com2014-11-211-1/+65
| | | | | | | 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
* Support langs.Dirk Dougherty2014-11-191-1/+12
| | | | Change-Id: Ia01e4b41f0ebf2c54669428eef143dce5611d0bd
* followup to recent cookie max-age change to remove parameter and use 2-year ↵smain@google.com2014-11-141-18/+7
| | | | | | | | for all cookies bug: 17781603 Change-Id: Id0da9d41e01c6a45672d1362fc1c5aa39e558904
* remove cookie expiration and add max-age of 2 years.smain@google.com2014-11-031-6/+4
| | | | | | | bug: 17781603 Change-Id: Idab3cae786fde4d0318ba03d3c7f5f678882b815 (cherry picked from commit f51f30d7f10a32e07a081b799d9ae601be08276c)
* Doc change: start search suggestions at two characters instead of three, so ↵Dirk Dougherty2014-11-011-1/+1
| | | | | | that tv suggestions are enabled. Change-Id: Ib7968010b0d0707a82ec51b1e63611628b8d465a
* fix scroll offset when loading non-header pagessmain@google.com2014-10-161-0/+3
| | | | Change-Id: I7a90ccf760eb06c291e88a3ace04c8c7498f75c1
* fix bug causing anchors to fail on preview landing page;smain@google.com2014-10-091-0/+3
| | | | | | exit the onhashchange listener if there's no searchbar on the page Change-Id: I7bdd31d0ea997e408b997856450822d1bc56af92
* fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7csmain@google.com2014-10-031-2/+2
| | | | | | that causes anchors in most docs other than reference to stop working Change-Id: I58ed0f7a84c4478d482d63e675693a197088019a
* update the analytics tracking event calls to use new API for analytics.jssmain@google.com2014-10-031-4/+4
| | | | | | bug: 16331906 Change-Id: I015b5aae825525822ca767d293b473f9f332961a
* more fixes to scroll offset for the sticky header.smain@google.com2014-10-031-7/+4
| | | | | | | | | 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
* more tweaks fixes to the next/prev logic. Fix the way 'articles'smain@google.com2014-06-231-10/+1
| | | | | | | 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
* update the wear device frame style. rename and make frame part of css.smain@google.com2014-06-231-2/+6
| | | | | | | | 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
* add "static" class to allow hand-written version of collection card for the ↵smain@google.com2014-06-191-3/+5
| | | | | | | | | 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
* revisions to the next/prev page link layout.smain@google.com2014-06-171-2/+6
| | | | | | | 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
* fix xss vulnerabilitiessmain@google.com2014-06-171-5/+5
| | | | | | | bug: 15597152 bug: 15405607 Change-Id: I10582d5cd767b977fc2af0f2cf2642802feeffab
* add script and style for toggling which IDE instructions to show.smain@google.com2014-06-161-69/+77
| | | | Change-Id: Ief094a4f58c7ebb4625948d6639fed713adcc0c7
* add support for micrositesRobert Ly2014-06-151-84/+358
| | | | Change-Id: If41551747df098f679bdf18fe3460b727fc094fb
* add About secondary nav barsmain@google.com2014-06-131-0/+12
| | | | | | and delete the Wear custom header Change-Id: If7ac93556586d369a2dbf7e1fc4044473ace7bc9
* changes to sdk template for new install workflow.Scott Main2014-06-111-1/+6
| | | | | | add auto-redirect to install page after download starts. Change-Id: Ic084742376870ab17eefd639d50540f6222cddf6
* Merge "fix bug in chrome with anchors not scrolling into view on new pages. ↵Scott Main2014-06-031-5/+4
|\ | | | | | | added a 100ms delay to the scroll offset because chrome does not immediately scroll the page to the anchor on page load." into klp-docs
| * fix bug in chrome with anchors not scrolling into view on new pages.Scott Main2014-05-301-5/+4
| | | | | | | | | | | | | | added a 100ms delay to the scroll offset because chrome does not immediately scroll the page to the anchor on page load. Change-Id: Ib10cfecfe63d9d9220170842f4c8941557c0eb06
* | Fix g-plusone data-href references for cards pointing to static content.Dirk Dougherty2014-05-301-1/+2
|/ | | | Change-Id: I762e098db2c51c5687e9727b83bddb2a891ac289
* fix regression with horizontal scroll so the sidenav movesScott Main2014-05-221-11/+10
| | | | | | with the rest of the content when the sticky bar is visible Change-Id: I6c310405c15a8f74719b895f14eb5f4780277845
* when generating training course pages, use localized descriptions when availableScott Main2014-05-221-3/+15
| | | | Change-Id: I1b5078e04b440bf5dff71dc31333bcf1d2202ff9
* Change scroll position with javascript instead of CSS.Scott Main2014-05-211-7/+30
| | | | | | | Makes scroll adjustment work for all types of anchors. bug: 15129373 Change-Id: I0f934170613e8a60d94f09192e03117b8e9d4852
* Minor fixes for handling cross-browser load issues and positioning of #headings.Dirk Dougherty2014-05-181-87/+85
| | | | Change-Id: I276b07cd85cc0e1edaede027b3dc3e4b1d24dcd7
* Add templates support for dynamic content and sticky nav bar.Dirk Dougherty2014-05-141-74/+723
| | | | Change-Id: Icb4e492a991a19e3e1eac72eafc83623b00be5de
* update search suggestions to use new unified JS and show samplesScott Main2013-12-091-16/+263
| | | | Change-Id: Id39091558906db7d43b2d07d09756f71d98502a7
* clarify the hidden APIs in reference with better tooltipsScott Main2013-10-311-1/+2
| | | | Change-Id: Iaa843b4a0462195084fb7a35e826eeec92d50c64
* script to handle new static landing pages for sample topicsScott Main2013-10-311-6/+24
| | | | Change-Id: If90531da327e2d664ca7856af6a9737ea1879eaa (cherry picked from commit 241dbd1565b3693bfc2cc9ee3e9e50bcd2f8a7f0)
* remove the dummy sidenav from samples before populating the real list.Scott Main2013-10-301-0/+6
| | | | | | | Also make the line numbers hidden before they get moved to avoid some jankyness during load. Change-Id: I11c3df6d6c7a9a2e74be938b0f0ec704e71eb8d4 (cherry picked from commit 36ea7a3d74c68d62a5d081401b887e848370f6d8)
* make expandable lists under each sample sticky so they don't collapseScott Main2013-10-301-4/+9
| | | | | | | | when opening other project directories. change code comment color from red to green, and strings from green to red. Make sidenav file names smaller. Change-Id: Idd074c7beba48f79c8c551d319c36fb5ecbbcb5f
* fix 'next' links to disable them when at the end of a list.Scott Main2013-10-291-6/+12
| | | | | | Also remove the "next class" link at the end of training. Change-Id: I1d81919a0498d57b451741a7a0c12f011921f2cb