Perform some cleanup

This commit is contained in:
Oleg Kalachev
2022-04-11 23:28:36 +04:00
parent 241b766bad
commit ae1e39dd82

View File

@@ -1,9 +1,5 @@
const glob = require('glob');
const sidebar = require('./sidebar');
console.log(__dirname + '/..');
let markdownFiles = glob.sync('ru/*.md', { cwd: __dirname + '/..' }).map(f => '/' + f);
module.exports = {
// site config
lang: 'en-US',
@@ -25,13 +21,6 @@ module.exports = {
}
},
locales: {
// The key is the path for the locale to be nested under.
// As a special case, the default locale can use '/' as its path.
// '/en': {
// lang: 'en-US',
// title: 'Clover',
// description: 'Clover Drone Kit'
// },
'/en/': {
lang: 'en',
title: 'Clover',
@@ -51,6 +40,5 @@ module.exports = {
plugins: [
'@vuepress/plugin-search',
'vuepress-plugin-copy-code2'
// ['@vuepress/plugin-search', {}]
]
}