Commit Graph

1789 Commits

Author SHA1 Message Date
Scott Main 2b205a5814 am 919edbe7: am 1c094509: am 6c030b73: fix javadoc sidenav so it does not cutoff overflowing link names
* commit '919edbe7761767c1ed3e3bb3715aa495908601c7':
  fix javadoc sidenav so it does not cutoff overflowing link names
2013-10-16 17:17:37 -07:00
Scott Main 6c030b7361 fix javadoc sidenav so it does not cutoff overflowing link names
Change-Id: I48f3a7cf4715061702c0a0c7537fa1b09734c62a
2013-10-16 17:04:37 -07:00
Scott Main a3362a7f67 am d19a1ff4: am 3f4fcef5: am 25c89dda: enable auto-linking to next lesson with \'next-page-link\' css class
* commit 'd19a1ff4b2c4a3c7d76ea94702776e8b2087d705':
  enable auto-linking to next lesson with 'next-page-link' css class
2013-10-14 13:17:46 -07:00
Scott Main 25c89dda9f enable auto-linking to next lesson with 'next-page-link' css class
Change-Id: I9f4068a4b0921eee28eee3258b72e5f3ad48a64d
2013-10-14 13:07:55 -07:00
Scott Main 00a218a9c8 am 14e066d5: am 4ec62cee: am 40de3237: add support for custom <head> tags in each file with page.customHeadTag HDF var
* commit '14e066d5c8aedfad8b29b6784793f416af01e392':
  add support for custom <head> tags in each file with page.customHeadTag HDF var
2013-09-20 10:07:04 -07:00
Scott Main 40de323797 add support for custom <head> tags in each file with page.customHeadTag HDF var
Change-Id: I377910acec78c600d20cf10ca6aa706750107093
2013-09-20 09:09:40 -07:00
Scott Main b753044259 am a18b429f: am fe340fac: am e624b3fa: update the init_google_navtree2 method to handle new format for sample nav tree data. and update highlighting logic to handle hashtags
* commit 'a18b429fd3792b7c3fad2e0682aa39990b332c98':
  update the init_google_navtree2 method to handle new format for sample nav tree data. and update highlighting logic to handle hashtags
2013-09-13 18:00:16 -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 d9fa558056 am 0c2b69d5: am d6125b5e: am 2552239a: fix most of size problems of DAC on handsets. set device-width for viewport tag
* commit '0c2b69d5b82062ecdef39297ddc7f7d86d038ad8':
  fix most of size problems of DAC on handsets. set device-width for viewport tag
2013-09-11 10:17:38 -07:00
Nick Kralevich 0eb17d9447 Update OTA to understand SELinux labels and capabilities
Update the OTA generation script to understand SELinux file
labels and file capabilities.

Make fs_config aware of SELinux labels and file capabilities, and
optionally output those elements whenever we output the
UID / GID / file perms. The information is emitted as a key=value pair
to allow for future extensibility.

Pass the SELinux file label and capabilities to the newly created
set_metadata() and set_metadata_recursive() calls. When the OTA
script fixes up filesystem permissions, it will also fix up the SELinux
labels and file capabilities.

If no SELinux label and capabilities are available for the file, use
the old set_perm and set_perm_recursive calls.

Bug: 8985290
Bug: 10183961
Bug: 10186213
Change-Id: I4fcfb2c234dbfb965cee9e62f060092a4274d22d
2013-09-10 12:30:43 -07:00
Scott Main 2552239a52 fix most of size problems of DAC on handsets.
set device-width for viewport tag

Change-Id: I87854bfac990d277ba95cc7bcf37799c7f36a0ee
2013-09-09 18:51:49 -07:00
Dirk Dougherty 00fcdfede6 am 0b345f58: am 471f0cc8: am 243ffc5b: Merge "Build file breadcrumb from parentdirs keys, optionally linkify." into jb-mr2-docs
* commit '0b345f589691a774d04a698e80412c531c726f6c':
  Build file breadcrumb from parentdirs keys, optionally linkify.
2013-09-06 11:51:52 -07:00
Dirk Dougherty 243ffc5bc2 Merge "Build file breadcrumb from parentdirs keys, optionally linkify." into jb-mr2-docs 2013-09-06 18:41:44 +00:00
Dirk Dougherty f2bd4eb26a Build file breadcrumb from parentdirs keys, optionally linkify.
Change-Id: I7f4c9887d77c6d3ab1aca4e05963b6144a8b22f8
2013-09-05 19:17:04 -07:00
Scott Main 9a13b7a416 am 76ff86cd: am 5d9690e3: am 4a9cc386: remove prev/next links from API guides
* commit '76ff86cd32927899cd6a2913d4eeb920806d0ae6':
  remove prev/next links from API guides
2013-09-05 17:06:52 -07:00
Scott Main 4a9cc3864a remove prev/next links from API guides
Change-Id: Ic80ec436a6ee1c7decc3a6fc8905f52a1b50ea6a
2013-09-05 16:29:14 -07:00
Scott Main 9cf0912352 am 07540873: am eb23299b: am 0ad622b4: add ellipsis for overflowing strings in samples nav
* commit '07540873614ac13d1352ab30e25ea8f1aabc4035':
  add ellipsis for overflowing strings in samples nav
