Commit Graph

558 Commits

Author SHA1 Message Date
Dirk Dougherty 8f6949b611 Doc change: Add tag for DevArt.
Change-Id: Id6ecac1587e311373b2f787fb86b85c2c9933183
2013-12-03 19:07:13 -08:00
Dirk Dougherty 387aa8b5b1 am fc79229c: am d239e4c9: Support generated samples_toc.cs file.
* commit 'fc79229c7c09058be1064c61c2287cdc7cd366da':
  Support generated samples_toc.cs file.
2013-12-03 01:19:20 +00:00
Dirk Dougherty d239e4c9b5 Support generated samples_toc.cs file.
Change-Id: I34eeffbc98f729e13de805e7bbb9dac96d13fdd8
2013-12-03 00:16:14 +00:00
Scott Main 8d6e31d944 am c1b340e1: am 927612f4: am 42d6e581: fix the \'to top\' link; it wasn\'t appearing due to a previous CSS change
* commit 'c1b340e1a6aad0f82cff7251379b0583833849d0':
  fix the 'to top' link; it wasn't appearing due to a previous CSS change
2013-11-20 19:46:02 -08:00
Scott Main 42d6e58195 fix the 'to top' link; it wasn't appearing due to a previous CSS change
Change-Id: I00aa080982f5e5d90fd6abcf6e19d41d1727b444
2013-11-20 19:31:26 -08:00
Scott Main afc4db3b34 make short banners even shorter
also add new "next-docs" style for links at the end of a doc.

Change-Id: I696a01f7614614eec56d9774036559af6bfe0378
(cherry picked from commit 9d6461dfab)
2013-11-21 02:06:29 +00:00
Scott Main 6948b3f40d Merge "make short banners even shorter also add new "next-docs" style for links at the end of a doc." 2013-11-21 02:06:15 +00:00
Scott Main 9d6461dfab make short banners even shorter
also add new "next-docs" style for links at the end of a doc.

Change-Id: I696a01f7614614eec56d9774036559af6bfe0378
2013-11-20 17:57:15 -08:00
Scott Main 697c2fb391 am 0ee84713: am 3956c322: am 2fbc1c95: add analytics event to track sample downloads
* commit '0ee847132b7782839b7c082ea46445315b9ce727':
  add analytics event to track sample downloads
2013-11-20 16:35:46 -08:00
Scott Main 2fbc1c9537 add analytics event to track sample downloads
Change-Id: Ibb6ca88845ca0f26b759503fbca540009e1d7c8c
2013-11-20 15:22:15 -08:00
Scott Main e189a141c9 am 8b5d96bb: am 01f988f7: am 95cd097f: Merge "add analytics event tracking for SDK tools download" into klp-docs
* commit '8b5d96bb772d1e859d4f7460da9937280aa8d3ca':
  add analytics event tracking for SDK tools download
2013-11-20 13:03:26 -08:00
Scott Main 95cd097f42 Merge "add analytics event tracking for SDK tools download" into klp-docs 2013-11-20 20:57:05 +00:00
Scott Main c9418f4456 add analytics event tracking for SDK tools download
Change-Id: I6ad2d540a3d496a8f563c22a0778c0f4bbd67f6c
2013-11-20 12:52:22 -08:00
Dirk Dougherty 62440ec22f am 7aa10021: am 8b8a23c6: am bb2b5538: Show overview, project, and download links on samples project index pages. Show standard plusone on all samples pages.
* commit '7aa10021e7f211211e8edd0299114756f0586567':
  Show overview, project, and download links on samples project index pages. Show standard plusone on all samples pages.
2013-11-19 19:25:07 -08:00
Dirk Dougherty bb2b55381d Show overview, project, and download links on samples project index pages. Show standard plusone on all samples pages.
Change-Id: I368fe1e0004e623cfbdaa39ff74e82f31c9f95d8
2013-11-19 18:26:51 -08:00
Dirk Dougherty f132f9c177 am ee1934be: am ea994c2a: am 45734df7: Merge "Add new jd_lists_unified template for unified metadata. Expose page tags to JavaScript through metaTags var." into klp-docs
* commit 'ee1934be485e6f25fd9b89c8bf415d13326de1ab':
  Add new jd_lists_unified template for unified metadata. Expose page tags to JavaScript through metaTags var.
2013-11-18 17:59:48 -08:00
Dirk Dougherty 45734df779 Merge "Add new jd_lists_unified template for unified metadata. Expose page tags to JavaScript through metaTags var." into klp-docs 2013-11-19 01:51:12 +00:00
Dirk Dougherty 9b3059f405 Add new jd_lists_unified template for unified metadata. Expose page tags to JavaScript through metaTags var.
Change-Id: I6cc7d980e627d3be06f9dee6af4d9e9ebd272577
2013-11-14 13:33:17 -08:00
Scott Main 3af8c20a0a am 82335c87: am 9526eefb: am 4e5b39d8: style adjustment to design/dev/video buttons
* commit '82335c87c1a6295c6de44f0b203b66e4020f51d6':
  style adjustment to design/dev/video buttons
2013-11-13 22:17:58 -08:00
Scott Main 4e5b39d843 style adjustment to design/dev/video buttons
Change-Id: I97a147336805aeb340efcd12009794b02afab681
2013-11-13 16:49:22 -08:00
Scott Main 43ee8eb189 am ab5808b0: am 680821ed: am 13cd8f15: add style for video button in docs
* commit 'ab5808b007f97bf7b8f6d0374c546bddeabb4e16':
  add style for video button in docs
2013-11-12 12:25:57 -08:00
Scott Main 9d288052d0 am ec5b24f4: am faff9f52: am 641c2c2f: clarify the hidden APIs in reference with better tooltips
* commit 'ec5b24f4737ed2c566a8f63b3d27f049a2188a3f':
  clarify the hidden APIs in reference with better tooltips
