gctGenerator/site/.vuepress/config.js

47 lines
1 KiB
JavaScript
Raw Normal View History

2020-06-29 00:35:18 +09:00
const { description } = require('../../package');
2020-07-03 08:17:34 +09:00
const themePlugins = require('./data/themePlugins.json');
2020-07-03 10:42:43 +09:00
const locales = require('./i18n/locales.json');
2020-06-28 06:33:20 +09:00
module.exports = {
2020-06-29 00:35:18 +09:00
title: 'GCT Generator',
2020-06-28 06:33:20 +09:00
description: description,
head: [
2020-06-29 00:35:18 +09:00
['meta', { name: 'theme-color', content: '#3eaf7c' }],
['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1' }],
['meta', { name: 'Cache-control', content: 'public,max-age=3600' }],
2020-07-01 05:32:48 +09:00
['script', { type: 'text/javascript', src: '/dna.js' }],
2020-06-28 06:33:20 +09:00
],
/**
2020-07-03 06:55:48 +09:00
* Markdown Extensions
*/
markdown: {
extendMarkdown: (md) => {
md.use(require('markdown-it-attrs'));
},
},
2020-07-03 08:17:34 +09:00
/**
* Locales
*/
locales,
2020-07-03 06:55:48 +09:00
/**
* Theme Configuration
2020-06-28 06:33:20 +09:00
*/
themeConfig: {
2020-06-29 00:35:18 +09:00
repo: 'BitPatty/gctGenerator',
2020-06-28 11:51:06 +09:00
editLinks: true,
2020-07-01 13:55:31 +09:00
docsDir: 'site',
2020-06-29 00:35:18 +09:00
editLinkText: 'Edit this page on GitHub',
2020-06-28 06:33:20 +09:00
lastUpdated: false,
2020-07-03 08:17:34 +09:00
locales,
plugins: themePlugins,
2020-06-28 06:33:20 +09:00
},
/**
2020-07-03 06:55:48 +09:00
* VuePress Plugins
2020-06-28 06:33:20 +09:00
*/
2020-06-29 00:35:18 +09:00
plugins: ['@vuepress/plugin-back-to-top', '@vuepress/plugin-medium-zoom'],
2020-06-28 06:33:20 +09:00
};