Commit graph

739 commits

Author SHA1 Message Date
Scott Main
0ad622b4a6 add ellipsis for overflowing strings in samples nav
Change-Id: I1efcba409b068be0616eb2e3d80fadda301fd5f6
2013-09-04 21:14:06 -07:00
Dirk Dougherty
6fb7e23bba Add file path above h1 in samplecode files.
Change-Id: I91adb197b478ea476bbf0e07650486581c1ca8ec
2013-08-30 19:06:57 -07:00
Dirk Dougherty
981effcc96 Add breadcrumb for sample code html pages.
Change-Id: Iaec2e2686ce2fba4169f0d2ee80c122c6ae55bee
2013-08-26 11:36:00 -07:00
Scott Main
d4645ea9d4 remove project structure from sample landing pages
Change-Id: I646aa996ce518421567c09bbb3a0cd8b4875d530
2013-08-22 16:29:20 -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
Dirk Dougherty
f5ffd4a40c Clean up core css changes brought in with samples css.
Change-Id: I0920695be4f6ed7085508a4451c13bc7d9e65d9a
2013-08-19 12:26:07 -07:00
Dirk Dougherty
4f7e515940 doc change: Samples browsing: basic support in templates and js/css.
Change-Id: Ie2323f5323c624420c90c8c782b840f183238f7c
2013-08-19 11:28:59 -07:00
Scott Main
52dd206715 fix two bugs in site script.
1. Fix URL path check for reference docs to initalize api level and sidenav.
Previously, this condition was never true, so the sidenav would not be initialized
under default conditions and the reference drag bar would not appear.
2. Fix the recent change to the 'scroll into view' script so that it works
properly in a multi-pane sidenav (reference docs) by again making the offset
measurement relative to the parent container (but much better than was done before).

Change-Id: I2a31ed59d772346651c2432f0ed26530983c49ff
2013-08-15 12:22:28 -07:00
Scott Main
3b90aff04c add fixed size to training icons (and remove whitespaces)
Change-Id: Iad8b597b9f181833d9f1d63e128abb49486fa543
2013-08-01 18:21:31 -07:00
Scott Main
c774a31235 Merge "fix sidebar autoscroll when the selected doc is not visible. bug: 9676913" into jb-mr2-docs 2013-07-31 01:14:34 +00:00
Scott Main
bc72957e92 fix sidebar autoscroll when the selected doc is not visible.
bug: 9676913

This was not working for third generation list items. Switching
the position measurement to be relative to the entire page rather than
the parent container fixes it. I then added 125px to account for
the site header and set the threshold and placement of scrolled items
to be at 80% the nav height.

Change-Id: Idda1896d11069e56325ba830ed745dae9e0fc483
2013-07-30 18:00:51 -07:00
Scott Main
5eccda8d6b add 'wide' version of design/develop cross-link buttons.
Primarily for training pages, which have a wider TOC box

Change-Id: I29644596e72e43432f7bd00fd6a5aabf7e3a6bb7
2013-07-30 14:56:45 -07:00
Joe Fernandez
3c1da3e2c9 DO NOT MERGE
cherrypick from jb-mr2-ub-dev
docs: small fix for NDK download table

