forked from typedoc2md/typedoc-plugin-markdown
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
48 lines (44 loc) · 1.1 KB
/
docusaurus.config.js
File metadata and controls
48 lines (44 loc) · 1.1 KB
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
// THIS IS A TEST CONFIG FILE FOR THE SPEC TESTS
const path = require('path');
const docusaurusPlugin = path.join(__dirname, 'dist');
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'My Site',
url: 'https://your-docusaurus-test-site.com',
baseUrl: '/',
plugins: [
[
docusaurusPlugin,
{
tsconfig: './test/stubs/tsconfig.json',
entryPoints: ['./test/stubs/src/api.ts'],
out: './test/out/api-1',
readme: 'none',
cleanOutputDir: true,
disableSources: true,
hidePageHeader: true,
hideBreadcrumbs: true,
logLevel: 'Warn',
},
],
[
docusaurusPlugin,
{
id: 'api-2',
tsconfig: './test/stubs/tsconfig.json',
entryPoints: ['./test/stubs/src/api.ts'],
out: './test/out/api-2',
readme: 'none',
cleanOutputDir: true,
disableSources: true,
hidePageHeader: true,
hideBreadcrumbs: true,
logLevel: 'Warn',
sidebar: {
typescript: true,
},
},
],
],
};
module.exports = config;