forked from WordPress/wordpress-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypedoc.js
68 lines (67 loc) · 1.49 KB
/
typedoc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
module.exports = {
$schema: 'https://typedoc.org/schema.json',
entryPointStrategy: 'packages',
entryPoints: [
'./packages/php-wasm/web',
'./packages/php-wasm/progress',
'./packages/playground/client',
],
out: './dist/docs',
intentionallyNotExported: [
'WithCLI',
'WithNodeFilesystem',
'WithRun',
'WithRequest',
'Promisify',
'WithPathConversion',
'PHPRequestHeaders',
'WithProgress',
'FileInfo',
'PHPBrowserConfiguration',
],
excludeExternals: true,
customCss: './pages/style.css',
};
if (process.argv.includes('@knodes/typedoc-plugin-pages')) {
module.exports['pluginPages'] = {
pages: [
{
title: 'Playground',
children: [
{
title: 'Start here',
source: 'index.md',
},
{
title: 'Embedding WordPress playground-on other websites',
source: 'embedding-wordpress-playground-on-other-websites.md',
},
{
title: 'Using PHP in JavaScript',
source: 'using-php-in-javascript.md',
},
{
title: 'Using PHP in the browser',
source: 'using-php-in-the-browser.md',
},
{
title: 'Bundling WordPress for the browser',
source: 'bundling-wordpress-for-the-browser.md',
},
{
title: 'Running WordPress in the browser',
source: 'running-wordpress-in-the-browser.md',
},
{
title: 'Service workers',
source: 'service-worker.md',
},
{
title: 'WordPress plugin IDE',
source: 'wordpress-plugin-ide.md',
},
],
},
],
};
}