2020-05-21 04:47:01 +02:00
|
|
|
const pluginsConfig = require("./config/plugins");
|
|
|
|
const navBarConfig = require("./config/navBar");
|
|
|
|
const sideBarConfig = require("./config/sideBar");
|
|
|
|
|
2019-09-16 20:54:56 +02:00
|
|
|
module.exports = {
|
2020-05-21 04:47:01 +02:00
|
|
|
dest: "./public",
|
|
|
|
temp: "./node_modules/.temp/theme",
|
2020-05-07 23:27:16 +02:00
|
|
|
|
2020-05-21 04:47:01 +02:00
|
|
|
title: "Tachiyomi",
|
|
|
|
description: "Free and open source manga reader for Android",
|
2020-05-07 23:27:16 +02:00
|
|
|
|
|
|
|
// prettier-ignore
|
2019-10-01 12:04:55 +02:00
|
|
|
head: [
|
2020-05-17 18:48:43 +02:00
|
|
|
// Embed headers
|
2020-05-21 04:47:01 +02:00
|
|
|
["link", { rel: "icon", href: "/favicon.ico" }],
|
|
|
|
["meta", { name: "theme-color", content: "#2e84bf" }],
|
|
|
|
["meta", { prefix: "og: http://ogp.me/ns#", property: "og:image", content: "https://tachiyomi.org/icons/logo.png" }],
|
2020-05-07 23:27:16 +02:00
|
|
|
// Custom headers
|
2020-05-21 04:47:01 +02:00
|
|
|
["link", { rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin:""}],
|
|
|
|
["link", { rel: "stylesheet", href: "https://fonts.googleapis.com/css?family=Open+Sans"}],
|
2019-10-01 12:04:55 +02:00
|
|
|
],
|
2020-05-07 23:27:16 +02:00
|
|
|
|
2019-09-16 20:54:56 +02:00
|
|
|
themeConfig: {
|
2020-05-21 04:47:01 +02:00
|
|
|
logo: "/icons/logo.svg",
|
|
|
|
repo: "inorichi/tachiyomi",
|
|
|
|
docsRepo: "tachiyomiorg/website",
|
|
|
|
docsDir: "src",
|
2020-05-11 19:50:31 +02:00
|
|
|
smoothScroll: true,
|
2020-04-30 18:53:10 +02:00
|
|
|
algolia: {
|
2020-05-21 04:47:01 +02:00
|
|
|
apiKey: "fc1c45b5a3835e1882cbbf0751dfe705",
|
|
|
|
indexName: "tachiyomi",
|
2020-04-30 18:53:10 +02:00
|
|
|
},
|
2020-05-21 04:47:01 +02:00
|
|
|
searchPlaceholder: "Search...",
|
2019-09-16 20:54:56 +02:00
|
|
|
editLinks: true,
|
2020-05-21 04:47:01 +02:00
|
|
|
editLinkText: "Help us improve this page",
|
|
|
|
lastUpdated: "Last Updated",
|
|
|
|
nav: navBarConfig,
|
2019-10-03 13:20:50 +02:00
|
|
|
sidebar: {
|
2020-05-21 04:47:01 +02:00
|
|
|
"/help/guides/": sideBarConfig.guides,
|
|
|
|
"/help/faq/": sideBarConfig.faq,
|
|
|
|
"/help/contribution": sideBarConfig.contribution,
|
|
|
|
"/extensions": sideBarConfig.extensions,
|
|
|
|
"/forks": sideBarConfig.forks,
|
|
|
|
},
|
2019-09-18 06:48:08 +02:00
|
|
|
},
|
2020-05-21 04:47:01 +02:00
|
|
|
plugins: pluginsConfig,
|
2019-09-23 12:23:00 +02:00
|
|
|
extraWatchFiles: [
|
2020-05-21 04:47:01 +02:00
|
|
|
".vuepress/config/plugins.js",
|
|
|
|
".vuepress/config/navBar.js",
|
|
|
|
".vuepress/config/sideBar.js",
|
|
|
|
],
|
|
|
|
};
|