123 lines
3.4 KiB
JavaScript
123 lines
3.4 KiB
JavaScript
const {
|
||
description,
|
||
drivethruLinkText,
|
||
drivethruLink,
|
||
} = require("../../package");
|
||
|
||
module.exports = {
|
||
/**
|
||
* Ref:https://v1.vuepress.vuejs.org/config/#title
|
||
*/
|
||
title: "Fateforge Tools",
|
||
/**
|
||
* Ref:https://v1.vuepress.vuejs.org/config/#description
|
||
*/
|
||
description: description,
|
||
|
||
/**
|
||
* Extra tags to be injected to the page HTML `<head>`
|
||
*
|
||
* ref:https://v1.vuepress.vuejs.org/config/#head
|
||
*/
|
||
head: [
|
||
["meta", { name: "theme-color", content: "#3eaf7c" }],
|
||
["meta", { name: "apple-mobile-web-app-capable", content: "yes" }],
|
||
[
|
||
"meta",
|
||
{ name: "apple-mobile-web-app-status-bar-style", content: "black" },
|
||
],
|
||
["link", { rel: "icon", href: "favicon.ico" }],
|
||
],
|
||
|
||
/**
|
||
* Theme configuration, here is the default theme configuration for VuePress.
|
||
*
|
||
* ref:https://v1.vuepress.vuejs.org/theme/default-theme-config.html
|
||
*/
|
||
|
||
locales: {
|
||
// The key is the path for the locale to be nested under.
|
||
// As a special case, the default locale can use '/' as its path.
|
||
"/": {
|
||
lang: "fr-FR", // this will be set as the lang attribute on <html>
|
||
title: "Fateforge Tools",
|
||
description:
|
||
"Une suite d'outils dédié au jeu de rôle Dragons (Fateforge), pour les joueurs et les MJ",
|
||
drivethruLinkText: "Achetez le jeu !",
|
||
drivethruLink:
|
||
"https://www.drivethrurpg.com/browse/pub/5029/Agate-RPG/subcategory/9579_44341/Dragons",
|
||
},
|
||
"/en/": {
|
||
lang: "en-US",
|
||
title: "Fateforge Tools",
|
||
description: "A suite of tools for fateforge (5e) players and DM",
|
||
drivethruLinkText: "Buy the game !",
|
||
drivethruLink:
|
||
"https://www.drivethrurpg.com/browse/pub/5029/Agate-RPG/subcategory/9579_33029/Fateforge",
|
||
},
|
||
},
|
||
themeConfig: {
|
||
repo: "",
|
||
editLinks: false,
|
||
docsDir: "",
|
||
editLinkText: "",
|
||
lastUpdated: false,
|
||
locales: {
|
||
"/": {
|
||
// text for the language dropdown
|
||
selectText: "Langues",
|
||
// label for this locale in the language dropdown
|
||
label: "Français",
|
||
// Aria Label for locale in the dropdown
|
||
ariaLabel: "Languages",
|
||
// text for the edit-on-github link
|
||
editLinkText: "Edit this page on GitHub",
|
||
// config for Service Worker
|
||
serviceWorker: {
|
||
updatePopup: {
|
||
message: "New content is available.",
|
||
buttonText: "Refresh",
|
||
},
|
||
},
|
||
// algolia docsearch options for current locale
|
||
algolia: {},
|
||
nav: [{ text: "Dossier", link: "/dossier/", ariaLabel: "dossier" }],
|
||
sidebar: {
|
||
"/": [
|
||
/* ... */
|
||
],
|
||
"/nested/": [
|
||
/* ... */
|
||
],
|
||
},
|
||
},
|
||
"/en/": {
|
||
selectText: "Languages",
|
||
label: "English",
|
||
editLinkText: "Edit this page on GitHub",
|
||
serviceWorker: {
|
||
updatePopup: {
|
||
message: "New content is available.",
|
||
buttonText: "Refresh",
|
||
},
|
||
},
|
||
// algolia docsearch options for current locale
|
||
algolia: {},
|
||
nav: [{ text: "Folder", link: "/folder/", ariaLabel: "folder" }],
|
||
sidebar: {
|
||
"/en/": [
|
||
/* ... */
|
||
],
|
||
"/en/folder/": [
|
||
/* ... */
|
||
],
|
||
},
|
||
},
|
||
},
|
||
},
|
||
|
||
/**
|
||
* Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/
|
||
*/
|
||
plugins: ["@vuepress/plugin-back-to-top", "@vuepress/plugin-medium-zoom"],
|
||
};
|