Commit graph

1802 commits

Author SHA1 Message Date
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
Dirk Dougherty
3c0c127468 Merge "Add n5 landscape-13 device video frame and css." into klp-dev 2013-10-30 01:27:10 +00:00
Dirk Dougherty
57ab94354c Merge "Adjust samples output pages." into klp-dev 2013-10-29 23:35:12 +00:00
Dirk Dougherty
ca1858aca9 Add n5 landscape-13 device video frame and css.
Change-Id: I3b18782680e74bd8d4022e6701bfd61887101cf1
2013-10-29 16:25:00 -07:00
Dirk Dougherty
4bddbb1c77 Adjust samples output pages.
Change-Id: I78a523f218f8733d4a3428e1d54c3c5c471cfa17
2013-10-29 15:42:10 -07: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
Dirk Dougherty
db93202436 Merge "Doc change: css for n5 device video frame." into klp-dev 2013-10-27 00:04:01 +00:00
Dirk Dougherty
d5d3f805e0 Doc change: css for n5 device video frame.
Change-Id: I283c5c7cb3bb84c494b493b333e47f69b2595501
2013-10-26 12:17:44 -07:00
Baligh Uddin
a7b5c4a7dc Waiting till post MR0 - this impacts signing tools for MR0.
Revert "Modify release tools to replace certs in MMAC files."

This reverts commit a6e0466ab5.

Change-Id: Ib7819185bad119013f307ce4301d5f02190e14ed
2013-10-23 16:53:43 +00:00
Robert Craig
a6e0466ab5 Modify release tools to replace certs in MMAC files.
Added support to perform a string replace of specified
dev keys with release keys when using the release tool
scripts.

Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>

(cherry picked from commit 817c574d75)

Change-Id: I51be8d62945436d3f374f51867295c5b792d4b53
Bug: 11334314
2013-10-22 13:54:46 -07:00
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