Cleanup, add sitemap plugin

This commit is contained in:
Oleg Kalachev
2022-04-14 23:41:09 +04:00
parent 2561e8e6cb
commit 955011e812
2 changed files with 4 additions and 3 deletions

View File

@@ -4,7 +4,6 @@ const hostname = 'clover.coex.tech';
const allowedTags = ['font', 'center', 'nobr']; // allow using some deprecated and non-standard html tags
module.exports = {
// site config
lang: 'en-US',
title: 'Clover',
description: 'Clover Drone Kit',
@@ -18,14 +17,14 @@ module.exports = {
},
sidebarDepth: 0,
locales: {
'/en/': {
'/en/': {
selectLanguageName: 'English',
navbar: [
{ text: 'Official Site', link: 'https://coex.tech' },
{ text: 'Support Chat', link: 'https://t.me/COEXHelpdesk' },
]
},
'/ru/': {
'/ru/': {
selectLanguageName: 'Русский',
tip: 'СОВЕТ',
warning: 'ВНИМАНИЕ',
@@ -78,6 +77,7 @@ module.exports = {
plugins: [
'@vuepress/plugin-search',
'vuepress-plugin-copy-code2',
['sitemap2', { hostname }],
require('./rich-quotes')
]
}

View File

@@ -5,6 +5,7 @@
"markdown-it-attrs": "^4.1.3",
"vuepress": "^2.0.0-beta.38",
"vuepress-plugin-copy-code2": "^2.0.0-beta.36"
"vuepress-plugin-sitemap2": "^2.0.0-beta.40"
},
"scripts": {
"dev": "vuepress dev .",