Skip to content
Merged
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: 7 additions & 0 deletions doc-kit.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ export default {
global: {
// Point GitHub links to the webpack repository instead of nodejs/node
repository: 'webpack/webpack',

// Input & Output
input: ['./pages/v5.x/**/*.md'],
output: 'out',
},
metadata: {
typeMap: './pages/v5.x/type-map.json',
},
web: {
// Use "webpack" as the product name in navbar and sidebar labels
Expand Down
1,749 changes: 802 additions & 947 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scripts": {
"generate-docs": "node generate-md.mjs",
"build-html": "doc-kit generate -t web -i ./pages/v5.x/**/*.md --type-map ./pages/v5.x/type-map.json --config-file ./doc-kit.config.mjs -o out",
"build-html": "doc-kit generate -t web --config-file ./doc-kit.config.mjs",
"build": "npm run generate-docs && npm run build-html",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
Expand All @@ -10,18 +10,18 @@
"prepare": "husky"
},
"dependencies": {
"@node-core/doc-kit": "^1.0.1",
"@node-core/doc-kit": "^1.2.0",
"semver": "^7.7.4",
"typedoc": "^0.28.17",
"typedoc-plugin-markdown": "^4.10.0",
"typedoc": "^0.28.18",
"typedoc-plugin-markdown": "^4.11.0",
"webpack": "^5.105.4"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"eslint": "^10.0.3",
"eslint": "^10.1.0",
"globals": "^17.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.3.3",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1"
}
}
Loading