Skip to content

Commit 8653bc7

Browse files
committed
More!
1 parent 021cdbe commit 8653bc7

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ node-tests/fixtures/**/*.js
44
/docs-out/
55
dist/
66
tmp/
7-
/temp/
7+
/types
88
smoke-tests/

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
.eslintcache
77
.github-upload-token
88
InstalledFiles
9-
/api-report
10-
/api-report-dt
119
coverage
1210
dist
1311
/docs

build-docs.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,6 @@ async function run() {
270270
);
271271
}
272272

273-
274-
275273
let packageGroups = {};
276274

277275
for (let pkg of packages) {
@@ -305,6 +303,20 @@ async function run() {
305303
await app.generateJson(project, outputDir + '/documentation.json');
306304
}
307305
}
306+
307+
let docsIndex = `
308+
<html>
309+
<body>
310+
<ul>
311+
${Object.keys(packageGroups)
312+
.map((group) => `<li><a href="${group}/index.html">${group}</a></li>`)
313+
.join('\n')}
314+
</ul>
315+
</body>
316+
</html>
317+
`;
318+
319+
writeFile('docs/index.html', docsIndex);
308320
}
309321

310322
run();

0 commit comments

Comments
 (0)