2013-11-12 12:25:56 -08:00
Scott Main 13cd8f1547 add style for video button in docs
Change-Id: I2f2dcf80aef9c55ad6a11f13549b8dd8709cbc84
2013-11-12 11:55:24 -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 198bd8fd38 am d2479d2b: am 241dbd15: script to handle new static landing pages for sample topics
* commit 'd2479d2beb6e19072c72e67046caff5d2448e4fb':
  script to handle new static landing pages for sample topics
2013-10-31 07:35:50 -07:00
Scott Main 241dbd1565 script to handle new static landing pages for sample topics
Change-Id: If90531da327e2d664ca7856af6a9737ea1879eaa
2013-10-31 07:27:10 -07:00
Scott Main e09379cae5 am 70120d0b: am 36ea7a3d: 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.
* commit '70120d0bffcce16c3c94120fde3cd2c495e5027d':
  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.
2013-10-30 16:45:01 -07: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 36ea7a3d74 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
2013-10-30 16:29:22 -07:00
Scott Main 05480369c5 am a0df6345: am e9fbac49: make expandable lists under each sample sticky so they don\'t collapse when opening other project directories.
* commit 'a0df634521840d6d9b154129bb57afe97667f13d':
  make expandable lists under each sample sticky so they don't collapse when opening other project directories.
2013-10-30 15:27:28 -07: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 e9fbac49bb 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 15:19:41 -07:00
Dirk Dougherty 2fa4c49d7c am 5404ae42: am 3c0c1274: Merge "Add n5 landscape-13 device video frame and css." into klp-dev
* commit '5404ae42e7d982e9bf74fe1bd6e7d4109224e530':
  Add n5 landscape-13 device video frame and css.
2013-10-29 18:32:40 -07: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 932f5a3720 am 3b676732: am 57ab9435: Merge "Adjust samples output pages." into klp-dev
* commit '3b676732913c1fcfbf6b948fe4e1a69e42f5faeb':
  Adjust samples output pages.
2013-10-29 16:42:53 -07: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 5d12ab6b35 am ba5b20eb: am 1a00f7fe: fix \'next\' links to disable them when at the end of a list. Also remove the "next class" link at the end of training.
* commit 'ba5b20eb9f1714193780518aa1ac2ac8087fb3b7':
  fix 'next' links to disable them when at the end of a list. Also remove the "next class" link at the end of training.
2013-10-29 11:23:47 -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 79cfe50c63 am e45fbe5e: am db932024: Merge "Doc change: css for n5 device video frame." into klp-dev
* commit 'e45fbe5ea73784d2290ff26f6bbd9275743b1135':
  Doc change: css for n5 device video frame.
2013-10-26 17:12:26 -07:00
Dirk Dougherty d5d3f805e0 Doc change: css for n5 device video frame.
Change-Id: I283c5c7cb3bb84c494b493b333e47f69b2595501
2013-10-26 12:17:44 -07:00
Brett Chabot 44bf9875a1 Merge "Output annotations in sdk package-summary docs." 2013-10-17 17:01:04 +00: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
Brett Chabot 7678688f37 Output annotations in sdk package-summary docs.
Bug 10749552
Bug 6333357

Change-Id: I57e97ee69d41bb8df5ea371a766ebb7e0602ff90
2013-10-15 20:41:49 -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 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 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 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 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 4a9cc3864a remove prev/next links from API guides
Change-Id: Ic80ec436a6ee1c7decc3a6fc8905f52a1b50ea6a
2013-09-05 16:29:14 -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 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
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 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 9bfcd733cf adjustments to developer notice style
Change-Id: Id5ffd85524afc79c005dc3884e442e777fe54b5f
2013-05-14 09:33:19 -07:00
Scott Main d2af6d2284 add styles for crosslink from design to develop docs
Change-Id: Ia6ad4f03cec5a26fd9b7585be05f46efa2eeca7e
2013-05-13 18:47:03 -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
Scott Main 0e76e7e4dd provide search suggestions for api guides, training, etc.
also:
 - demote deprecated APIs in suggestions
 - focus search bar with / and exit search with ESC

Change-Id: I78818d76375d63b9eb42922d6c20ebbea30c353b
2013-05-02 10:38:45 -07:00
Scott Main 8aa725e694 re-add styles for xml definition lists.
used in manifest reference pages and was lost during switch to DAC2

Change-Id: I0fcaebc37fe1665bfced4b109945c9dbf6389818
2013-04-25 11:12:51 -07:00
Dirk Dougherty a32f1bb4e4 am 547d9e93: Doc change: css for checklist more resources blocks.
* commit '547d9e93b21e62f1153aaac49c22b1f648b4fef5':
  Doc change: css for checklist more resources blocks.
2013-04-15 20:30:00 -07:00
Dirk Dougherty 547d9e93b2 Doc change: css for checklist more resources blocks.
Change-Id: If0678b08d135f708bf6ecee49831ef233a862389
2013-04-15 18:45:42 -07:00
Dirk Dougherty 48732d9aaa am bec14294: Doc change: css for policy docs.
* commit 'bec142949a33bf7d195d022e9ec99a1a84197065':
  Doc change: css for policy docs.
2013-04-15 15:34:05 -07:00
Dirk Dougherty bec142949a Doc change: css for policy docs.
Change-Id: I5d8609d7e20315e5bb022f057704b2814ad9e172
2013-04-11 21:48:54 -07:00
Robert Ly 3eba74ffc1 am ddde20b6: Merge "fix android build number in footer of gms and gcm reference" into jb-mr1-dev
* commit 'ddde20b67c521fbd7ad090f7a1e4ab3f69865b4f':
  fix android build number in footer of gms and gcm reference