2013-09-04 21:21:30 -07:00
Scott Main 0ad622b4a6 add ellipsis for overflowing strings in samples nav
Change-Id: I1efcba409b068be0616eb2e3d80fadda301fd5f6
2013-09-04 21:14:06 -07:00
Dirk Dougherty 49f58bb74e am 70892395: am d55fb681: am 6fb7e23b: Add file path above h1 in samplecode files.
* commit '70892395bb48ffca762a47c9bb35c1ad9c3512dc':
  Add file path above h1 in samplecode files.
2013-09-03 15:25:08 -07:00
Dirk Dougherty 6fb7e23bba Add file path above h1 in samplecode files.
Change-Id: I91adb197b478ea476bbf0e07650486581c1ca8ec
2013-08-30 19:06:57 -07:00
Clay Murphy 87aa83befb Docs: Fixing link from logo in PDK
Bug: 9177537
Staging location:
http://claym.mtv.corp.google.com:8083/guide/getting_started.html

Change-Id: I4c4708a168688fdfc79468b955115d7f37df1bc2
2013-08-27 16:04:35 -07:00
Dirk Dougherty 5d2a0a0ba7 am 13ab927a: am 2747bec3: am 981effcc: Add breadcrumb for sample code html pages.
* commit '13ab927a81256c8cb03bcbd31344ae979ab78617':
  Add breadcrumb for sample code html pages.
2013-08-26 11:56:37 -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 bdee9fbe93 am 504dbfc3: am fc8140d3: am d4645ea9: remove project structure from sample landing pages
* commit '504dbfc3b984e3e7981acba8f0b6e65348838bcd':
  remove project structure from sample landing pages
2013-08-22 16:39:35 -07:00
Scott Main 1ebd160a82 am c120c3fe: am 1ef0d363: am 285f0772: 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
* commit 'c120c3fecb193835d56beec245913111f2fc8e41':
  clean up the sample template files to remove unused stuff and fix the collapsible project list and highlight the Samples nav
2013-08-22 16:32:12 -07:00
Scott Main ac2fbe8507 am f1d5a3b1: am 2b9846d9: am f0093857: 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.
* commit 'f1d5a3b117ca827c26d901875ac69e2fde0fb106':
  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.
2013-08-22 16:32:12 -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 4037146386 am fa704681: am a320b99a: am 498d710a: 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-
* commit 'fa704681f9109eb25e19ab4eeb53636e92501c55':
  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.
2013-08-21 17:44:52 -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 0dcef01e1e am feb45280: am 8088dd2f: am ad08f07c: 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
* commit 'feb45280aa67e4fd7280d15caae3673b82895624':
  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
2013-08-20 17:28:14 -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 b9fe2d2c93 am 337ebc19: am 62c755a5: am f5ffd4a4: Clean up core css changes brought in with samples css.
* commit '337ebc195ff7ebb4f12b9012ccfc9f89a8a66570':
  Clean up core css changes brought in with samples css.
2013-08-19 15:02:50 -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 2d0283792d am 6d244fb2: am d5ac8330: am 4f7e5159: doc change: Samples browsing: basic support in templates and js/css.
* commit '6d244fb2ed0abdf843c33fca3a2ba2557ac921aa':
  doc change: Samples browsing: basic support in templates and js/css.
2013-08-19 12:14:19 -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 6f03bd6092 am ce478d54: am 7e453280: am 52dd2067: 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 referen
* commit 'ce478d54ad619c11b796b6286357c3203544d90d':
  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).
2013-08-15 14:51:37 -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
Ying Wang 07c07062df Let apicheck visible to unbundled build.
Change-Id: I22cd1e67aeb6bf23229016215ee0a15f5116513f
(cherry picked from commit 48d132659ebf99cf41d9fbf62ab1f09604938ca7)
2013-08-02 21:35:15 +00:00
Scott Main ad0f14f4ef am 76451706: am bb385125: am 3b90aff0: add fixed size to training icons (and remove whitespaces)
* commit '76451706d86daaf38889254f56e47ba989619b9c':
  add fixed size to training icons (and remove whitespaces)
2013-08-01 18:37:40 -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 3c70a5caf9 am bc36e229: am d1d606b4: am c774a312: Merge "fix sidebar autoscroll when the selected doc is not visible. bug: 9676913" into jb-mr2-docs
* commit 'bc36e22992e11e9a3856f1c78bb73ee44a748e92':
  fix sidebar autoscroll when the selected doc is not visible. bug: 9676913
2013-07-30 20:18:41 -07:00
Scott Main e0d430d409 am 65c92265: am 14066e74: am 5eccda8d: add \'wide\' version of design/develop cross-link buttons. Primarily for training pages, which have a wider TOC box
* commit '65c922653bbdd779bc250befe5c78b1b78f8577c':
  add 'wide' version of design/develop cross-link buttons. Primarily for training pages, which have a wider TOC box
2013-07-30 20:18:40 -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
Joe Fernandez 1c1eebcbd5 am cb4a1e67: am 8d936902: docs: small fix for NDK download table
* commit 'cb4a1e673eafc52c496dfed294c5431c80c52688':
  docs: small fix for NDK download table
2013-07-25 17:23:04 -07:00