Files
clover/docs/.vuepress/config.js
Oleg Kalachev ed619935ce Config update
2022-04-12 01:01:53 +04:00

59 lines
1.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const sidebar = require('./sidebar');
module.exports = {
// site config
lang: 'en-US',
title: 'Clover',
description: 'Clover Drone Kit',
// theme and its config
theme: '@vuepress/theme-default',
themeConfig: {
logo: 'https://vuejs.org/images/logo.png',
// sidebar: markdownFiles
sidebar: {
'/ru/': sidebar.readSummary("./ru/SUMMARY.md"),
'/en/': sidebar.readSummary("./en/SUMMARY.md"),
},
sidebarDepth: 0,
locales: {
'/en/': { selectLanguageName: 'English' },
'/ru/': {
selectLanguageName: 'Русский',
tip: 'СОВЕТ',
warning: 'ВНИМАНИЕ',
danger: 'ОПАСНО',
toggleDarkMode: 'Переключить темную тему'
},
},
toggleSidebar: true,
repo: 'CopterExpress/clover',
docsBranch: 'master',
docsDir: 'docs',
lastUpdated: false,
contributors: false
},
locales: {
'/en/': {
lang: 'en',
title: 'Clover',
description: 'Clover Drone Kit'
},
'/ru/': {
lang: 'ru',
title: 'Клевер',
description: 'Конструктор квадрокоптера «Клевер»'
}
},
markdown: {
code: {
lineNumbers: false
},
linkify: true
},
plugins: [
'@vuepress/plugin-search',
'vuepress-plugin-copy-code2',
require('./rich-quotes')
]
}