Skip to content

Commit 85a3b65

Browse files
committed
fix: add Overview in site.json
1 parent 6673188 commit 85a3b65

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

pages/docs/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
authors: moshams272
3+
---
4+
15
# Documentation
26

37
The documentation provides deep technical details on webpack's API, configuration, and ecosystem. Whether you are looking up core features or exploring community tools, you will find everything you need below.

scripts/markdown/readmes.mjs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,16 @@ const processRepos = async (repos, { label, basePath, outputDir }) => {
7171
sidebar: [
7272
{
7373
label: label,
74-
items: fetched.map(name => ({
75-
link: `${basePath}/${name}`,
76-
label: name.replace(/-(?:webpack-)?(?:loader|plugin)$/, ''),
77-
})),
74+
items: [
75+
{
76+
link: basePath,
77+
label: 'Overview',
78+
},
79+
...fetched.map(name => ({
80+
link: `${basePath}/${name}`,
81+
label: name.replace(/-(?:webpack-)?(?:loader|plugin)$/, ''),
82+
})),
83+
],
7884
},
7985
],
8086
};

0 commit comments

Comments
 (0)