Minor manifest updates.

This commit is contained in:
Scott González 2012-07-06 12:39:17 -04:00
parent 7f859e4c73
commit d369417f7e
2 changed files with 13 additions and 7 deletions

View File

@ -1,6 +1,9 @@
{
"core": {
"description": "The core of jQuery UI, required for all interactions and widgets."
"description": "The core of jQuery UI, required for all interactions and widgets.",
"homepage": "http://jqueryui.com/",
"demo": "http://jqueryui.com/",
"docs": "http://api.jqueryui.com/category/ui-core"
},
"datepicker": {
"description": "A datepicker than can be toggled from a input or displayed inline.",
@ -13,6 +16,7 @@
]
},
"effect": {
"title": "jQuery UI Effects Core",
"description": "Extends the internal jQuery effects, includes morphing, easing and is required by all other effects.",
"keywords": [
"animation",
@ -22,7 +26,10 @@
"class",
"transition",
"easing"
]
],
"homepage": "http://jqueryui.com/",
"demo": "http://jqueryui.com/",
"docs": "http://api.jqueryui.com/category/effects-core"
},
"position": {
"description": "A utility plugin for positioning elements relative to other elements.",

View File

@ -4,6 +4,7 @@ var path = require( "path" );
grunt.registerTask( "manifest", "Generate jquery.json manifest files", function() {
var pkg = grunt.config( "pkg" ),
// TODO: URLs for UI core and effects core
base = {
core: {
name: "ui.{plugin}",
@ -18,10 +19,8 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function(
name: "ui.effect-{plugin}",
title: "jQuery UI {Plugin} Effect",
keywords: [ "effect", "show", "hide" ],
// TODO: Will we have individual pages for 1.9?
homepage: "http://jqueryui.com/effect/",
// TODO: Will we have individual pages for 1.9?
demo: "http://jqueryui.com/effect/",
homepage: "http://jqueryui.com/{plugin}-effect/",
demo: "http://jqueryui.com/{plugin}-effect/",
docs: "http://api.jqueryui.com/{plugin}-effect/",
dependencies: [ "effect" ],
file: "ui.effect-{plugin}"
@ -43,7 +42,7 @@ grunt.registerTask( "manifest", "Generate jquery.json manifest files", function(
manifest = {
name: replace( baseManifest.name ),
title: replace( baseManifest.title ),
title: data.title || replace( baseManifest.title ),
description: data.description,
keywords: [ "ui", plugin ]
.concat( baseManifest.keywords || [] )