Commit graph

1319 commits

Author SHA1 Message Date
Amanda Kassay
0eefec03a7 Revert "Updated default.css and docs.js for DoD transition fallback."
am: 8bac6eb880

* commit '8bac6eb880992e0a4dd37b0f1cf039feebb483ae':
  Revert "Updated default.css and docs.js for DoD transition fallback."

Change-Id: I33f169f14f2e7b993e30c00fe59016357242f288
2016-05-26 18:22:56 +00:00
Amanda Kassay
8bac6eb880 Revert "Updated default.css and docs.js for DoD transition fallback."
This reverts commit 4d5bcbf62a.

Change-Id: I45dc33a7711f435fd35b51bb0cb44445e6edd918
2016-05-26 17:58:23 +00:00
Billy Lamberta
09304b21b3 docs: work minisite
Changes needed to build the new directory
frameworks/base/docs/html/work. Support for
resource cards and navigation.

bug: 27744376
Change-Id: I8556eb0e2cf86eb83be395a97306d220394827cd
2016-05-16 14:15:06 -07:00
Joe Fernandez
f8e4e54b89 docs: Wear Preview - update TOC navigation behavior
b/28004352

Change-Id: I1818c7b0def80e5871a0e6abf0353e9216164e1f
2016-05-15 17:56:44 -07:00
Amanda Kassay
613cf217cf Updated default.css and docs.js for DoD transition fallback.
am: 4d5bcbf62a

* commit '4d5bcbf62a0cc6ec1db0c860a818b6166dceed74':
  Updated default.css and docs.js for DoD transition fallback.

Change-Id: I22a7466baee5d752542000565afb826eef06c96d
2016-05-14 15:29:30 +00:00
Joe Fernandez
f38a01d800 docs: Instant Apps - enable TOC and navigation for navigation
Change-Id: I7a259da8618f090a8146d4f42608ebc8baf73af1
2016-05-13 16:15:22 -07:00
Amanda Kassay
4d5bcbf62a Updated default.css and docs.js for DoD transition fallback.
Change-Id: I0a978667b2ead38ba8dad8c90b173e9e91abd6f2
2016-05-13 16:04:44 -04:00
Amanda Kassay
7387b5861b Removing commented out deprecated download links in sdkpage.cs
am: eefc7d441c

* commit 'eefc7d441c2c3b235fdae71853921dffff6da755':
  Removing commented out deprecated download links in sdkpage.cs

Change-Id: I95145f9fb614fc875fcffbccfa24f176160138f7
2016-05-12 18:27:28 +00:00
Amanda Kassay
eefc7d441c Removing commented out deprecated download links in sdkpage.cs
Change-Id: Iad26e72120b110fa017821be887de0cd07b3889a
2016-05-12 14:17:41 -04:00
Joe Fernandez
151592490e docs: Wear Preview - TOC and Resource card fixes for DoDS
b/28004352

Change-Id: Iff222f71508c21e0b35a3d41c846c062755605cd
2016-05-11 23:07:26 -07:00
Scott Main
547111f16c Merge "remove silly css hack that's no longer needed in the new site design, but which now actually causes layout problems." into mnc-mr-docs 2016-05-11 17:34:29 +00:00
smain@google.com
0be54fdd34 remove silly css hack that's no longer needed in the new site design,
but which now actually causes layout problems.

Change-Id: I27859f6103ea0538442b22cd67b64d970d831d93
2016-05-11 10:17:42 -07:00
Dirk Dougherty
ceb4a59409 Custom data names for reference extensions.
Change-Id: I55088a1ddb40fc3648dc8b983c94330084bb65f1
2016-05-10 20:28:58 -07:00
Dirk Dougherty
8dbd7b96cf For reference extension builds, update book_path to reference the appropriate file location.
Change-Id: I1eab8fcde8348e7cd7efa90c5c1768b1103e5b97
2016-05-10 17:56:19 -07:00
Scott Main
fa46661aa7 Revert "add studio survey button to header." 40k responses is probably enough.
am: 4d6e15df03

* commit '4d6e15df032f561d64a11190df052aec364a3d47':
  Revert "add studio survey button to header." 40k responses is probably enough.

Change-Id: I7fd13ab441835b3515e5a66aeda8e27ce748c8a8
2016-05-06 16:22:24 +00:00
Scott Main
4d6e15df03 Revert "add studio survey button to header."
40k responses is probably enough.

This reverts commit 075aad742a.

Change-Id: I0c1964fda243c32f57156e762edec511314d9cb5
2016-05-06 16:08:56 +00:00
Amanda Kassay
307d36d9d4 Update to reference templates to include resources to fix navigation highlighting issues.
b/28560594
b/28586131

Staged:
http://akassay.nyc.corp.google.com:8080/reference/android/Manifest.permission_group.html?tenant=android

