Joe Fernandez
a9d796a4f9
docs: Add navigation heading for Develop > Preview
...
Change-Id: I133672c6ecb5e778f49c31d091812ed7b6dc6b24
2015-05-06 22:24:31 -07:00
Dirk Dougherty
29e934367b
Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.
...
Change-Id: I9eabbbcd823fb29bd2209172c458cb9dad5f24d2
2015-05-05 18:17:13 -07:00
smain@google.com
d162be5b5f
change video analytics to distinguish between start and resume events.
...
also scrub out any additional parameters from the videoId before passing to analytics
Change-Id: Idf3351028e62d0d03c0f680a904bb83ef8353797
2015-02-05 17:49:49 -08:00
Dirk Dougherty
529a107f9d
Add new subtab under Distribute tab.
...
Change-Id: I991c3295dea40629fdb9dde4a8ccbecad25f8136
2015-01-15 16:27:39 -08:00
smain@google.com
94e0b53086
fix bug that allowed only one video in the shadowbox per page
...
bug: 18777918
Change-Id: I07c75f795128165e2f1472112cf8ba1a1ee782c7
2014-12-16 19:07:08 -08:00
smain@google.com
3de83c1bcd
make shadowbox video always centered to fit the window height
...
Change-Id: I03f8ffac555dbbbbd5538fedf13413aca031fd74
2014-12-15 09:27:48 -08:00
smain@google.com
481f15c172
set youtube player lang based on user pref and enable captions when not English
...
Change-Id: I3208074713d3f7b571a22a7ef8f18a9131827e98
2014-12-12 11:57:27 -08:00
smain@google.com
d24088c08d
add analytics event to track from which page a video was started
...
Change-Id: I9ba1f992c09fb9e18c55bca5bf3892e50f37012a
2014-12-12 11:37:22 -08:00
smain@google.com
ed677d7a0e
update analytics event for searches to make query case-insensitive
...
and save the URL instead of doc title.
Change-Id: Iad8c5f4873173f6964fc4ebffee8aef878891a8e
2014-12-12 10:19:17 -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
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
11fc009469
fix scroll offset when loading non-header pages
...
Change-Id: I7a90ccf760eb06c291e88a3ace04c8c7498f75c1
2014-10-16 22:10:00 -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
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
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
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
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
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
e7eeb40029
add support for microsites
...
Change-Id: If41551747df098f679bdf18fe3460b727fc094fb
2014-06-15 14:07:31 -07:00
smain@google.com
6040ffa1e8
add About secondary nav bar
...
and delete the Wear custom header
Change-Id: If7ac93556586d369a2dbf7e1fc4044473ace7bc9
2014-06-13 22:10:37 +00:00
Scott Main
c29b3f58b0
changes to sdk template for new install workflow.
...
add auto-redirect to install page after download starts.
Change-Id: Ic084742376870ab17eefd639d50540f6222cddf6
2014-06-11 20:25:30 -07:00
Scott Main
7a7abbdb10
Merge "fix bug in chrome with anchors not scrolling into view on new pages. 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
2014-06-03 02:06:33 +00:00
Dirk Dougherty
518ed145b1
Fix g-plusone data-href references for cards pointing to static content.
...
Change-Id: I762e098db2c51c5687e9727b83bddb2a891ac289
2014-05-30 21:24:42 -07:00
Scott Main
06f3f2c148
fix bug in chrome with anchors not scrolling into view on new pages.
...
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
2014-05-30 11:42:23 -07:00
Scott Main
f525781ea8
fix regression with horizontal scroll so the sidenav moves
...
with the rest of the content when the sticky bar is visible
Change-Id: I6c310405c15a8f74719b895f14eb5f4780277845
2014-05-22 17:30:43 -07:00
Scott Main
e7d75351a9
when generating training course pages, use localized descriptions when available
...
Change-Id: I1b5078e04b440bf5dff71dc31333bcf1d2202ff9
2014-05-22 16:23:48 -07:00
Scott Main
b16376f2e6
Change scroll position with javascript instead of CSS.
...
Makes scroll adjustment work for all types of anchors.
bug: 15129373
Change-Id: I0f934170613e8a60d94f09192e03117b8e9d4852
2014-05-21 20:47:42 -07:00
Dirk Dougherty
ca1230c9a2
Minor fixes for handling cross-browser load issues and positioning of #headings.
...
Change-Id: I276b07cd85cc0e1edaede027b3dc3e4b1d24dcd7
2014-05-18 22:10:43 -07:00
Dirk Dougherty
c3921656f5
Add templates support for dynamic content and sticky nav bar.
...
Change-Id: Icb4e492a991a19e3e1eac72eafc83623b00be5de
2014-05-14 12:00:34 -07:00
Scott Main
719acb4553
update search suggestions to use new unified JS and show samples
...
Change-Id: Id39091558906db7d43b2d07d09756f71d98502a7
2013-12-09 15:57:26 -08:00
Scott Main
641c2c2fda
clarify the hidden APIs in reference with better tooltips
...
Change-Id: Iaa843b4a0462195084fb7a35e826eeec92d50c64
2013-10-31 14:48:45 -07:00
Scott Main
03aca9a712
script to handle new static landing pages for sample topics
...
Change-Id: If90531da327e2d664ca7856af6a9737ea1879eaa
(cherry picked from commit 241dbd1565
)
2013-10-31 16:40:35 +00:00
Scott Main
f1435b73bd
remove the dummy sidenav from samples before populating the real list.
...
Also make the line numbers hidden before they get moved to avoid
some jankyness during load.
Change-Id: I11c3df6d6c7a9a2e74be938b0f0ec704e71eb8d4
(cherry picked from commit 36ea7a3d74
)
2013-10-30 23:33:57 +00:00
Scott Main
70557ee5fc
make expandable lists under each sample sticky so they don't collapse
...
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
2013-10-30 22:20:53 +00:00
Scott Main
1a00f7fecd
fix 'next' links to disable them when at the end of a list.
...
Also remove the "next class" link at the end of training.
Change-Id: I1d81919a0498d57b451741a7a0c12f011921f2cb
2013-10-29 11:13:26 -07:00
Scott Main
e624b3fa47
update the init_google_navtree2 method to handle new format for sample nav tree data.
...
and update highlighting logic to handle hashtags
Change-Id: I77de8faaaeed12317aa83086df8273648a1ff00a
2013-09-13 17:04:39 -07:00
Scott Main
285f07722d
Merge "clean up the sample template files to remove unused stuff and fix the collapsible project list and highlight the Samples nav" into jb-mr2-docs
2013-08-22 23:22:09 +00:00
Scott Main
dc63ddaabb
clean up the sample template files to remove unused stuff
...
and fix the collapsible project list
and highlight the Samples nav
Change-Id: I8baf5874ae709c914aae47ffb04fc8e0b84e8dea
2013-08-22 16:09:59 -07:00
Scott Main
f009385738
fix a couple bugs in sidenav for samples.
...
Previously, clicking a link still invoked the expand collapse behavior.
Previously, collapsing a parent item did not also collapse its children.
Change-Id: Iac0b9208bfbab79e9715850f9a192c22250d0673
2013-08-22 11:37:11 -07:00
Scott Main
498d710a4f
modify sample template and add new css/script for new numbered code.
...
The line numbers are included inside the <pre> block initially, but
hidden, so this script moves the numbers to a separate block on
the left and makes them non-selectable. Also includes script for
features like single-click to highlight a line of code and double-click
to invoke the link for that line.
Change-Id: I17ebb1255ff036948028b4722cc8e9758fb96553
2013-08-21 16:12:26 -07:00
Scott Main
ad08f07cf2
new version of script to build sidenav lists dynamically.
...
This is currently used only by the samples nav, but we'll
later update to handle the Google reference nav as well
Change-Id: I907ea8cb096148ba50808623ed872c8defc9a135
2013-08-20 17:01:42 -07:00