Commit Graph

670 Commits

Author SHA1 Message Date
Dan Willemsen
d95f90b7fa Update droiddoc templates for build/make move am: 0f40bafa96
am: a62ff78df4

Change-Id: Ide8cff8175defb1df783ae0f2b8091eceb9b195e
2016-10-12 19:28:24 +00:00
Dan Willemsen
0f40bafa96 Update droiddoc templates for build/make move
Since build/ was moved to build/make/, the droiddoc templates now need
another ../ to reach the android root.

Test: m online-sac-docs
Change-Id: I2393f6c791df9b67ccafb4eb047fd8ccc52481cb
2016-10-12 10:35:53 -07:00
Dirk Dougherty
09f49d4d57 Fix samples metadata concat. am: 8d565ed204 am: 22fe7409a4
am: 7f56225968

Change-Id: I39ad662b38562d65aa58ab733c6a6f20b2921e80
2016-10-08 02:40:34 +00:00
Dirk Dougherty
8d565ed204 Fix samples metadata concat.
Change-Id: Ie9b616818995b3066d0e65ea1aa30077ed9d82ce
2016-10-07 12:12:50 -07:00
Scott Main
a6da9e565c template updates to support constraint layout reference
Change-Id: I83394c0c09c2c6fe83238cd072375cdd122f6cac
2016-10-07 18:13:57 +00:00
Amanda Kassay
b5c04107af Adding excludeFromSuggestions, wear preview project path, and android wear/tv/auto/versions projectsw to template
b/31771704 b/31903798 b/31773716

Staged:
https://android-dot-devsite.googleplex.com/about/versions/nougat/index.html
https://android-dot-devsite.googleplex.com/index.html
https://android-dot-devsite.googleplex.com/wear/preview/index.html

Change-Id: Idf9893f9d108c26038ead06c84de771e21b89f37
2016-10-05 22:31:22 +00:00
Dirk Dougherty
a9fcf48078 For ds builds only, emit a separate metadata file for samples only.
Change-Id: I95c03a10cca586c6675f98664479ba8bf2e43576
2016-09-30 17:33:50 -07:00
Przemyslaw Szczepaniak
a7edd92c45 Fix for non-empty a[name] tags in openJdk based javadocs.
openJdk based android javadoc contains <a name=... tags
that are non-empty. Currently they are being hidden,
causing badly formatted pages for some java.* classes
(missing text and random whitespace blocks).

This change makes the existing a[name] hiding rule
apply only to empty tags.

Test: make docs
Bug: 31700998
Change-Id: Ifa75bbabe308d7aed0cce6165c1113e5a382a121
2016-09-26 16:36:03 +00:00
Dirk Dougherty
fc61720cd5 Support "ID" lang code in place of "IN".
Change-Id: I56632e638fdda81e494cbb7080502b35393a291f
2016-09-21 18:29:18 -07:00
smain@google.com
7055897faa add support for constraint layout's DATA list
Change-Id: Ia301ad235dcfd5a5c2bb13bfa6daa753f9206800
2016-09-09 15:47:58 -07:00
smain@google.com
4f3a05a2c6 Merge all of templates-sdk-dev into templates-sdk.
I actually just deleted templates-sdk/ then made a copy of templates-sdk-dev/
and then renamed it to templates-sdk/. So this is a clean copy.
Once this goes through cleanly, I'll delete templates-sdk-dev/ and update
all doc targets to use templates-sdk/.

Change-Id: I276695969e02fcf718370564e84b077a9d43725e
2016-08-31 11:30:02 -07:00
Scott Main
3ce1a3ba57 Revert "add studio survey button to header." 40k responses is probably enough. am: 4d6e15df03 am: fa46661aa7 am: 3ff492deee
am: 20324e21f9

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

Change-Id: I22deb175299dd6614dc72c6daaa5baf2fab9342a
2016-05-06 16:37:05 +00: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
smain@google.com
788f98ae22 resolve merge conflicts of bfa0fff to nyc-dev
Change-Id: Ibcb549cbb578bb1aa2347a63df0420d65272586e
2016-05-02 15:30:44 -07: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
smain@google.com
16f9ebf7c5 add studio survey button to header. am: f887aec708 am: cc81c16143
am: ec1a297d39

* commit 'ec1a297d39ee983dd82353ffc53428eb6da09f0c':
  add studio survey button to header.

Change-Id: I4608a02f570358c8efaec0568517f1923f59e65e
2016-04-29 16:37:24 +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
smain@google.com
635983e5ce remove version number from download button at bottom of page. am: ba761ab am: fbbd3fa
am: ce735df

* commit 'ce735dfad2de7598a5f9b76eb50bf0a1d11a94e5':
  remove version number from download button at bottom of page.

