From d369417f7eacbf4c7be68d138f3fd05a8adf0314 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 6 Jul 2012 12:39:17 -0400 Subject: [PATCH] Minor manifest updates. --- build/core.json | 11 +++++++++-- build/tasks/build.js | 9 ++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/build/core.json b/build/core.json index e50a57b42..366abf8e1 100644 --- a/build/core.json +++ b/build/core.json @@ -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.", diff --git a/build/tasks/build.js b/build/tasks/build.js index aeacc232d..5f9d33fec 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -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 || [] )