From 3dfc8191153b30b9a3872ffc008020fcf358a2d3 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 10 Jun 2026 03:44:33 +0100 Subject: [PATCH] All: Add various pages to a new "Project" meta category Ref https://github.com/jquery/jquery.com/issues/266 --- Gruntfile.js | 7 ++++++- pages/browser-support.md | 6 +++++- pages/download.md | 6 +++++- pages/history.html | 4 +++- pages/license.md | 5 ++++- pages/support.md | 6 +++++- pages/team.html | 4 +++- pages/upgrade-guide.md | 4 ++++ taxonomies.json | 12 ++++++++++++ 9 files changed, 47 insertions(+), 7 deletions(-) create mode 100644 taxonomies.json diff --git a/Gruntfile.js b/Gruntfile.js index c2b0477..59cc000 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -16,6 +16,11 @@ grunt.initConfig({ })() }); -grunt.registerTask( "build", [ "build-posts", "build-resources" ] ); +grunt.registerTask( "copy-taxonomies", function() { + grunt.file.copy( "taxonomies.json", + grunt.config( "wordpress.dir" ) + "/taxonomies.json" ); +}); + +grunt.registerTask( "build", [ "build-posts", "build-resources", "copy-taxonomies" ] ); }; diff --git a/pages/browser-support.md b/pages/browser-support.md index daf8462..acff117 100644 --- a/pages/browser-support.md +++ b/pages/browser-support.md @@ -1,6 +1,10 @@ diff --git a/pages/download.md b/pages/download.md index b32a4f7..3268734 100644 --- a/pages/download.md +++ b/pages/download.md @@ -1,6 +1,10 @@ diff --git a/pages/history.html b/pages/history.html index c090d89..9f39afb 100644 --- a/pages/history.html +++ b/pages/history.html @@ -1,7 +1,9 @@ diff --git a/pages/support.md b/pages/support.md index dc083a5..0a47d49 100644 --- a/pages/support.md +++ b/pages/support.md @@ -1,6 +1,10 @@ diff --git a/pages/team.html b/pages/team.html index a0ad9c3..863e4a9 100644 --- a/pages/team.html +++ b/pages/team.html @@ -1,7 +1,9 @@ diff --git a/taxonomies.json b/taxonomies.json new file mode 100644 index 0000000..946ba3a --- /dev/null +++ b/taxonomies.json @@ -0,0 +1,12 @@ +{ + "category": [ + { + "slug": "uncategorized", + "name": "Uncategorized" + }, + { + "slug": "meta", + "name": "Project" + } + ] +}