Change-Id: I6cefa0014a308e571f88b0635f6bdae21b4276cb
2016-05-05 02:35:22 +00:00
Scott Main
7204a974dc Merge "remove left nav from any remaining sdk/ and tools/ pages. There are still some sdk/ pages but all tools/ pages are gone, so although we could just ignore such pages, better safe than sorry, so going to catch those too." into mnc-mr-docs 2016-05-04 18:31:39 +00:00
smain@google.com
cff93c3f81 remove left nav from any remaining sdk/ and tools/ pages.
There are still some sdk/ pages but all tools/ pages are gone,
so although we could just ignore such pages, better safe than sorry,
so going to catch those too.

Change-Id: Iaa16fcbf88db39f38b8d5f0dee5f8ab068664f3c
2016-05-04 10:19:00 -07:00
Andrew Solovay
36af4d4d08 doc: Changed go/ category etc. to topic/
Per instructions from DD and JF, changing the top-level go/
directory to topic/ ; as a result, I'm going into AK's recent CLs
(in which she added infrastructure for the new go/ directory)
and changing those too.

See first comment for doc stage location.

bug: 28558659
Change-Id: Iaa10f1a9f7477b00f6bfaa748039d146dfb292fe
2016-05-03 16:09:21 -07:00
Amanda Kassay
6da868246b Update path to be absolute instead of relative
Staged:
http://akassay.nyc.corp.google.com:8080/reference/packages.html?tenant=android

b/28560594


Change-Id: I7a13aebf0932a8a37fcc09bad4dcbe4cc5252bb3
2016-05-03 22:11:18 +00:00
Amanda Kassay
cb8ddc56e5 Moving preview as a top level category so changing top category from develop to preview
Change-Id: I30f97904f078b7730e12aece36343ed1a03c6cbe
2016-05-03 15:52:06 -04:00
smain@google.com
6f0ed9bddd remove the sdk download tables. No longer used now that downloads are in the /studio docs.
Change-Id: I19524f58c2bcbfc5abdc79c60b16a259b526801b
2016-05-02 14:19:17 -07:00
Elliot Waite
dc55c97296 Merge "Generate reference nav to _book.yaml for devsite builds." into mnc-mr-docs 2016-04-29 23:42:15 +00:00
Dirk Dougherty
ba8230849d Generate reference nav to _book.yaml for devsite builds.
Change-Id: Iea0e1031b0d757664b8994096010dd92b98ca883
2016-04-29 16:25:21 -07:00
Amanda Kassay
c6d9cdce8d Adding top category, subcategory and book path detection for go/libraries
Fix for sdk download form b/28425669

Fix for missing 'Develop' text in left nav on preview pages b/28450858

Change-Id: I0b7a5dc26dc3cb4be58aecbbad41cdf62e0331ba
2016-04-29 16:38:37 +00:00
smain@google.com
075aad742a add studio survey button to header.
adds JS to save in local storage whether the user already clicked the
survey. The button appears only if they have not clicked it yet.

Change-Id: Ifc5a100a8bb8505c47d95c7cfb5aaa8cdbfdc8bd
(cherry picked from commit f887aec708)
2016-04-29 16:28:40 +00:00
smain@google.com
f887aec708 add studio survey button to header.
adds JS to save in local storage whether the user already clicked the
survey. The button appears only if they have not clicked it yet.

Change-Id: Ifc5a100a8bb8505c47d95c7cfb5aaa8cdbfdc8bd
2016-04-28 17:34:41 -07:00
Amanda Kassay
76074b1c00 Dac-on-DevSite: Update to fix issue with sample project pages double breadcrumb and header. b/27923494
Change-Id: I575a7f425277ede320c1fa457770af1fe29d3583
2016-04-26 16:56:37 -04:00
Dirk Dougherty
1a2dbb64a8 Update samples_navtree cs template to include generated _yaml from samples TOC.
Change-Id: Ied2bd5b3e58d9eb2c10e8bc10678aa5d02ef1794
2016-04-25 11:26:11 -07:00
smain@google.com
4194fc52a5 remove version number from download button at bottom of page.
Change-Id: I4e2b510a0ff88b987b5b9a65b6a7e89d043e946a
(cherry picked from commit ba761ab333)
2016-04-25 17:58:05 +00:00
smain@google.com
ba761ab333 remove version number from download button at bottom of page.
Change-Id: I4e2b510a0ff88b987b5b9a65b6a7e89d043e946a
2016-04-25 10:56:30 -07:00
Amanda Kassay
01febb9675 Fix for double header and footer on ndk download pages: b/27950742
https://android-dot-devsite.googleplex.com/ndk/downloads/index.html

Fix for html code in page title and h1 tag: b/28237039
https://android-dot-devsite.googleplex.com/guide/topics/manifest/manifest-element.html

