forked from torch2424/live-stream-radio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoczrc.js
31 lines (29 loc) · 840 Bytes
/
doczrc.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
import * as path from 'path';
import externalLinks from 'remark-external-links';
const Public = path.resolve(__dirname, 'public');
const Src = path.resolve(__dirname, 'src');
export default {
src: './src',
base: '/live-stream-radio/',
title: 'live-stream-radio',
description: '24/7 live stream video radio station CLI / API 📹 📻',
ordering: 'ascending',
propsParser: false,
indexHtml: 'docz/index.html',
htmlContext: {
favicon: '/docz/favicon.ico'
},
hashRouter: true,
mdPlugins: [externalLinks.default],
plugins: [],
modifyBundlerConfig: config => {
config.resolve.alias = {
...config.resolve.alias,
'@fonts': `${Public}/fonts`,
'@images': `${Public}/images`,
'@components': `${Src}/theme/components`,
'@styles': `${Src}/theme/styles`
};
return config;
}
};