gctGenerator/site/.vuepress/config.js

50 lines
1.2 KiB
JavaScript
Raw Permalink 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' }],
2021-04-01 05:51:59 +09:00
['script', { type: 'text/javascript', src: '/april.js' }],
2020-06-28 06:33:20 +09:00
],
/**
2020-07-03 06:55:48 +09:00
* Markdown Extensions
*/
markdown: {
extendMarkdown: (md) => {
2022-02-07 22:18:31 +09:00
md.use(require('@sup39/markdown-it-inline-tag'));
md.use(require('@sup39/markdown-it-attr'));
2020-07-03 06:55:48 +09:00
},
},
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',
docsBranch: 'master',
2020-06-28 06:33:20 +09:00
lastUpdated: false,
2020-07-03 08:17:34 +09:00
locales,
plugins: themePlugins,
2020-09-26 23:07:24 +09:00
activeHeaderLinks: false,
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
};