Change-Id: Idc9ba0a1ba33d1b89b7dbfd3d620d0e587c57459
2016-04-18 18:19:48 +00:00
Scott Main
848295aea9 Merge "Remove nav toggle and up-nav for desktop size screens and remove breadcrumbs for the Studio docs, because these are not needed when there's only one level of "tabs"" into mnc-mr-docs 2016-04-15 21:29:04 +00:00
Amanda Kassay
2bb3328965 Added html escape for search queries to fix XSS issue
b/28135307

Change-Id: Ifd1a0eadbdb726558446af4860986d1af55b77ae
2016-04-14 16:48:37 +00:00
smain@google.com
80beb0a145 Remove nav toggle and up-nav for desktop size screens
and remove breadcrumbs for the Studio docs, because these are
not needed when there's only one level of "tabs"

Also deleted a strangely redundant screen-size declaration for the header-tabs visiblity.

For now this applies only to Studio docs (body.studio selector).
Later, we should update the Android templates to use a new class
in the body such as "no-global-nav" to trigger these styles

Change-Id: If398814871980b56e3e0484244dee364198d687c
2016-04-13 19:08:44 -07:00
smain@google.com
6e90dbff6c change order of windows downloads
Change-Id: I9e4ff119c1aa05d1bb91d4da2db9f3496ba76bd9
2016-04-06 20:22:46 -07:00
smain@google.com
6b2a98630b clarify what's in each windows package and rename the other packages to command line tools
Change-Id: If054549ea3df8679342efb30a2c0f5fa607cb2a2
2016-04-06 18:04:30 -07:00
Amanda Kassay
ebcf3977a2 Tabs js error fix, DevSite css issues fix, Search filtering
Staged: http://akassay.nyc.corp.google.com:8080/index.html#q=Activity
Change-Id: Id25525a8d8c927ea67cd13b43652d75ce53733cf
2016-04-05 20:46:13 +00:00
smain@google.com
190e610df3 new styles and tab-highlighting to support custom Android Studio site design
Change-Id: I27d11f4526ba79bce8deb5102cc2afbe34a0e116
2016-04-05 11:13:12 -07:00
smain@google.com
7281802438 tweak the NDK download analytics event tag
Change-Id: I822d744f7f370330a26f0ff612de357dbe1005fe
2016-04-04 16:17:01 -07:00
Dirk Dougherty
c607a4d4d5 Update modal download dialogs for sdk/ndk download.
Revise the redirect behavior once download completes.
Add more appropriate title and download message when installing SDK tools only.
Force refresh when the Studio download dialog is dismissed, to avoid leaving the dialog in stale state.
Add styles for the Studio download page.

Change-Id: Ibc4ddb4a6130ab8bd8d6044472022465829f2000
2016-04-04 12:45:04 -07:00
Dirk Dougherty
0d268bea3c increment version for fetched js and cs files to avoid proxy caching.
Change-Id: I427151284bf6777adb04e85b07b9b70355f8f7a2
2016-03-31 15:59:09 -07:00
Amanda Kassay
843649bab1 Migrating web search api to custom search api on templates-sdk
akassay.nyc.corp.google.com:9000/#q=mobile
Change-Id: I71bdc7dbfede7bff0361ce00abef8081b852dd36
2016-03-31 16:40:35 +00:00
smain@google.com
38b0e22049 new search results layout.
no more custom suggestions; just API matches and organic results.

Change-Id: I6324aa6fb289f5d93aa701aecbd7fad64711d35f
2016-03-30 14:27:29 -07:00
smain@google.com
1c8d4a49e9 remove dev guide search suggestions, move organic search results up.
tweak the search suggest for reference pages

Change-Id: I14e48fdac3f103dd998591886b91e5f6040b0f7a
2016-03-30 14:27:12 -07:00
Amanda Kassay
e4a8ab1a44 Adding book metadata to doc head, fix tabs for content build,
fix for reference page double footer.

Change-Id: I8e721c60e21203b599779e31f48336d450a53fa3
2016-03-29 21:10:56 +00:00
smain@google.com
3d048cdc25 increment docs.js version to force browser refresh.
needed to load recent fixes to the zippies.

Change-Id: Ifd14b99ea004b674f15558dc86371901adbe2375
2016-03-22 15:57:16 -07:00
smain@google.com
c040187f63 update zippy icons to use material arrow (up/down instead of right/down).
fixes bug 27695580, which was caused because I previously
submitted an update to the code doclava templates to do this but
did not update the current site templates in kind.

Change-Id: I33a4ef90359838c02def90beb486e5a2dc21cbf7
2016-03-16 11:48:23 -07:00
David Friedman
2f52adb1c8 Merge "Docs: Change MD5 to SHA1 in NDK download table column heading" into mnc-mr-docs 2016-03-10 01:59:03 +00:00