Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" ] );

};
6 changes: 5 additions & 1 deletion pages/browser-support.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<script>
{
"title": "Browser Support"
"title": "Browser Support",
"menuOrder": -30,
"termSlugs": {
"category": [ "meta" ]
}
}
</script>

Expand Down
6 changes: 5 additions & 1 deletion pages/download.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<script>
{
"title": "Download jQuery"
"title": "Download jQuery",
"menuOrder": -40,
"termSlugs": {
"category": [ "meta" ]
}
}
</script>

Expand Down
4 changes: 3 additions & 1 deletion pages/history.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script>
{
"title": "History",
"pageTemplate": "page-fullwidth.php",
"termSlugs": {
"category": [ "meta" ]
},
"customFields": [
{
"key": "subtitle",
Expand Down
5 changes: 4 additions & 1 deletion pages/license.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<script>
{
"title": "License"
"title": "License",
"termSlugs": {
"category": [ "meta" ]
}
}
</script>

Expand Down
6 changes: 5 additions & 1 deletion pages/support.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<script>
{
"title": "jQuery Support"
"title": "jQuery Support",
"menuOrder": -20,
"termSlugs": {
"category": [ "meta" ]
}
}
</script>

Expand Down
4 changes: 3 additions & 1 deletion pages/team.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script>
{
"title": "The jQuery Team",
"pageTemplate": "page-fullwidth.php",
"termSlugs": {
"category": [ "meta" ]
},
"customFields": [
{
"key": "subtitle",
Expand Down
4 changes: 4 additions & 0 deletions pages/upgrade-guide.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<script>
{
"title": "jQuery Core Upgrade Guides",
"menuOrder": -10,
"termSlugs": {
"category": [ "meta" ]
},
"noHeadingLinks": true
}
</script>
Expand Down
12 changes: 12 additions & 0 deletions taxonomies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"category": [
{
"slug": "uncategorized",
"name": "Uncategorized"
},
{
"slug": "meta",
"name": "Project"
}
]
}