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
10 changes: 9 additions & 1 deletion pages/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
---
authors: moshams272
---

# Documentation

STUB
These pages provide technical details on webpack's API.

- [Webpack](/docs/api/v5.x) — Explore the webpack's core configuration, CLI commands, and APIs.
- [Loaders](/docs/loaders) — Discover third-party loaders to process CSS, TypeScript, images, and other file types.
- [Plugins](/docs/plugins) — Browse community plugins to extend webpack for build optimization, asset management, and more.
4 changes: 2 additions & 2 deletions pages/site.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ export const sidebar = {
link: `/docs/api/v${major(v)}.x`,
})),
},
...loaders.sidebar,
...plugins.sidebar,
],
},
...loaders.sidebar,
...plugins.sidebar,
Comment thread
avivkeller marked this conversation as resolved.
],
guides: guides.sidebar,
};
16 changes: 11 additions & 5 deletions scripts/markdown/readmes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,17 @@ const processRepos = async (repos, { label, basePath, outputDir }) => {
const siteJson = {
sidebar: [
{
groupName: label,
items: fetched.map(name => ({
link: `${basePath}/${name}`,
label: name.replace(/-(?:webpack-)?(?:loader|plugin)$/, ''),
})),
label: label,
items: [
{
link: basePath,
label: 'Overview',
},
...fetched.map(name => ({
link: `${basePath}/${name}`,
label: name.replace(/-(?:webpack-)?(?:loader|plugin)$/, ''),
})),
],
},
],
};
Expand Down
Loading