-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathconfig.ts
More file actions
43 lines (42 loc) · 1.46 KB
/
config.ts
File metadata and controls
43 lines (42 loc) · 1.46 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
import { webpackBundler } from '@vuepress/bundler-webpack';
import { defaultTheme } from '@vuepress/theme-default';
import { defineUserConfig } from 'vuepress';
const apiExtra = require('./apiExtra.json');
const exampleExtra = require('./exampleExtra.json');
export default defineUserConfig({
title: 'machinelearn.js',
locales: {
'/': {
lang: 'en-US',
title: '',
description: 'Machine Learning library for the web and Node.',
},
},
head: [
['link', { rel: 'icon', href: `/logo.png` }],
['link', { rel: 'manifest', href: '/manifest.json' }],
['meta', { name: 'theme-color', content: '#0079cc' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }],
['link', { rel: 'apple-touch-icon', href: `/icons/apple-touch-icon-152x152.png` }],
['meta', { name: 'msapplication-TileImage', content: '/icons/msapplication-icon-144x144.png' }],
['meta', { name: 'msapplication-TileColor', content: '#000000' }],
],
bundler: webpackBundler(),
theme: defaultTheme({
navbar: [
{ text: 'Home', link: '/' },
{ text: 'API', link: '/api/' },
{ text: 'Examples', link: '/examples/' },
{ text: 'Github', link: 'https://github.com/machinelearnjs/machinelearnjs' },
],
sidebarDepth: 1,
sidebar: [
{
text: 'API',
collapsable: true,
children: apiExtra.apiSidebar,
},
],
}),
});