Commit Graph

39 Commits (03c6d1a120fc99b35423c38d5b237e549ac252bf)

Author SHA1 Message Date
Ben Moon 0a338d97cc Merge pull request #2688 from tagawa/tagawa/small-fixes
Cheat sheet template: Added missing template types
2016-03-03 20:49:56 +00:00
Daniel Davis 7d4d513647 Cheat sheet template: Added missing template types 2016-03-03 16:45:10 +09:00
Zach Thompson 037b566b97 Revert "Revert "Make the handle a template parameter"" 2016-02-16 16:15:00 -07:00
Zaahir Moolla cc3d54f455 Revert "Make the handle a template parameter" 2016-02-16 18:01:44 -05:00
Ben Moon 246509ae52 Merge pull request #2085 from duckduckgo/zt/template-handler
Make the handle a template parameter
2016-02-16 08:34:41 +00:00
Zaahir Moolla f76ae5f046 add missing comma to normalize function 2016-01-24 23:00:02 -05:00
Zach Thompson de4ca92969 Add trigger for all module templates 2016-01-21 09:52:21 -07:00
Zach Thompson 6bbbf8cc61 Add trigger to template too since certain handlers require certain trigger types 2016-01-21 09:50:18 -07:00
Zach Thompson b1f367cc81 Make the handle a template parameter 2016-01-20 14:02:08 -07:00
Zaahir Moolla 0b000904c6 Update Goodie Overview link 2016-01-13 18:29:11 -05:00
Zaahir Moolla 66e7a8e1dd Update Goodite template URLs for new documentation 2016-01-13 18:25:26 -05:00
Zaahir Moolla 36a21e1422 remove capital letter from example trigger words 2016-01-11 16:50:14 -05:00
Zach Thompson 53b8c46fb5 templates.yml: Add javascript-focused template group
Minimal: A Perl mod template geared toward processing the query in javascript
2016-01-11 10:34:39 -07:00
Sarvesh D f5b26b9969 templates.yml: Remove 'needs_restart' field...
...from template definitions. See https://github.com/duckduckgo/p5-app-duckpan/pull/296 for details
2015-12-26 23:39:22 +05:30
Sarvesh D 9cf8c7e4e4 templates.yml: Disabled subdirs for cheat sheets.
For example, "hello/world" will no longer be an accepted name
for a cheat sheet instant answer.
2015-12-11 02:54:14 +05:30
Sarvesh D 2c48748e12 templates: Added optional handlebars file 2015-12-10 21:21:40 +05:30
Sarvesh D 08fde96f65 Added templates.yml for generic template support 2015-12-10 07:14:28 +05:30
Sarvesh D 5a7352af6c Added sample Goodie CSS file 2015-12-10 07:14:28 +05:30
Sarvesh D 6ca971a9a9 Added sample CheatSheet JSON file 2015-12-10 07:14:28 +05:30
Sarvesh D 11b00c1bb1 templates: use ia_id instead of lia_name 2015-12-10 02:07:52 +05:30
Zaahir Moolla 7414639194 remove extra single quote, comment out tempaltes block to prevent overwriting Perl by default 2015-11-25 14:04:43 -05:00
Zaahir Moolla 65ab1cf08e remove extra closing bracket 2015-11-17 17:00:18 -05:00
Zaahir Moolla f2ffe39f55 Update template further 2015-11-17 14:58:31 -05:00
Zaahir Moolla fb33450f8d Convert tabs to spaces 2015-11-14 11:52:21 -05:00
Zaahir Moolla 6fd9f1114f Update template Perl, add template JS file 2015-11-14 11:51:44 -05:00
Zach Thompson 05bbb7b4ca Remove metadata from template
Remove some of the unnecessary checks in remainder
2015-10-30 14:26:05 -06:00
Thomas Denizou c5be281fe0 "Use strict" on remaining goodies 2015-05-15 18:36:25 -04:00
moollaza 3f5f508ec4 switch from tabs to spaces 2015-03-09 18:30:15 +00:00
Zaahir Moolla 5fc20fa776 update Goodie template, currently adding extra depth to code_url link 2014-11-12 23:25:29 -05:00
Matt Miller a2f7de4a97 templates: add more guidance information.
- Explicity label both category and topics to be completed with a link
  to appropriate section of the metadata docs
- Request tests for example queries and some negative samples.
2014-10-20 06:44:48 +02:00
Zaahir Moolla ff98b9a0a5 add missing semicolon to attribution, comment out empty category and topic 2014-10-19 20:09:10 -04:00
Zaahir Moolla b38a76eee2 whoops, fix typo 2014-10-15 23:29:27 -04:00
Zaahir Moolla f823f79294 Update templates to match duckpan new updates 2014-10-15 23:26:59 -04:00
Matt Miller ff65eab80c Example.pm template: correct code_url 2014-09-30 23:27:43 +02:00
Matt Miller a7a2cd9ffe Example.pm template: freshener updates
- Point to metadata docs to help fill out section.
- Reorganize metadata into same order as docs.
- Remove "icon_url" and "source" which do not generally apply to
  Goodies.
- Better example strings for the `attribution` section.
- Use "guard" before "work" in example code.
2014-09-30 20:43:52 +02:00
Zaahir Moolla 9d30237426 Merge pull request #639 from mwmiller/new_templates
templates: update to include basic ZCI attributes.
2014-09-22 19:24:40 -04:00
Matt Miller 94fa143731 templates: update to include basic ZCI attributes.
There will likely be some debate about whether or not to include the
`is_cached` value, but I like making it explicit even when there is
a default.

On the `answer_type`, the tests as produced by `duckpan new` could
not pass. It might not be entirely clear to the new developer how to
add the `answer_type` and fix them.
2014-09-16 08:56:30 -04:00
Matt Miller 28b9caf6d6 Example template: minor copy fixes.
- 'Write and abstract' -> 'Write an abstract'
- 'dukgo.com' -> 'duck.co'
2014-09-15 15:26:13 -04:00
Zaahir Moolla df8feb651d Small updates to template files 2013-10-28 16:18:28 -04:00