Commit graph

23425 commits

Author SHA1 Message Date
Amanda Kassay
5b005e1ded Merge "Adding top category, subcategory and book path detection for go/libraries" into mnc-mr-docs 2016-04-29 18:44:25 +00: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
1e5a77656d add studio survey button to header.
am: 075aad742a

* commit '075aad742a9d12d43435e7b909a6a999c1050f6c':
  add studio survey button to header.

Change-Id: I82c20a411335126acfcca8773aab51eb142b213d
2016-04-29 16:32:31 +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
cdb27514f9 remove version number from download button at bottom of page.
am: 4194fc5

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

Change-Id: I80310ef73bfbba642fa35802d356360cd33a01e8
2016-04-25 18:03:27 +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
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
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
smain@google.com
06bdd78284 change name of offline doc tab to "API reference"
and put the version number in the secondary nav bar (it was there anyway).

Change-Id: I4b49581eca6afa445a434cd6ae31572d01f276ef
2016-03-09 15:56:20 -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
Scott Main
6bc6afbf3a Merge "Add new templates directory for "reference only" builds. The only difference is that this changes the masthead.cs file to show a different header." into mnc-mr-docs 2016-03-08 02:49:10 +00:00
smain@google.com
5fea5df99c Add new templates directory for "reference only" builds.
The only difference is that this changes the masthead.cs file to show a different header.

Change-Id: Id58eb7e8c42a8ab0886f2f5da794fcd108f299ff
2016-03-07 18:43:21 -08:00
Dirk Dougherty
ef0e3eaa14 Add styles to compress the summary table presentation.
Change-Id: Icbb5da4c87bc111bfe7c5d29af4ad53546f11114
2016-03-04 18:46:54 -08:00
Dirk Dougherty
882adaed0e Search for suggestion matches across PREVIEW_RESOURCES.
Change-Id: I8290aca2488a55da53905a658c98c0496709a8cb
2016-03-03 14:47:35 -08:00
Dirk Dougherty
8612002d89 Add Preview to templates-sdk develop nav and global nav in templates-sdk-dev. Remove dependence on -includePreview.
Change-Id: I1456c3c94522f58c7d1c899ff96dd95cdc6ada7c
2016-03-01 18:46:39 -08:00
Amanda Kassay
f534e7bffa Merge "DAC DevSite template updates. Altered meta data in head section for navigation logic." into mnc-docs 2016-02-23 21:49:11 +00:00
Amanda Kassay
5608167ae9 DAC DevSite template updates. Altered meta data in head section for navigation logic.
Change-Id: Ib032229ff071abf7438a5f09245cac9c542b1f53
2016-02-23 13:38:09 -05:00
Scott Main
d549df0f42 Merge "increase top margin for reference H4s to increase readability. This is necessary now that the parameter lists are presented in tables." into mnc-docs 2016-02-19 01:00:03 +00:00
smain@google.com
990a4a1e1e increase top margin for reference H4s to increase readability.
This is necessary now that the parameter lists are presented in tables.

Change-Id: Ibd7f3875b9823bb66309d2a5ed1acc188ede3ba4
2016-02-18 16:56:48 -08:00
Neil Fuller
61522762f0 DevSite locale var update for hl url param.
Change-Id: I083009804d08246ffce4d4fe87fa9906ba5aaccc
2016-02-17 17:27:31 -05:00
smain@google.com
1c2d8c41ba move the parameter_list() method to macros_overrides
Change-Id: Ia8dcbc0cac478a9f89d90ec04a924c579bca3abb
2016-02-09 15:18:30 -08:00
smain@google.com
a0a6d3220f Revise API reference templates to make them compatible
with both DAC and DevSite. Includes a variety of cleanup and redesign.
Now prints method parameters and return values even if not documented in source.
Now prints return value data type.
Now prints method name as heading without arguments, then the full signature below.
New heading styles with more spacing and removed background color.

Change-Id: I7a991df5e8d0d7ac8ff81c20b4b4692e67eb88aa
2016-02-09 15:02:51 -08:00
Dirk Dougherty
01c63ddc2b Merge "Fix toggle icon in reference to match site-wide behavior." into mnc-docs 2016-02-06 01:45:34 +00:00