2020-06-28 17:35:18 +02:00
|
|
|
const { description } = require('../../package');
|
2020-07-03 01:17:34 +02:00
|
|
|
const themePlugins = require('./data/themePlugins.json');
|
2020-07-03 03:42:43 +02:00
|
|
|
const locales = require('./i18n/locales.json');
|
2020-06-27 23:33:20 +02:00
|
|
|
|
|
|
|
module.exports = {
|
2020-06-28 17:35:18 +02:00
|
|
|
title: 'GCT Generator',
|
2020-06-27 23:33:20 +02:00
|
|
|
description: description,
|
|
|
|
head: [
|
2020-06-28 17:35:18 +02:00
|
|
|
['meta', { name: 'theme-color', content: '#3eaf7c' }],
|
|
|
|
['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1' }],
|
2020-06-28 18:18:44 +02:00
|
|
|
['meta', { name: 'Cache-control', content: 'public,max-age=3600' }],
|
2020-06-30 22:32:48 +02:00
|
|
|
['script', { type: 'text/javascript', src: '/dna.js' }],
|
2021-03-31 22:51:59 +02:00
|
|
|
['script', { type: 'text/javascript', src: '/april.js' }],
|
2020-06-27 23:33:20 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
/**
|
2020-07-02 23:55:48 +02:00
|
|
|
* Markdown Extensions
|
|
|
|
*/
|
|
|
|
markdown: {
|
|
|
|
extendMarkdown: (md) => {
|
|
|
|
md.use(require('markdown-it-attrs'));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2020-07-03 01:17:34 +02:00
|
|
|
/**
|
|
|
|
* Locales
|
|
|
|
*/
|
|
|
|
locales,
|
|
|
|
|
2020-07-02 23:55:48 +02:00
|
|
|
/**
|
|
|
|
* Theme Configuration
|
2020-06-27 23:33:20 +02:00
|
|
|
*/
|
|
|
|
themeConfig: {
|
2020-06-28 17:35:18 +02:00
|
|
|
repo: 'BitPatty/gctGenerator',
|
2020-06-28 04:51:06 +02:00
|
|
|
editLinks: true,
|
2020-07-01 06:55:31 +02:00
|
|
|
docsDir: 'site',
|
2020-07-14 19:35:20 +02:00
|
|
|
docsBranch: 'master',
|
2020-06-27 23:33:20 +02:00
|
|
|
lastUpdated: false,
|
2020-07-03 01:17:34 +02:00
|
|
|
locales,
|
|
|
|
plugins: themePlugins,
|
2020-09-26 16:07:24 +02:00
|
|
|
activeHeaderLinks: false,
|
2020-06-27 23:33:20 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
/**
|
2020-07-02 23:55:48 +02:00
|
|
|
* VuePress Plugins
|
2020-06-27 23:33:20 +02:00
|
|
|
*/
|
2020-06-28 17:35:18 +02:00
|
|
|
plugins: ['@vuepress/plugin-back-to-top', '@vuepress/plugin-medium-zoom'],
|
2020-06-27 23:33:20 +02:00
|
|
|
};
|