2013-04-03 13:48:35 -07:00
Robert Ly ddde20b67c Merge "fix android build number in footer of gms and gcm reference" into jb-mr1-dev 2013-04-03 20:38:55 +00:00
Scott Main f614554dae load google API navtree ondemand (remove request from <head>).
Also move the code for highlighting the sidenav into a separate method
that we can call at a later time, such as after the gms reference is loaded into nav.

Change-Id: I924d68b2b9dbfed83f81d1fd418e06b6c79a9010
2013-04-01 16:38:11 -07:00
Scott Main 25e7300c24 load the navtree javascript on demand; don't try setting up the tree until it's loaded
Change-Id: I1f209869a17099dd853a2f4cae766481a6cd03eb
2013-03-27 15:49:14 -07:00
Scott Main de29527684 add javascript action events to search suggestions and search results.
Allows us to track and compare the success of suggested results and results from Google

Change-Id: I64750e3b96ea585de415969cad8ab46c3bbbcaf4
2013-03-25 15:54:05 -07:00
Scott Main 01a2545bba docs: update templates to remove global content for devsite builds
Change-Id: I8c8d052248cebe6408d8c18b44baadd03f3bc96c
2013-03-21 18:12:51 -07:00
Scott Main ec93c11194 Merge "add 64-bit variety NDK packages to download table. Use same naming convention as SDK packages for consistency." into jb-mr1.1-docs 2013-03-20 22:16:27 +00:00
Scott Main a2303454fd add 64-bit variety NDK packages to download table.
Use same naming convention as SDK packages for consistency.

Change-Id: Iee2673d6c9a4b313988e1a73966d2a0fbee27c2c
2013-03-20 15:01:35 -07:00
Scott Main 24790db1cd fix indentation style for nested lists
Change-Id: Id4e1aa6f4dacf0984cfc891081799be887543453
2013-03-19 14:38:59 -07:00
Scott Main 2d967c6df6 tweak jspane width property to ensure bg color for highlighted item is full width
Change-Id: I92e66493229476c29cf71c74091f36063638def4
2013-03-11 09:21:07 -07:00
Scott Main a07be8eee4 switch code font to pure monospace (sans serif).
also add proper margins for elements nested in lists

Change-Id: I1c2914904da63d21359283de945c9805f5d4af93
2013-03-06 12:12:21 -08:00
Scott Main f8333457a5 Revert "docs: move loading of google ref into doc load event to prevent error during load"
This reverts commit 578d6446eb.
2013-02-26 18:10:20 -08:00
Scott Main 578d6446eb docs: move loading of google ref into doc load event to prevent error during load
Change-Id: Ibe825c25e19f136b2cd58e8a096d13904720e3d2
2013-02-26 14:46:12 -08:00
Scott Main 9f2971d1f3 docs: fix suggestions due to file name change for js files
Change-Id: I4037c80f79f37f7a80d0977b4e07f992e3de61e1
2013-02-26 13:07:41 -08:00
Scott Main 7e447edffa docs: update search suggest with google services apis
including some optimizations for loading javascript resources

Change-Id: Idfea12bbb70a24a7853d997e8376e3db50e56760
2013-02-26 10:53:54 -08:00
Scott Main d6cb8fac53 docs: fix padding for left-figure class
Change-Id: Ic4a1a95410f4d913a278bdb8a75c98ce5c4f5bfd
2013-02-21 13:05:03 -08:00
Scott Main 0e69c3e4e7 Merge "docs: add image frame style and left-float figure box" into jb-mr1-dev 2013-02-21 18:53:25 +00:00
Scott Main 48dd7f22d9 docs: add image frame style and left-float figure box
Change-Id: I9103f6f9e9b416902fbb2add60782ba10ff9e900
2013-02-21 10:52:02 -08:00
Robert Ly dae7b523aa Revert "support differently named lists.js files"
This reverts commit a6043f76fa

Change-Id: Id7212f9f1ffbe62fd26f97ab6dcea93bcb34e476
2013-02-21 02:07:00 +00:00
Robert Ly 54056be557 fix android build number in footer of gms and gcm reference
Change-Id: I4726ef6392d63c41d3f79947f78b8837e5d8933b
2013-02-20 16:07:32 -08:00
Robert Ly a6043f76fa support differently named lists.js files
Change-Id: Id564c916e891051f73e4c7d7a3683d58a48ee16d
2013-02-20 14:47:44 -08:00
Scott Main 769a5d8698 docs: re-add dev-docs css because it's needed by diff reports
Change-Id: Ic3f334f5510b008cd1f744823e46fb4fdf5630bd
2013-02-13 11:39:09 -08:00
Scott Main ac2aef5bd8 docs: switch templates to dynamic tab highlighting; prep for devsite template migration
Change-Id: I5785c63603d8da5dfa1118fe28a3106aa20835a6
2013-02-12 14:21:26 -08:00
Scott Main 3062cb889b Merge "docs: udpate JS bundle URL for dac devsite" into jb-mr1-dev 2013-02-11 19:54:11 +00:00
Scott Main d44c3772e0 docs: udpate JS bundle URL for dac devsite
Change-Id: I06d8b8536c55581b8e7b2d59c55b3d3069d7fe1d
2013-02-11 11:47:05 -08:00
Scott Main b7f963758f docs: fix ::selection style to use Android blue for text highlighting
Change-Id: I485be948326fc40c349c8170dd1be13962b4c003
2013-02-07 16:56:43 -08:00
Scott Main 6668404ede Merge "docs: minimize code-font line-height. Fixes problem in which any paragraph with code text has more whitespace below it than other lines." into jb-mr1-dev 2013-02-01 23:32:08 +00:00
Scott Main c5480c32c2 docs: minimize code-font line-height.
Fixes problem in which any paragraph with code text has more whitespace below it than other lines.

