gctGenerator/site/.vuepress/config.js

62 lines
1.4 KiB
JavaScript
Raw Normal View History

2020-06-29 00:35:18 +09:00
const { description } = require('../../package');
2020-07-03 06:55:48 +09:00
const customContainers = require('./data/customContainers.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'));
},
},
/**
* 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,
nav: [
{
2020-06-29 00:35:18 +09:00
text: 'Cookbook',
link: '/guide.html',
2020-06-28 06:33:20 +09:00
},
2020-06-29 03:04:31 +09:00
{
text: 'Code Reference',
link: '/code-reference/index.html',
},
2020-06-28 06:33:20 +09:00
{
2020-06-29 00:35:18 +09:00
text: 'Changelog',
link: '/changelog.html',
2020-06-28 06:33:20 +09:00
},
2020-06-28 11:51:06 +09:00
{
2020-06-29 00:35:18 +09:00
text: 'Installing IOS58',
link: '/ios58.html',
2020-06-28 11:51:06 +09:00
},
2020-06-28 06:33:20 +09:00
{
2020-06-29 00:35:18 +09:00
text: 'Sunshine Discord',
link: 'https://discord.gg/9dGJWEc',
2020-06-28 06:33:20 +09:00
},
],
2020-07-03 06:55:48 +09:00
plugins: customContainers,
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
};