Change-Id: I55268cba0d6b96018518f36781ffb32ab9b8aa67
2016-04-26 17:01:45 +00:00
Amanda Kassay
2f57a4a25e Added html escape for search queries to fix XSS issue b/28135307 am: 2bb3328 am: b32745e
am: 06abbd3

* commit '06abbd3140f04dc5a08b57ca40c15628ae308ec3':
  Added html escape for search queries to fix XSS issue b/28135307

Change-Id: I6a594b9cf4bd07b498033521c532db726edad69c
2016-04-26 17:01:43 +00:00
smain@google.com
089e4bbcf5 resolve merge conflicts of 0e7d143 to nyc-dev
Change-Id: Ia597b62ee4cb0befc91aa3b1a9e362223583f352
2016-04-26 09:45:19 -07:00
smain@google.com
f97b68556c clarify what\'s in each windows package and rename the other packages to command line tools am: 6b2a986 am: 6e56ea1
am: 25afc40

* commit '25afc407a46d213fb69c4ac33a99c6323c1b8218':
  clarify what's in each windows package and rename the other packages to command line tools

Change-Id: Ie9e44bc2146303cc3c0c8ce7cba58d25bf360dae
2016-04-26 03:57:07 +00: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
Trevor Johns
4ff8891dd2 Revert "Revert "Merge "Resolve merge conflicts of a5f0068 to nyc-dev" into nyc-dev""
This reverts commit bf234fdfba.
2016-04-19 01:15:39 -07: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
Trevor Johns
bf234fdfba Revert "Merge "Resolve merge conflicts of a5f0068 to nyc-dev" into nyc-dev"
This reverts commit 6edfbfabad, reversing
changes made to e09b2c16e3.
2016-04-12 10:35:42 -07:00
Trevor Johns
f719c29ea9 Resolve merge conflicts of a5f0068 to nyc-dev
Change-Id: Id0d573566abb989a173349ffaf01390cebd51607
2016-04-11 14:55:35 -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
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
6405ed9d51 remove the 'refonly' templates.
no longer needed, as the standard templates now have conditions to handle the reference only design.
bug: 27667787

Change-Id: I7c627ad4cace0bb1c77c494b3052eca3c9609a5c
2016-03-22 16:00:34 -07: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
9a12a2f82f add the 'reference only' header design as a condition to the normal templates.
also add override for implementation to the to-root link path.
bug: 27667787

Change-Id: I79892ddb7c5053d5325afcd50016c726b34e1361
2016-03-22 14:31:39 -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
smain@google.com
0d7e38042d make image resource URLs relative so they work in offline docs
Change-Id: I4329689d8a3db3ce67f1aa7084a3a4634721e3cb
(cherry picked from commit 7d959be058)
2016-03-10 23:10:15 +00: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
David Friedman
5f2abfce98 Docs: Change MD5 to SHA1 in NDK download table column heading
Change-Id: I0b70c86de855d609b45378c18dfb83830b944a28
2016-03-09 17:58:08 -08:00
Dirk Dougherty
49a5668d6f Fix broken suggestions for preview.
Change-Id: I1a13a3a9d9e38470ac040a37cdd04319bd6340e6
2016-03-09 14:36:34 -08:00
Scott Main
8866b1a45e Merge "Revert "Search for suggestion matches across PREVIEW_RESOURCES."" into mnc-mr-docs 2016-03-09 20:42:54 +00:00
Scott Main
519da3e6b3 Revert "Search for suggestion matches across PREVIEW_RESOURCES."
This broke search suggestions.

This reverts commit 882adaed0e.

Change-Id: I830339887955dfe86d502e54860d90ce59394d69
2016-03-09 20:42:29 +00:00
David Friedman
3c5e9c98c3 Merge "Docs: Updates NDK download table for NDKr11" into mnc-mr-docs 2016-03-09 20:35:59 +00:00
David Friedman
d0f655c818 Docs: Updates NDK download table for NDKr11
Bug: 27167382
Change-Id: I11ef906f81c8a6e4951559952d4eeb383e7bf911
2016-03-09 12:31:17 -08:00
smain@google.com
7d959be058 make image resource URLs relative so they work in offline docs
Change-Id: I4329689d8a3db3ce67f1aa7084a3a4634721e3cb
2016-03-09 11:57:39 -08:00
Joe Fernandez
f539ae51e3 docs: Update DAC template to force refresh of resources
- incremented js and css resource references to =v18
b/2753523

Change-Id: I43335732227662fea21c655a3ca67054bd828fe5
2016-03-09 00:08:17 -08:00
Dirk Dougherty
ef0e3eaa14 Add styles to compress the summary table presentation.
Change-Id: Icbb5da4c87bc111bfe7c5d29af4ad53546f11114
2016-03-04 18:46:54 -08:00