facilmap/docs/src/.vuepress/config.js

121 wiersze
2.0 KiB
JavaScript
Executable File

const { description } = require('../../package')
module.exports = {
title: 'FacilMap',
description: description,
head: [
['meta', { name: 'theme-color', content: '#3eaf7c' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }]
],
themeConfig: {
repo: '',
editLinks: false,
docsDir: '',
editLinkText: '',
lastUpdated: false,
nav: [
{
text: 'Users',
link: '/users/',
},
{
text: 'Administrators',
link: '/administrators/'
},
{
text: 'Developers',
link: '/developers/'
}
],
sidebar: {
'/users/': [
{
title: "Overview",
collapsable: false,
children: [
"",
"help/",
"contribute/"
]
},
{
title: 'General functions',
collapsable: false,
children: [
"ui/",
"layers/",
"search/",
"route/",
"click-marker/",
"files/",
"locate/",
"hash/",
"app/",
"privacy/"
]
},
{
title: 'Collaborative maps',
collapsable: false,
children: [
"collaborative/",
"markers/",
"lines/",
"types/",
"legend/",
"views/",
"filter/",
"history/",
"export/",
"import/",
"map-settings/"
]
},
],
'/administrators/': [
{
title: 'Administrator guide',
collapsable: false,
children: [
"",
"embed",
"server"
]
}
],
'/developers/': [
"",
{
title: 'Client',
collapsable: false,
children: [
"client/",
"client/properties",
"client/events",
"client/methods",
"client/types"
]
},
{
title: 'Development',
collapsable: false,
children: [
"development/dev-setup.md"
]
}
]
}
},
plugins: [
'@vuepress/plugin-back-to-top',
'@vuepress/plugin-medium-zoom',
'check-md'
],
markdown: {
extendMarkdown: (md) => {
md.use(require("markdown-it-footnote"));
}
}
}