Change-Id: I0f39655472d09f5af346c7c7e4df8eb0a5a144df
2013-02-01 15:29:44 -08:00
Scott Main 77c51357eb docs: fix lang switcher for gae by deleting obsolete method call
Change-Id: I8d91d18e89d539960c93748557cccc5aabb0a263
2013-01-30 15:03:59 -08:00
Scott Main 98f23e7af0 docs: delete obsolete asset files
Change-Id: I1aa8a8fa757dbc81180c0585eacb68df5fe0ceb1
2013-01-29 16:05:55 -08:00
Scott Main e05e6f99b3 docs: update template files with those from the templates-ds directory
Change-Id: I47b07b17ea79d0b00300492ba7854e37f1ab00d0
2013-01-29 14:45:34 -08:00
Scott Main 015d616af8 docs: use devsite hdf bool as a javascript condition for managing the lang toggle.
sync the sdk and ds templates so we can move toward one template set

Change-Id: I5316d4cd085734a47953beba203ba8beeb64549e
2013-01-29 10:43:14 -08:00
Scott Main eb41035fcf docs: add the ability to pause the carousel
Change-Id: I1ffc929cf93217b578397d825e1eb41369d2666c
2013-01-14 20:47:40 -08:00
Scott Main 869f3d1f68 Merge "docs: update analytics script to support event tracking" into jb-mr1-dev 2013-01-08 18:47:45 -08:00
Scott Main ae3ee424e1 docs: update analytics script to support event tracking
Change-Id: Ie670a3ae91442ec734d146a76ecab254cb3572d4
2013-01-08 18:45:08 -08:00
Scott Main b8d06a55e0 docs: don't allow setting the sidenav fixed if the doc body is
shorter than the sidenav. Scrolling won't be possible in this case
anyway, but this change fixes a glitch that happens on OSX Lion because
it will allow scrolling anyway for the overscroll bounce.

Change-Id: I1be1c170e327f3cdfe81076a473f74425b8bd080
2012-12-19 18:42:16 -08:00
Robert Ly 5c0f9e996a Merge "fix docs.js bug where changeApiLevel is getting called" into jb-mr1-dev 2012-12-03 12:58:15 -08:00
Robert Ly f88a53d5c3 Merge "docs: support google css class for reference docs" into jb-mr1-dev 2012-12-03 12:57:50 -08:00
Robert Ly 67d75f16f4 fix docs.js bug where changeApiLevel is getting called
Change-Id: Ic250afc792d7e4174bd987ce31df384dad3831ca
2012-12-03 12:55:48 -08:00
Robert Ly 06884f596c docs: support google css class for reference docs
Change-Id: I64e5dc14feb7f045c380e108b6afe44d7b1c8004
2012-12-03 11:50:38 -08:00
Scott Main df08adae5b docs: add "Google Services" search tab
Change-Id: I624f99aeb2f760d646f37d783ebb31b5d7d372b8
2012-12-03 08:54:37 -08:00
Scott Main 8fa5351cba show build info only for android docs (not google)
Change-Id: I318f4f68147c109c119ed1fc05c2429ecc7289b7
2012-11-30 20:19:37 -08:00
Dirk Dougherty e0dceabdd8 Merge "Doc template change: exclude articles from logic to add "prev/next" nav in training docs." into jb-mr1-dev 2012-11-30 15:39:03 -08:00
Scott Main ac71b2b59b docs: revisions for google reference nav
Change-Id: I9befa502a3ce30ab6cca7d45ce1bb469930c14ed
2012-11-30 14:58:24 -08:00
Robert Ly 8acd75aa04 add google class for body
Change-Id: Ie809df1d207ec08ae232f4ae194959eac69ec5fb
2012-11-30 14:02:43 -08:00
Dirk Dougherty 18dca5d058 Doc template change: exclude articles from logic to add "prev/next" nav in training docs.
Change-Id: I384c5c5df053d9e98fa953c2e3998e7c99c08569
2012-11-30 12:44:40 -08:00
Scott Main 5747d38aad enforce margin change for nolist class in training articles
Change-Id: I7da486d557c3d7629827d2b425fd387366bd7f18
2012-11-30 12:02:42 -08:00
Scott Main 4e477d7b9c Merge "docs/css: break words that are too long to fit sidenav; add style for google javadocs" into jb-mr1-dev 2012-11-30 11:32:42 -08:00
Scott Main ab4daf4f58 docs/css: break words that are too long to fit sidenav; add style for google javadocs
Change-Id: I69f062c5e1ddeafdae75e8f2ec77226aac836e48
2012-11-30 11:27:17 -08:00
Robert Ly d2dd6e5825 add support for gms javadocs
Change-Id: Ieecf09794373a176430f554f39e1c632a7013519
2012-11-30 03:22:25 -08:00
Robert Ly 40e9099805 add google services tab
Change-Id: Ia5b249b825c33334458a6762be2d62b657bc0d58
2012-11-28 17:58:58 -08:00
Scott Main d4cb783159 add 'external-link' class for links that go off-site
Change-Id: I9e78cd6a7cb2ce14e5e15fe43e87b55ac456f302
2012-11-28 11:10:09 -08:00
Robert Ly 7d131e0ad6 fix build
Change-Id: I3e98493aac48b0061d44351fb8c0f07a759b25c0
2012-11-27 17:27:34 -08:00
Scott Main 502c939f6d docs: add support for an infinite number of nested lists in side nav
Change-Id: I9e0fa672e20067f3e09f56560e7d11847d0b9388
2012-11-27 15:00:40 -08:00
Scott Main 34a4b8239e Merge "docs: revise message when api level for docs is too low; make the message appear on package pages as well" into jb-mr1-dev 2012-11-16 10:43:23 -08:00
Scott Main 8f24ca8e3b docs: revise message when api level for docs is too low;
make the message appear on package pages as well

