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-07-15 16:06:27 +02:00
|
|
|
['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1.0' }],
|
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"}],
|
2020-06-07 16:27:14 +02:00
|
|
|
["script", {src: "/scripts/remove_service_worker.js"}]
|
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",
|
2020-12-15 22:34:24 +01:00
|
|
|
repo: "tachiyomiorg/tachiyomi",
|
2020-05-21 04:47:01 +02:00
|
|
|
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",
|
2020-09-15 19:41:19 +02:00
|
|
|
lastUpdated: "Last updated",
|
2020-05-21 04:47:01 +02:00
|
|
|
nav: navBarConfig,
|
2019-10-03 13:20:50 +02:00
|
|
|
sidebar: {
|
2021-03-12 13:09:27 +01:00
|
|
|
"/help/guides/": sideBarConfig.default,
|
|
|
|
"/help/faq/": sideBarConfig.default,
|
|
|
|
"/help/contribution": sideBarConfig.default,
|
|
|
|
"/extensions": sideBarConfig.default,
|
|
|
|
"/forks": sideBarConfig.default,
|
2020-08-23 20:02:35 +02:00
|
|
|
"/sandbox": sideBarConfig.sandbox,
|
2020-05-21 04:47:01 +02:00
|
|
|
},
|
2019-09-18 06:48:08 +02:00
|
|
|
},
|
2020-05-21 04:47:01 +02:00
|
|
|
plugins: pluginsConfig,
|
2020-10-27 18:35:33 +01:00
|
|
|
extraWatchFiles: [".vuepress/config/plugins.js", ".vuepress/config/navBar.js", ".vuepress/config/sideBar.js"],
|
2020-05-21 04:47:01 +02:00
|
|
|
};
|