Change-Id: Ib014e0310960cf10566a6d04aee2acb81346a20c
2013-07-25 18:21:00 -07:00
Dirk Dougherty
48e3f1d6e4 Add new table rows for legacy ndk downloads.
Change-Id: If8ebc459415a22719d351d87a55ddeb4ddb6b3ba
2013-07-25 15:54:26 -07:00
Scott Main
5430d20dda fix the api level filter (wasn't greying out APIs on page load)
Change-Id: Iaafe8c0652856eaff6725491f21581969e94f430
2013-07-23 20:48:54 -07:00
Scott Main
701a07fd33 remove margin changes for paragraphs in collapse container
Change-Id: I5ee51699cb473334e1c3cfb520c8145466eea265
2013-07-23 12:41:25 -07:00
Scott Main
98a2a71f9e edit code-caption style margin
Change-Id: I63c58015ca9037621c5d4c3929620ebd2203f5ad
2013-07-17 13:15:04 -07:00
Scott Main
e80ddbe976 fix design/develop boxes float
Change-Id: Id6de3e74667f5cc485290509919e0f5cce689505
2013-07-12 19:22:24 -07:00
Scott Main
27403b8036 add style to add nexus 4 frame to screenshots
Change-Id: I1e96cbd755c4c6f88c807160b9a86b77a5ebed74
2013-07-10 16:36:05 -07:00
Dirk Dougherty
8c01be686c am ccc15faf: am 56811475: am 5386532e: Merge "Doc change: Move butterbar css to template assets." into jb-mr1.1-ub-dev
* commit 'ccc15faf56ad46f973800cb6bd41b4634b9192a0':
  Doc change: Move butterbar css to template assets.
2013-07-08 17:33:58 -07:00
Dirk Dougherty
5386532e03 Merge "Doc change: Move butterbar css to template assets." into jb-mr1.1-ub-dev 2013-07-09 00:28:40 +00:00
Dirk Dougherty
4c2dfcfd6d Doc change: Move butterbar css to template assets.
Change-Id: Ifa116fe304150c7c663b8088e00349ffdc69017c
2013-07-08 16:05:05 -07:00
Scott Main
7672ccb3d7 am fb2bb3d8: am 51852a3f: am 8c0f5b3a: enable download box style for qv sidebox
* commit 'fb2bb3d867fcdd3add7e30d1cbb6b956d3fce89e':
  enable download box style for qv sidebox
2013-07-08 15:28:53 -07:00
Scott Main
8c0f5b3aef enable download box style for qv sidebox
Change-Id: I209e9971d886e45498aab0b4d43241ded5285f24
2013-07-08 15:12:02 -07:00
Scott Main
cef39240fb align sidebox with content body
Change-Id: Id6cd8cdd1b21b8ceda2a6931bb69f096c0d6deb1
2013-06-19 20:29:47 -07:00
Scott Main
d19c2c82c1 update design/develop link icons to 2x for high res display
Change-Id: I09560c395088e0f8d835199a6eb4267af50bddaa
2013-06-19 18:48:27 -07:00
Scott Main
aaf7664d88 add style for links to Design docs from developer docs
Change-Id: I0f7e561c98277fb1b6b9c0b95a2ed7eef890c6db
2013-06-19 18:39:16 -07:00
Scott Main
d7026f7a5f add new script to toggle visibility of nested list items.
call hideNestedItems(), giving it the parent list to toggle and the <a> element that performs the toggle

Change-Id: I6f1ee74b957f88c23550145c6ed057d8e7797c99
2013-06-17 15:09:57 -07:00
Clay Murphy
49d8686488 docs: Adding styles needed by devices/tech/dalvik/dalvik-bytecode.html
Bug: 8905394

Change-Id: I3a89f9da01d92efd2ea6d9900305ea16a0316d63
2013-06-05 12:06:06 -07:00
Dirk Dougherty
f7787853ff am 246089b1: am 87ef69ef: am 686f55a5: am 5b146f22: am e5862e8a: Doc change: css for distribute links.
* commit '246089b15a168ff6e632b23b24f2904faa90fd1b':
  Doc change: css for distribute links.
2013-05-15 05:32:02 -07:00
Dirk Dougherty
686f55a596 am 5b146f22: am e5862e8a: Doc change: css for distribute links.
* commit '5b146f227a3dfaa62b8e40f3a2b7a21991c09a4a':
  Doc change: css for distribute links.
2013-05-15 04:25:47 -07:00
Dirk Dougherty
e5862e8a1e Doc change: css for distribute links.
Change-Id: Ifc74ea3f6099484b9c7549f8e8684dda4aeaf96f
2013-05-15 02:20:53 -07:00
Scott Main
054ad87bb5 am 34198387: am 216c09a0: am 382b121c: am 3d2121f0: am 0b2db169: add \'go-link\' style for "next" style arrows w/o the javascript effects
* commit '34198387201affd9409ad78a918c988e6a92036c':
  add 'go-link' style for "next" style arrows w/o the javascript effects
2013-05-15 01:31:21 -07:00
Scott Main
382b121c0c am 3d2121f0: am 0b2db169: add \'go-link\' style for "next" style arrows w/o the javascript effects
* commit '3d2121f0c951c6e6b621bd892da5836f005f00e1':
  add 'go-link' style for "next" style arrows w/o the javascript effects
2013-05-15 01:25:00 -07:00
Scott Main
0b2db169cb add 'go-link' style for "next" style arrows w/o the javascript effects
Change-Id: I2950579b2657bdacfe038790668959d607a60277
2013-05-15 01:15:50 -07:00
Scott Main
ae2394a85f am 7a36c073: am 50eb3c47: am 9bfcd733: adjustments to developer notice style
* commit '7a36c07308e8883023186bf2165ea675bf183969':
  adjustments to developer notice style
2013-05-14 11:08:18 -07:00
Scott Main
9bfcd733cf adjustments to developer notice style
Change-Id: Id5ffd85524afc79c005dc3884e442e777fe54b5f
2013-05-14 09:33:19 -07:00
Scott Main
8234604834 am 5ea9ac16: am 85739fc5: am e1b9d41f: Merge "add styles for crosslink from design to develop docs" into jb-mr1.1-ub-dev
* commit '5ea9ac1696bc2e92f037eda9bd27492bfcf0af50':
  add styles for crosslink from design to develop docs
2013-05-13 23:30:24 -07:00
Scott Main
e1b9d41f0b Merge "add styles for crosslink from design to develop docs" into jb-mr1.1-ub-dev 2013-05-14 01:54:48 +00:00
Scott Main
d2af6d2284 add styles for crosslink from design to develop docs
Change-Id: Ia6ad4f03cec5a26fd9b7585be05f46efa2eeca7e
2013-05-13 18:47:03 -07:00
Robert Ly
a59f1b2590 am 6ec4a2c6: am 3d86e283: am 3fe8acbc: am 4c9a8dc2: am d458f0a9: fix links
* commit '6ec4a2c6836c1e0b83613ab033f29503b22977bf':
  fix links
2013-05-08 16:21:03 -07:00
Robert Ly
d458f0a91f fix links
Change-Id: Ied393fa6ba3c2e9240dd8d2af9633252015a098b
2013-05-08 14:59:46 -07:00
Robert Ly
37a14b15e9 am cbac1239: am c80298b0: am 557528a1: am 3f5fee62: am c942e879: fix sac search
* commit 'cbac12396a0b4081f579d6eb8342bbb5b68bdbfc':
  fix sac search
2013-05-07 13:38:08 -07:00
Robert Ly
c942e8799e fix sac search
Change-Id: If34b834f5c7bca09bc59feb3f9eeb1a004209e23
2013-05-07 12:09:01 -07:00
Dirk Dougherty
3e792a6488 am 0abb321f: am 3256dac3: am 4338eac1: am 665021a4: am 0b026ce6: Update cs file to use devsite-compatible lowercase lang ids.
* commit '0abb321f49f84dd53dccdc13cf219b60c15882a1':
  Update cs file to use devsite-compatible lowercase lang ids.
2013-05-06 18:56:42 -07:00
Dirk Dougherty
0b026ce6eb Update cs file to use devsite-compatible lowercase lang ids.
Change-Id: Ie20e5977464199648fd91515ebe71c250162c0ee
2013-05-04 13:13:21 -07:00