Commit Graph

13 Commits

Author SHA1 Message Date
Dirk Dougherty
0bb2c1702a Merge commit 'bb94d790' into manualmerge
Conflicts:
	tools/droiddoc/templates-sdk/sample.cs

Change-Id: Ic1640c3620eb6b770bae7766af9ea5c64d74afe0
2014-01-22 17:00:19 -08:00
Dirk Dougherty
bb94d79028 Support generated samples_toc.cs file.
(cherry picked from commit d239e4c9b5)

Change-Id: I3409d7d3beefaacb7d56e15a47597241d257c213
2014-01-23 00:33:49 +00:00
Scott Main
ecff92d9f7 resolved conflicts for merge of 79a55d35 to klp-ub-dev
Change-Id: I95f46942e03f125e1a907003520caaf6ab575016
2013-12-10 14:04:30 -08:00
Scott Main
79a55d3585 add Analytics event to track sample downloads (for real this time)
Change-Id: I014fd31f0f12698462d44a8afed96ca6e3cfef38
2013-12-09 17:13:56 -08:00
Dirk Dougherty
d239e4c9b5 Support generated samples_toc.cs file.
Change-Id: I34eeffbc98f729e13de805e7bbb9dac96d13fdd8
2013-12-03 00:16:14 +00: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
4bddbb1c77 Adjust samples output pages.
Change-Id: I78a523f218f8733d4a3428e1d54c3c5c471cfa17
2013-10-29 15:42:10 -07:00
Dirk Dougherty
f2bd4eb26a Build file breadcrumb from parentdirs keys, optionally linkify.
Change-Id: I7f4c9887d77c6d3ab1aca4e05963b6144a8b22f8
2013-09-05 19:17:04 -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
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
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
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