DescriptionChange the existing extension samples page to an automatically-generated searchable directory.
* Fixes a typo in the maps_app sample that prevents the manifest from being parsed as valid JSON.
* Adds code to build a samples.json file in the documentation root, for use by the jstemplate docs rendering process.
* Adds build/sample.py, a class which parses an individual sample's metadata out of the filesystem
* Adds css/samples.css for directory-specific styles (could be merged into base styles if this is an issue)
* Adds images/sample-default-icon.png for samples which don't have 128px icons.
* Adds js/sample_search.js as the source for the sample search code (was difficult to escape this through the JSTemplate code without being in a different file).
BUG=None
TEST=None
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55111
Patch Set 1 #Patch Set 2 : Fixing presumit warnings #Patch Set 3 : Strips a few trailing spaces and adds a license to sample_search.js #
Total comments: 6
Patch Set 4 : Requested changes from the review #
Total comments: 1
Patch Set 5 : Add an extensibility model so that individual pages can extend their template data. #
Total comments: 14
Patch Set 6 : Make changes suggested by Antony #Messages
Total messages: 8 (0 generated)
|