Change-Id: I9e71d4054e2e14efe9646029ac0a18022ec24fb2
2012-11-16 10:34:22 -08:00
Scott Main 11ac05bb01 docs: add script for 32/64-bit bundle downloads
Change-Id: I502e4ced8ac30cc19bf321e7a586f28244bf1294
2012-11-15 15:18:05 -08:00
Scott Main 83cd28b354 am 9efb6b09: am be264b6d: am 5a1123ef: add script to generate list of classes for each training course landing page
* commit '9efb6b09c4a32cc5cd190a224d15022968859ddb':
  add script to generate list of classes for each training course landing page
2012-11-14 17:40:58 -08:00
Scott Main 5a1123ef7a add script to generate list of classes for each training course landing page
Change-Id: Ieac8a97a8d6fda41a3682241901150cfe16afc4d
2012-11-14 17:31:07 -08:00
Scott Main 7c05b69c0c docs: add warning message for adt when on 32-bit os
Change-Id: I457a219bb1f9e07d6b94084c69c56309568a4881
2012-11-14 14:12:29 -08:00
Scott Main 098d8deaef docs: add support for ndk tos wall
Change-Id: Ife49429b8241f4e9ce5aaa9f6494d52014a3f238
2012-11-13 11:40:42 -08:00
Scott Main df0e161703 docs: css fix
Change-Id: Ie03e7708866fd2e97347ee10f3a40b2f77b0a803
2012-11-13 07:52:20 -08:00
Scott Main e0c11a6f9a docs: fix broken template
Change-Id: Ibb804bcf8851cdb15cf6c98dff25a3a391eb8301
2012-11-13 07:47:50 -08:00
Scott Main bbffb4bfb4 docs: add support for templated tabs with the doc title
Change-Id: I820a2704d21c94a9a452854a46ea88749d8274d0
2012-11-13 07:40:16 -08:00
Scott Main 705e8a4f61 docs: something whatever
Change-Id: I08120f1e27a488dfec03868758ab6de2e75fdc09
2012-11-13 05:36:12 -08:00
Scott Main 55d99832fd docs: changes to sdk page and script for toggles
Change-Id: Idef0c6099885cada3a4866ed7b5ec5b6f5078e39
2012-11-12 23:03:59 -08:00
Scott Main db3678bcaa add ADT Bundle to the download page
Change-Id: Ife533a32e29f2d5f1c58a42ad0b91c5053b44da4
2012-11-12 18:00:23 -08:00
Robert Ly e896e34471 Merge "add css animation videos" into jb-dev-docs 2012-11-01 17:26:34 -07:00
Robert Ly d78354d35b add css animation videos
Change-Id: I2e51cfce1af378e03a9ac40be76ab55e61d19f24
2012-11-01 17:13:44 -07:00
Scott Main ef4d10811a Merge "update class header for deprecated info" into jb-dev-docs 2012-10-24 19:31:25 -07:00
Scott Main 27ac66542a update class header for deprecated info
Change-Id: I4c41f0bdbac43dc49c99af7bcb5521f7e3278304
2012-10-24 18:50:46 -07:00
Dirk Dougherty a4375a19c6 Merge "Doc change: clean up a few stray css files. These are moved to frameworks/base/docs/image_sources/*." into jb-dev-docs 2012-10-24 13:33:40 -07:00
Scott Main 0e585706f0 fix spacing in carousel text for Develop homepage
Change-Id: If8f95e66b4c1b4918b0d1dea59241d5a17acbfd9
2012-10-22 20:30:22 -07:00
Dirk Dougherty 2297ace604 Doc change: clean up a few stray css files. These are moved to frameworks/base/docs/image_sources/*.
Change-Id: I5a14bae715187c3d9307b39394f1b53d4fed39dd
2012-10-13 17:32:23 -07:00
Dirk Dougherty 8f20607ccb Doc change: add new items to qv and adjust height.
Change-Id: I246c36e0aabb32264325e0943aed127419da2a73
2012-10-11 15:29:33 -07:00
Scott Main e6850d2db7 fix layout bug on API Guide landing pages
Change-Id: Ic757d26c29cd06c33dc62816698b68a9b5fe869a
2012-10-08 15:59:01 -07:00
Scott Main 46c5804c47 add analytics tracking event for sdk/ndk downloads
Change-Id: Icb04694ef9498ae684350ad4a971fb23d0301605
2012-10-03 16:34:52 -07:00
Scott Main a4888dc865 adjust position of prev/next links at bottom of page to account for russian string length
Change-Id: I450a11e49fb16bb9e30140d78b190d06b39e1b13
2012-10-02 23:28:08 -07:00
Scott Main f3d0104a80 DO NOT MERGE
cherrypick from jb-dev Change-Id: Iaab2b30349943a236607d54394019fa8d89de800

provide more width for buttons in training top nav to accomodate longer
strings from translation

Change-Id: Ia1d8f7caa532ad1060d8a54fda082ada754c1f48
2012-10-02 21:02:22 -07:00
Scott Main 6eb95f1ac8 DO NOT MERGE
cherypick from jb-dev Change-Id: Ifcae4fcf716c8bb48f3ff18f17313b3f131c3f73

refactor the logic for changing languages in global strings.
instead of using separate <span> elements for each language,
provide a unique attribute in each <a> element for each localized
version of that link's title.

Change-Id: I09c65a8dce9b3d9623e32fe17876b055e452618b
2012-10-02 21:00:53 -07:00
Scott Main aa2ce5d9aa DO NOT MERGE
cherrypick from jb-dev Change-Id: I90412e1e03a2676d927796187fe811481bf38455
add localize langs for global strings

Change-Id: I02b6c5b5d83247a352dc041e9885befe82502adc
2012-10-02 20:58:34 -07:00
Scott Main 24bbcd5026 DO NOT MERGE
cherrypick from jb-devChange-Id: I6eb11d3629dd13d2c7ac297cc9fa3828ed59f170
add style for code captions;
ignore sidenav headers for HRs

Change-Id: Ic7768dc388a3871be8b02634e2b70f360a62e407
2012-10-02 20:56:56 -07:00
Scott Main 52948fcf8c DO NOT MERGE
cherrypick from jb-dev Change-Id: I792cca40a4cca6f811d1528219e51b3895d4d626
create consistent spacing between lists and the paragraphs within them

Change-Id: I4977e4f6f34c7fb8605c861ebb4b33895f630977
2012-10-02 20:53:11 -07:00
Scott Main 5b5ff1a6ae more specific selector for new blockquote style to fix regressions
on other pages that use <blockquote>

Change-Id: Icf37f515cfe2204afb58a796222c166088d0f131
2012-09-12 10:29:45 -07:00
Scott Main ee7cb4637d Merge "add 'small' style for long headings in Training courses" into jb-dev 2012-09-11 14:41:28 -07:00
Scott Main 6b2dc27c08 add 'small' style for long headings in Training courses
Change-Id: I385df22d12ad419ad6883c0e94d3053e7e520a09
2012-09-11 14:27:34 -07:00
Scott Main 65511c0a72 fix script bug. we were running some scripts that are only used in the reference
Change-Id: I0693a7a7af5e41283942b387e53a254903b83427
2012-09-07 15:51:32 -07:00
Scott Main f5089846a1 docs: combine all possible js files into one to reduce the number of requests
Also make change to doc template and css to fix footer layout bug introduced
by change 9edfa6db8c

Change-Id: Icfb1b499abfca6a39b5bff8fab576b14a1cf960a
2012-08-15 14:47:50 -07:00
Scott Main 9edfa6db8c docs: move home.css into default.css to reduce number of requests
Change-Id: I156182c5ad1545f570808af565948cbd3c05a3ee
2012-08-14 16:28:45 -07:00
Scott Main 0e71cee2bb docs: make landing pages w/o image span the full page width
Change-Id: I96af0c7e1443079820c44b589b0c3ef638ae9c86
2012-08-07 13:59:43 -07:00
Scott Main 9332a45918 docs: comment-out unused style (the png currently does not resolve)
Change-Id: I665068f0808a81c98cbd0685f68ed7f4df4cf0e0
2012-08-06 18:54:18 -07:00
Roman Nurik c9e30dce7c Merge "Improve print stylesheet for d.a.c." into jb-dev 2012-08-01 12:39:19 -07:00
Roman Nurik 393830e7b7 Improve print stylesheet for d.a.c.
- Improve printed page margins
- Hide navigational elements
- Print link URLs
- Improve spacing on key elements

Change-Id: Ic487e00636b1d06f15d7a29b4162c9e31f5569b1
2012-08-01 12:21:16 -07:00
Scott Main 2ccbd3f8d4 change "nolist" style to be simply remove bullets and indent; leave the rest alone.
Change-Id: Iccde983bf31338752f83ac72c0cdc543b4faf12a
2012-08-01 12:05:12 -07:00
Scott Main a8d7485de2 Merge "add script to create links on topic landing page for first doc that use the doc's title" into jb-dev 2012-07-31 12:43:29 -07:00
Scott Main b505ca6db5 add script to create links on topic landing page for first doc that use the doc's title
Change-Id: Iec86a5b9fa7dcd9246d6e8958f17e0022e0963a8
2012-07-30 17:04:11 -07:00
Scott Main 54d2a9b9ec add bottom-margin to div-based notes
Change-Id: I4c74ab362b00bfb68093a975171f777e3fb5eef9
2012-07-24 14:54:32 -07:00
Scott Main 06cb5c73f3 Set the min height and width for images in carousel, set height of tabs so the selected indicator aligns with horizontal rule
Change-Id: I0283e2634713d3fb6c99b465687c605e32a776f3
2012-07-23 14:34:34 -07:00
Scott Main b72b7b84b6 Merge "docs: further specify design docs' list styles to fix uls appearing like ols" into jb-dev 2012-07-19 11:03:42 -07:00
Scott Main b9ae92b401 docs: further specify design docs' list styles to fix uls appearing like ols
Change-Id: I203daeafb390532e34687338d5c3d4a307ba680f
2012-07-19 11:01:27 -07:00
Scott Main 71b28a600e Merge "docs: add check in hash-change callback to be sure we're only dealing with hash-tags that are search queries. bug: 6843654" into jb-dev 2012-07-18 16:59:41 -07:00
Scott Main 7f527b3f44 docs: add check in hash-change callback to be sure we're only dealing with hash-tags that are search queries.
bug: 6843654

Change-Id: I5fee7426d8ad404a5f03f37297fe72009df30de7
2012-07-18 16:58:29 -07:00
Scott Main 55163c882e Doc change: add links to the More menu.
Change-Id: I77e848f86278781b0a44eb672ea711e00352fde5
2012-07-18 16:18:25 -07:00
Scott Main 1d62fa807e docs: bring back min-height for nav-x for proper height of secondary tabs
Change-Id: I865195b9fde9ec64fbe2c083c0d3617a55b54a0f
2012-07-17 13:15:12 -07:00
Scott Main a214d84ff8 docs: upgrades to search.
Fix history navigation functionality.
Faster ajax requery while typing.
Ignore ENTER key when performing requery to avoid reload.
Improve results reveal with minimum height for proper div.

Change-Id: Ie50a6d7bdf58ad3e17dd15d30dcec973a123b7bf
2012-07-16 18:12:22 -07:00
Scott Main 220c34492a docs: adjust spacing for collapsible sections (release notes)
Change-Id: I68c8429e0e18bff50463b40f163df6a89ac8730a
2012-07-16 15:40:17 -07:00
Scott Main 38f19c2125 Merge "docs: fix search suggestions and other script bugs for offline docs" into jb-dev 2012-07-03 14:10:57 -07:00
Scott Main 1b3db11e6e docs: fix search suggestions and other script bugs for offline docs
Change-Id: I3f9404695966b99be1c8ed36249788e448399296
2012-07-03 14:06:22 -07:00
Scott Main f973ced37e docs: better message for download page when os detection fails
Change-Id: I940c0847ddc214ef36bfd0708d289cff200dfc62
2012-06-28 11:56:01 -07:00
Scott Main 810e288914 docs: fix overlapping sidebar bug,
but I think this re-introduces a bug in IE where the sidenav
position moves slightly left/right during scroll, but it's a
worthwhile compromise and will investigate a diff solution for that later.

Change-Id: Id1f2141b6638e199d1a4ad1d198a5a5aa45bf264
2012-06-27 02:08:20 -07:00
Scott Main 03c972c5c6 docs: misc css
Change-Id: I398d30f9414564f58ea3546a192ad1c12e715349
2012-06-26 22:23:22 -07:00
Scott Main 9ada226478 docs: darker font color
Change-Id: I8fe4117ac501001dd6c7156b337f3ff7a4f75793
2012-06-23 14:59:36 -07:00
Scott Main 6a7a66beba docs: try darker text and shorter line height
Change-Id: I7fe3cdc0a0f5cdfd8bcb69b1e1a2d11d8b5301d3
2012-06-23 11:20:48 -07:00
Scott Main d786a29f14 docs: adjust homepage carousel styles
Change-Id: Id2b32ce67d26a19b40e7944a5dd37cd17d8eec2a
2012-06-22 21:23:32 -07:00
Scott Main 25659b0217 docs: update sdk template to support new ndk doc layout
Change-Id: I47ec2fcd4b7116fa3dc59483a434d7f188f984d1
2012-06-22 17:02:25 -07:00
Scott Main 412eaf202c docs: style changes for notes
Change-Id: I13bc3f19780421a30feffc6e6ffe19cfadc886e5
2012-06-22 14:36:33 -07:00
Scott Main f9b799b5ba cherrypick from ics Change-Id: I07b59de3f2e4a5fef2e8722d7f7ab159ded8b2df
return old analytics script

Change-Id: Ica4abe000b529272efa9ba7867b3e7aa6c8c9e55
2012-06-22 10:28:47 -07:00
Scott Main e4d8f1b1f5 Massive clobber of all template files in developer site for new design
Change-Id: I5f243dcb377a8b2e573c404a9e685cc64e0e06d2
2012-06-21 21:29:11 -07:00
Scott Main 6b719da316 docs: update sidenav-width-adjust script so Training classes save the width for the Resources section
Change-Id: I0125b1d585a0adde7f5f485f3288fdc7a8a55faf
2012-04-20 10:19:54 -07:00
Scott Main 76b0139a50 docs: update doc template to make the Resources side nav wider (+40px)
Change-Id: I173e64d57f9ec31bf0c3912bca5d46a5f7c78338
2012-04-19 19:23:04 -07:00
Roman Nurik 51c9e67ec0 Merge "docs: Android Design: v3 update (CSS changes)" into ics-mr1 2012-04-04 10:53:51 -07:00
Scott Main 1048bd3fb3 docs: revert the change that made "new" tags stick on the first line
and thus allow them to wrap.

Change-Id: Id6b68e38a11f4fb314a0408c78bf7e2b543c8d00
2012-04-03 13:26:25 -07:00
Roman Nurik 5eed15e5cb docs: Android Design: v3 update (CSS changes)
Change-Id: I00ffb845038f3054e03b41582859ecff4ab63a3e
2012-03-29 13:28:37 -07:00
Scott Main 33666ade7a docs: re-add android design icon, which had been removed from original location
Change-Id: I30f3a38ab3e80e78595e28c46815874e4a84f2ed
2012-03-26 13:24:14 -07:00
Roman Nurik d9ca90b4b9 Add SDK template and assets for Android Design
Change-Id: Id7a953bf59e5e05242c46cdfb2b425e80424fc2f
2012-03-06 14:31:15 -08:00
Dirk Dougherty 7d114b195d doc change: assets for play
Change-Id: I58647fd0059c5de54dd7665527a73f61e0d2dd32
2012-03-05 21:36:28 -08:00
Scott Main 7f24ddbc75 Merge "docs: add the sidenav h2 back to the stylesheet for compatibility w/ javadocs" into ics-mr1 2012-01-31 15:19:44 -08:00
Scott Main 1c9630ea4a docs: add the sidenav h2 back to the stylesheet for compatibility w/ javadocs
Change-Id: I37551efd09bea528200a93a8d3602ea11e63f140
2012-01-31 15:18:47 -08:00
Scott Main 5be15a0f13 Merge "docs: update TOS and PP links to point to unified policy/tems also add a link to the b.android.com issue for reporting doc issues and open footer links in a new window issue: 5931704" into ics-mr1 2012-01-31 14:24:54 -08:00
Scott Main 35e8c99869 docs: update TOS and PP links to point to unified policy/tems
also add a link to the b.android.com issue for reporting doc issues
and open footer links in a new window
issue: 5931704

Change-Id: Icd6e9b7fb742b05a3c2064b6f2f7767b5b7ed1d8
2012-01-31 11:20:24 -08:00
Scott Main 2032e31979 docs: add schema.org sitenavigation scope for sid-navs
Change-Id: I0952195223f93bda67af0b951c3a061fe92948ce
2012-01-30 16:26:41 -08:00
Scott Main 939c3f7228 docs: modify css to support sidenav headings with span, instead of h2
because I suspect the h2 is sending mixed signals to search engines for result snippets

Change-Id: I80f13774f25439efebcade1b9db41c005018d2aa
2012-01-30 15:17:45 -08:00
Scott Main 3652a113d1 docs: add support for meta descriptions in the <head>
Change-Id: I7ff7a5083a75dde718b4701623e029c225289617
2012-01-30 13:03:37 -08:00
Scott Main dc7418b282 docs: add images for g+ homepage announcement
Change-Id: I36430a1885be368218e1c896d6fc008355096a06
2012-01-30 09:53:13 -08:00
Scott Main b10b282b43 docs: add css for Android Design links and add link to site header
Change-Id: I0a9469519076b1c5b9d7c121df1f2c731a08d2cb
2012-01-10 09:59:22 -08:00
Scott Main 50d6f97c46 docs: revise space wrapping to avoid "new" tags from breaking new lines alone
Temp fix

Change-Id: If99ce3442ec179a46fe3bbe0a06f690527d05eb5
2011-12-15 20:06:32 -08:00
Scott Main 0f429ebe63 docs: fix bug in script for tab cookies
Change-Id: I09a49764f66673b3f55032158efd44c228832e8f
2011-12-15 19:12:17 -08:00
Scott Main 1d42360a02 docs: style and script changes for android u classes
Change-Id: I5866541bb9dd41329aa02328b805959c8f675f8c
2011-12-15 17:34:40 -08:00
Scott Main adc61d6a0e docs: update template and css for android u
Add a custom version of docpage.cs to the droiddoc template, because
it adds a good deal of custom design and behavior (instead of updating
the doclava version of the file). Add CSS for next/previous links in
android u lessons and revise style for download button.

Change-Id: I829c4fb134d6f5c3cee82fb86958d23ef64e8481
2011-11-30 18:55:01 -08:00
Scott Main 360240097a docs: add new style for adding "deprecated" messages to dev guides
Change-Id: I0d690a6c0880343919114370331b7c2756b6a50e
2011-10-24 16:45:58 -07:00
Scott Main 51372cd2e5 docs: update "na" style to make opaque, add dropshadow, and re-order
z-index to be on top of images

Change-Id: I7c0c2e15d511f4362eb721bf8eb0343fa3f24bc0
2011-10-19 16:09:26 -07:00
Scott Main 76b6e18184 docs: add ics logo for homepage
Change-Id: I57504ce0919c88fd28ef550775b012b6c3d8498f
2011-10-05 13:53:36 -07:00
Scott Main 8e83353d47 docs: fix visual bug in the search tabs.
I assume this was introduced by a change in the CSE implementation

Change-Id: I776e385fd6c0d738a4bbf8372911b205c1f98123
2011-10-03 15:34:32 -07:00
Scott Main bc54702626 docs: add 'reference' class for use with 'special' to refine the headings
used within the 'special' div when in the reference.

Change-Id: Iebf84484e2eda104b2247aefc5a539f2a62c5102
2011-10-03 13:01:43 -07:00
Scott Main 99113abd2a docs: enable 'updated' tag for resource docs
Change-Id: I070f14247088f6a88dcfdfb352615e588bf3e902
2011-09-21 20:52:47 -07:00
Scott Main 219a267408 docs: fix javadoc filtering script to not choke on R.styleable class but continue handling provisional api levels
Change-Id: Ia21ea5d4f379fd85d975d1f3fe387c311c7c15aa
2011-09-21 18:38:44 -07:00
Scott Main 629b0f00d3 cherrypick from Change-Id: I2722879ee7f246e34acca7fd9fb84acff4e8540d
docs: some css for android u
and javascript

Change-Id: Idb897999eb9c88823ebab418ca5386bca77ca969
2011-09-13 09:43:16 -07:00
Scott Main 70e606653a docs: update api filtering to support provisional APIs (api levels that are string names)
Change-Id: I2df890739054e4130e455c9dcf5540a9c39f5ee3
2011-07-27 18:31:32 -07:00
Scott Main 4406721157 cherrypick Change-Id: I8b29d54ba9e6f712907b01ad6f4669e6bb30007a
docs: update android market icon

Change-Id: Ibea9ae92e17d2f810daa8922a15f2defc9e2fb3c
2011-07-27 11:33:33 -07:00
Scott Main 1e03253bf2 Merge "docs: fix xss vulnerability bug 5008593" into honeycomb-mr2 2011-07-08 17:42:40 -07:00
Scott Main 76a62f2deb docs: fix xss vulnerability
bug 5008593

the fix deletes some code that was originally there to handle side nav
highlighting for inter-doc links. This code is no longer necessary (or at least
should not be) because side nav links should not be inter-doc links, but
should always be to their own document (no two sidenav links should go
to separate sections of the same doc).

Change-Id: If77d6fe869e6a44bae2f194c9de26222e6ad9419
2011-07-08 16:27:20 -07:00
Joe Malin 8cf99f0cce DOC CHANGE: Change GTV icons for home page
Change-Id: If7172345173b165350417ab52f706d6444dc4d96
2011-07-06 13:37:00 -07:00