forked from SpartnerNL/laravel-excel-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
95 lines (89 loc) · 2.59 KB
/
config.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
module.exports = {
title: 'Laravel Excel',
description: 'Supercharged Excel exports and imports in Laravel',
plugins: [
'@vuepress/back-to-top',
'@vuepress/nprogress',
['@vuepress/pwa', {
serviceWorker: true,
updatePopup: true
}],
['@vuepress/google-analytics', {
ga: 'UA-775649-14'
}],
['container', {
type: 'vue',
before: '<pre class="vue-container"><code>',
after: '</code></pre>',
}],
['sitemap', {
hostname: 'https://docs.laravel-excel.com',
}],
],
markdown: {
lineNumbers: true,
},
head: [
[
'link',
{
href: 'https://fonts.googleapis.com/css?family=Nunito:100,300,400,500,600,700',
rel: 'stylesheet',
type: 'text/css',
},
],
[
"link",
{
rel: 'manifest',
href: '/manifest.json'
}
],
[
"link",
{
rel: 'icon',
href: '/icon.png'
}
]
],
themeConfig: {
logo: '/assets/img/logo-small.png',
repo: 'maatwebsite/Laravel-Excel',
docsRepo: 'maatwebsite/laravel-excel-docs',
docsBranch: 'master',
editLinks: true,
editLinkText: 'Help us improve this page!',
displayAllHeaders: false,
sidebarDepth: 0,
algolia: {
apiKey: 'e95794f59bac5401e3930f71feb3a8e2',
indexName: 'laravel_excel',
algoliaOptions: {'facetFilters': ["version:3.1"]},
},
nav: [
{
text: 'Version',
link: '/',
items: [
{text: 'LE 4.x', link: '/4.x/'},
{text: 'LE 3.1', link: '/3.1/'},
{text: 'LE 3.0', link: '/3.0/'},
{text: 'LE 2.1', link: '/2.1/', divider: true},
//{text: 'CSV 1.0', link: '/csv/1.0/', divider: true},
{text: 'Nova 1.1', link: '/nova/1.1/'},
{text: 'Nova 1.0', link: '/nova/1.0/'},
]
},
],
sidebar: {
'/4.x/': require('./4.x'),
'/3.1/': require('./3.1'),
'/3.0/': require('./3.0'),
'/2.1/': require('./2.1'),
'/nova/1.0/': require('./nova/1.0'),
'/nova/1.1/': require('./nova/1.1'),
//'/csv/1.0/': require('./csv/1.0'),
},
},
};