ui
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
const { readdirSync } = require('fs');
|
||||
|
||||
module.exports = {
|
||||
title: 'collect.js',
|
||||
description: 'Convenient and dependency free wrapper for working with arrays and objects.',
|
||||
head: [
|
||||
['link', {
|
||||
rel: 'icon',
|
||||
type: 'image/png',
|
||||
href: 'https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/google/298/gem-stone_1f48e.png',
|
||||
}],
|
||||
],
|
||||
themeConfig: {
|
||||
nav: [
|
||||
{ text: 'Home', link: '/' },
|
||||
{ text: 'Installation', link: '/installation.md' },
|
||||
{ text: 'Usage', link: '/usage.md' },
|
||||
{ text: 'API', link: '/api.md' },
|
||||
{ text: 'GitHub', link: 'https://github.com/ecrmnn/collect.js' },
|
||||
],
|
||||
sidebar: [{
|
||||
title: 'Get started',
|
||||
collapsable: false,
|
||||
children: [
|
||||
'installation',
|
||||
'usage',
|
||||
],
|
||||
}, {
|
||||
title: 'API',
|
||||
collapsable: false,
|
||||
children: readdirSync('docs/api', 'utf-8').map(file => `/api/${file}`),
|
||||
}],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user