2019-09-23 12:23:00 +02:00
|
|
|
module.exports = [
|
2020-08-31 20:36:42 +02:00
|
|
|
[
|
2020-09-15 19:41:19 +02:00
|
|
|
"@mr-hope/vuepress-plugin-sitemap",
|
2020-08-31 20:36:42 +02:00
|
|
|
{
|
|
|
|
hostname: "https://tachiyomi.org",
|
|
|
|
},
|
|
|
|
],
|
2020-09-15 19:41:19 +02:00
|
|
|
[
|
2021-03-16 14:32:37 +01:00
|
|
|
"@vuepress/last-updated",
|
2020-09-15 19:41:19 +02:00
|
|
|
{
|
|
|
|
transformer: (timestamp, lang) => {
|
|
|
|
const moment = require("moment");
|
|
|
|
moment.locale(lang);
|
|
|
|
return moment(timestamp).fromNow();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2020-08-31 20:36:42 +02:00
|
|
|
[
|
|
|
|
"vuepress-plugin-robots",
|
|
|
|
{
|
|
|
|
host: "https://tachiyomi.org",
|
|
|
|
allowAll: true,
|
|
|
|
sitemap: "/sitemap.xml",
|
|
|
|
},
|
|
|
|
],
|
2020-04-30 00:36:43 +02:00
|
|
|
["@vuepress/back-to-top"],
|
2020-08-15 11:36:22 +02:00
|
|
|
[
|
2020-08-31 20:36:42 +02:00
|
|
|
"@vuepress/google-analytics",
|
2020-08-15 11:36:22 +02:00
|
|
|
{
|
2020-08-31 20:36:42 +02:00
|
|
|
ga: "UA-148212082-1",
|
2020-08-15 11:36:22 +02:00
|
|
|
},
|
|
|
|
],
|
2021-03-18 14:01:36 +01:00
|
|
|
["vuepress-plugin-dehydrate"],
|
2020-01-08 23:15:44 -05:00
|
|
|
[
|
2020-08-31 20:36:42 +02:00
|
|
|
"@vuepress/active-header-links",
|
2020-01-08 23:15:44 -05:00
|
|
|
{
|
2020-08-31 20:36:42 +02:00
|
|
|
sidebarLinkSelector: ".sidebar-link",
|
|
|
|
headerAnchorSelector: ".header-anchor",
|
2020-05-21 04:47:01 +02:00
|
|
|
},
|
2020-01-08 23:15:44 -05:00
|
|
|
],
|
2020-06-08 21:47:53 -04:00
|
|
|
[
|
|
|
|
"@vuepress/pwa",
|
|
|
|
{
|
2020-08-31 20:36:42 +02:00
|
|
|
serviceWorker: false,
|
2020-06-08 21:47:53 -04:00
|
|
|
},
|
|
|
|
],
|
2020-01-08 23:15:44 -05:00
|
|
|
[
|
2020-08-31 20:36:42 +02:00
|
|
|
"vuepress-plugin-clean-urls",
|
2020-01-08 23:15:44 -05:00
|
|
|
{
|
2020-08-31 20:36:42 +02:00
|
|
|
normalSuffix: "/",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"vuepress-plugin-zooming",
|
|
|
|
{
|
2020-09-22 06:14:45 +02:00
|
|
|
selector: ".theme-default-content img.zoomable",
|
2020-08-31 20:36:42 +02:00
|
|
|
delay: 1000,
|
|
|
|
options: {
|
|
|
|
bgColor: "black",
|
|
|
|
bgOpacity: "0.8",
|
|
|
|
},
|
2020-05-21 04:47:01 +02:00
|
|
|
},
|
2020-01-08 23:15:44 -05:00
|
|
|
],
|
2020-08-31 20:36:42 +02:00
|
|
|
["vuepress-plugin-element-ui"],
|
2020-09-27 13:25:32 +02:00
|
|
|
[
|
|
|
|
"vuepress-plugin-container",
|
|
|
|
{
|
|
|
|
type: "c-tip",
|
|
|
|
before: (info) => `<div class="custom-block c-tip"><h4 class="c-title">${info}</h4>`,
|
|
|
|
after: "</div>",
|
|
|
|
defaultTitle: "",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"vuepress-plugin-container",
|
|
|
|
{
|
|
|
|
type: "c-warning",
|
|
|
|
before: (info) => `<div class="custom-block c-warning"><h4 class="c-title">${info}</h4>`,
|
|
|
|
after: "</div>",
|
|
|
|
defaultTitle: "",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"vuepress-plugin-container",
|
|
|
|
{
|
|
|
|
type: "c-danger",
|
|
|
|
before: (info) => `<div class="custom-block c-danger"><h4 class="c-title">${info}</h4>`,
|
|
|
|
after: "</div>",
|
|
|
|
defaultTitle: "",
|
|
|
|
},
|
|
|
|
],
|
2020-01-08 23:15:44 -05:00
|
|
|
[
|
|
|
|
"vuepress-plugin-container",
|
|
|
|
{
|
|
|
|
type: "expander",
|
2020-08-15 11:36:22 +02:00
|
|
|
before: (info) => `<details class="expander"><summary class="expansion">${info}</summary>`,
|
2020-05-21 04:47:01 +02:00
|
|
|
after: "</details>",
|
|
|
|
},
|
2020-01-08 23:15:44 -05:00
|
|
|
],
|
|
|
|
[
|
|
|
|
"vuepress-plugin-container",
|
|
|
|
{
|
|
|
|
type: "guide",
|
2020-05-21 04:47:01 +02:00
|
|
|
before: (info) => `<div class="guide"><p class="title">${info}</p>`,
|
|
|
|
after: "</div>",
|
|
|
|
},
|
2020-01-08 23:15:44 -05:00
|
|
|
],
|
2020-09-16 02:12:02 +00:00
|
|
|
[
|
|
|
|
"vuepress-plugin-container",
|
|
|
|
{
|
2020-10-02 14:54:25 +02:00
|
|
|
type: "videolink",
|
|
|
|
before: "<div class='videolink'>",
|
2020-09-16 02:12:02 +00:00
|
|
|
after: "</div>",
|
|
|
|
},
|
|
|
|
],
|
2020-01-08 23:15:44 -05:00
|
|
|
[
|
|
|
|
"vuepress-plugin-container",
|
|
|
|
{
|
2020-10-02 14:54:25 +02:00
|
|
|
type: "guide-empty",
|
|
|
|
before: "<div class='guide g-empty'>",
|
|
|
|
after: "</div>",
|
2020-05-21 04:47:01 +02:00
|
|
|
},
|
2020-03-05 06:11:00 +01:00
|
|
|
],
|
|
|
|
[
|
|
|
|
"vuepress-plugin-container",
|
|
|
|
{
|
2020-10-02 14:54:25 +02:00
|
|
|
type: "note",
|
|
|
|
before: "<div class='note'><p>",
|
|
|
|
after: "</div></p>",
|
2020-05-21 04:47:01 +02:00
|
|
|
},
|
2020-04-30 00:36:43 +02:00
|
|
|
],
|
2019-09-23 12:23:00 +02:00
|
|
|
];
|