From 2b2e4cc8ffe48ae81b006e780c88de118201d166 Mon Sep 17 00:00:00 2001 From: luxferre Date: Wed, 29 Apr 2026 14:39:35 +0100 Subject: [PATCH] feat: content pack category Content packs moved from the blog section into their own section. --- contentpack/index.mdx | 9 +++++ .../packs}/2026-04-22-contentpack-podcast.mdx | 0 .../packs}/2026-04-22-contentpack-webxdc.mdx | 0 contentpack/packs/_category_.json | 8 +++++ docusaurus.config.ts | 14 +++++++- package-lock.json | 33 ++----------------- package.json | 1 + 7 files changed, 33 insertions(+), 32 deletions(-) create mode 100644 contentpack/index.mdx rename {blog => contentpack/packs}/2026-04-22-contentpack-podcast.mdx (100%) rename {blog => contentpack/packs}/2026-04-22-contentpack-webxdc.mdx (100%) create mode 100644 contentpack/packs/_category_.json diff --git a/contentpack/index.mdx b/contentpack/index.mdx new file mode 100644 index 0000000..cc4d243 --- /dev/null +++ b/contentpack/index.mdx @@ -0,0 +1,9 @@ +--- +description: Content Packs +sidebar_position: 0 +sidebar_label: Content Packs +--- + +# Content Packs + +Content packs are small, self-contained extensions to improve your Butter Box. diff --git a/blog/2026-04-22-contentpack-podcast.mdx b/contentpack/packs/2026-04-22-contentpack-podcast.mdx similarity index 100% rename from blog/2026-04-22-contentpack-podcast.mdx rename to contentpack/packs/2026-04-22-contentpack-podcast.mdx diff --git a/blog/2026-04-22-contentpack-webxdc.mdx b/contentpack/packs/2026-04-22-contentpack-webxdc.mdx similarity index 100% rename from blog/2026-04-22-contentpack-webxdc.mdx rename to contentpack/packs/2026-04-22-contentpack-webxdc.mdx diff --git a/contentpack/packs/_category_.json b/contentpack/packs/_category_.json new file mode 100644 index 0000000..ff8890f --- /dev/null +++ b/contentpack/packs/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Content Pack List", + "position": 1, + "link": { + "type": "generated-index" + }, + "collapsible": false +} \ No newline at end of file diff --git a/docusaurus.config.ts b/docusaurus.config.ts index cb473e1..8722623 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -64,6 +64,18 @@ const config: Config = { ], ], + plugins: [ + [ + '@docusaurus/plugin-content-docs', + { + id: 'contentpack', + path: 'contentpack', + routeBasePath: 'contentpack', + sidebarPath: './sidebars.ts' + } + ], + ], + themeConfig: { // Replace with your project's social card image: 'img/docusaurus-social-card.jpg', @@ -89,7 +101,7 @@ const config: Config = { }, {to: '/contact', label: 'Get In Touch', position: 'left'}, {to: '/blog', label: 'Latest News', position: 'left'}, - {to: '/blog/tags/contentpack', label: 'Content Packs', position: 'left'}, + {to: '/contentpack', label: 'Content Packs', position: 'left'}, { type: 'localeDropdown', position: 'right', diff --git a/package-lock.json b/package-lock.json index 9558cd2..0fdc1f3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "dependencies": { "@docusaurus/core": "3.10.0", "@docusaurus/faster": "3.10.0", + "@docusaurus/plugin-content-docs": "^3.10.0", "@docusaurus/preset-classic": "3.10.0", "@mdx-js/react": "^3.0.0", "clsx": "^2.0.0", @@ -165,7 +166,6 @@ "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-5.50.2.tgz", "integrity": "sha512-ypSboUJ3XJoQz5DeDo82hCnrRuwq3q9ZdFhVKAik9TnZh1DvLqoQsrbBjXg7C7zQOtV/Qbge/HmyoV6V5L7MhQ==", "license": "MIT", - "peer": true, "dependencies": { "@algolia/client-common": "5.50.2", "@algolia/requester-browser-xhr": "5.50.2", @@ -291,7 +291,6 @@ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz", "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==", "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", @@ -2082,7 +2081,6 @@ } ], "license": "MIT", - "peer": true, "engines": { "node": ">=18" }, @@ -2105,7 +2103,6 @@ } ], "license": "MIT", - "peer": true, "engines": { "node": ">=18" } @@ -2215,7 +2212,6 @@ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.1.tgz", "integrity": "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==", "license": "MIT", - "peer": true, "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -2637,7 +2633,6 @@ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.1.tgz", "integrity": "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==", "license": "MIT", - "peer": true, "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -3468,7 +3463,6 @@ "resolved": "https://registry.npmjs.org/@docusaurus/core/-/core-3.10.0.tgz", "integrity": "sha512-mgLdQsO8xppnQZc3LPi+Mf+PkPeyxJeIx11AXAq/14fsaMefInQiMEZUUmrc7J+956G/f7MwE7tn8KZgi3iRcA==", "license": "MIT", - "peer": true, "dependencies": { "@docusaurus/babel": "3.10.0", "@docusaurus/bundler": "3.10.0", @@ -3551,7 +3545,6 @@ "resolved": "https://registry.npmjs.org/@docusaurus/faster/-/faster-3.10.0.tgz", "integrity": "sha512-GNPtVH14ISjHfSwnHu3KiFGf86ICmJSQDeSv/QaanpBgiZGOtgZaslnC5q8WiguxM1EVkwcGxPuD8BXF4eggKw==", "license": "MIT", - "peer": true, "dependencies": { "@docusaurus/types": "3.10.0", "@rspack/core": "^1.7.10", @@ -3682,7 +3675,6 @@ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-docs/-/plugin-content-docs-3.10.0.tgz", "integrity": "sha512-9BjHhf15ct8Z7TThTC0xRndKDVvMKmVsAGAN7W9FpNRzfMdScOGcXtLmcCWtJGvAezjOJIm6CxOYCy3Io5+RnQ==", "license": "MIT", - "peer": true, "dependencies": { "@docusaurus/core": "3.10.0", "@docusaurus/logger": "3.10.0", @@ -4714,7 +4706,6 @@ "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-3.1.1.tgz", "integrity": "sha512-f++rKLQgUVYDAtECQ6fn/is15GkEH9+nZPM3MS0RcxVqoTfawHvDlSCH7JbMhAM6uJ32v3eXLvLmLvjGu7PTQw==", "license": "MIT", - "peer": true, "dependencies": { "@types/mdx": "^2.0.0" }, @@ -5419,7 +5410,6 @@ "resolved": "https://registry.npmjs.org/@svgr/core/-/core-8.1.0.tgz", "integrity": "sha512-8QqtOQT5ACVlmsvKOJNEaWmRPmcojMOzCz4Hs2BGG/toAp/K38LcsMRyLp349glq5AzJbCEeimEoxaX6v/fLrA==", "license": "MIT", - "peer": true, "dependencies": { "@babel/core": "^7.21.3", "@svgr/babel-preset": "8.1.0", @@ -5524,7 +5514,6 @@ "integrity": "sha512-R8VQbQY1BZcbIF2p3gjlTCwAQzx1A194ugWfwld5y+WgVVWqVKm7eURGGOVbQVubgKWzidP2agomBbg96rZilQ==", "hasInstallScript": true, "license": "Apache-2.0", - "peer": true, "dependencies": { "@swc/counter": "^0.1.3", "@swc/types": "^0.1.26" @@ -6249,7 +6238,6 @@ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz", "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==", "license": "MIT", - "peer": true, "dependencies": { "csstype": "^3.2.2" } @@ -6591,7 +6579,6 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -6659,7 +6646,6 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -6705,7 +6691,6 @@ "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-5.50.2.tgz", "integrity": "sha512-Tfp26yoNWurUjfgK4GOrVJQhSNXu9tJtHfFFNosgT2YClG+vPyUjX/gbC8rG39qLncnZg8Fj34iarQWpMkqefw==", "license": "MIT", - "peer": true, "dependencies": { "@algolia/abtesting": "1.16.2", "@algolia/client-abtesting": "5.50.2", @@ -7185,7 +7170,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.10.12", "caniuse-lite": "^1.0.30001782", @@ -8152,7 +8136,6 @@ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.1.tgz", "integrity": "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==", "license": "MIT", - "peer": true, "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -9538,7 +9521,6 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -14218,7 +14200,6 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -14751,7 +14732,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -15655,7 +15635,6 @@ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.1.tgz", "integrity": "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==", "license": "MIT", - "peer": true, "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -16472,7 +16451,6 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.2.5.tgz", "integrity": "sha512-llUJLzz1zTUBrskt2pwZgLq59AemifIftw4aB7JxOqf1HY2FDaGDxgwpAPVzHU1kdWabH7FauP4i1oEeer2WCA==", "license": "MIT", - "peer": true, "engines": { "node": ">=0.10.0" } @@ -16482,7 +16460,6 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.5.tgz", "integrity": "sha512-J5bAZz+DXMMwW/wV3xzKke59Af6CHY7G4uYLN1OvBcKEsWOs4pQExj86BBKamxl/Ik5bx9whOrvBlSDfWzgSag==", "license": "MIT", - "peer": true, "dependencies": { "scheduler": "^0.27.0" }, @@ -16538,7 +16515,6 @@ "resolved": "https://registry.npmjs.org/@docusaurus/react-loadable/-/react-loadable-6.0.0.tgz", "integrity": "sha512-YMMxTUQV/QFSnbgrP3tjDzLHRg7vsbMn8e9HAa8o/1iXoiomo48b7sk/kkmWEuWNDPJVlKSJRB6Y2fHqdJk+SQ==", "license": "MIT", - "peer": true, "dependencies": { "@types/react": "*" }, @@ -16567,7 +16543,6 @@ "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.3.4.tgz", "integrity": "sha512-Ys9K+ppnJah3QuaRiLxk+jDWOR1MekYQrlytiXxC1RyfbdsZkS5pvKAzCCr031xHixZwpnsYNT5xysdFHQaYsA==", "license": "MIT", - "peer": true, "dependencies": { "@babel/runtime": "^7.12.13", "history": "^4.9.0", @@ -18342,8 +18317,7 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "license": "0BSD", - "peer": true + "license": "0BSD" }, "node_modules/tsyringe": { "version": "4.10.0", @@ -18424,7 +18398,6 @@ "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "devOptional": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -18766,7 +18739,6 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -18965,7 +18937,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.106.2.tgz", "integrity": "sha512-wGN3qcrBQIFmQ/c0AiOAQBvrZ5lmY8vbbMv4Mxfgzqd/B6+9pXtLo73WuS1dSGXM5QYY3hZnIbvx+K1xxe6FyA==", "license": "MIT", - "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.8", diff --git a/package.json b/package.json index 781f515..9a0e219 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "dependencies": { "@docusaurus/core": "3.10.0", "@docusaurus/faster": "3.10.0", + "@docusaurus/plugin-content-docs": "^3.10.0", "@docusaurus/preset-classic": "3.10.0", "@mdx-js/react": "^3.0.0", "clsx": "^2.0.0",