2023-10-26 19:12:13 +00:00
|
|
|
import { defineConfig } from "vitepress";
|
2023-10-26 20:15:13 +00:00
|
|
|
import UnoCSS from "unocss/vite";
|
|
|
|
import { presetUno, presetAttributify, presetIcons } from "unocss";
|
2023-10-26 19:12:13 +00:00
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
title: "FMHY",
|
|
|
|
description: "site",
|
|
|
|
titleTemplate: ":title | FreeMediaHeckYeah",
|
|
|
|
lang: "en-US",
|
|
|
|
lastUpdated: true,
|
|
|
|
cleanUrls: true,
|
|
|
|
appearance: "dark",
|
2023-10-27 08:23:24 +00:00
|
|
|
srcExclude: ["README.md", "single-page", "DEVTools.md"],
|
|
|
|
ignoreDeadLinks: true,
|
2023-10-26 19:12:13 +00:00
|
|
|
head: [
|
|
|
|
["meta", { name: "theme-color", content: "#7bc5e4" }],
|
|
|
|
["meta", { name: "og:type", content: "website" }],
|
|
|
|
["meta", { name: "og:locale", content: "en" }],
|
|
|
|
],
|
2023-10-26 20:15:13 +00:00
|
|
|
vite: {
|
|
|
|
plugins: [
|
|
|
|
UnoCSS({
|
|
|
|
presets: [presetUno, presetAttributify, presetIcons({ scale: 1.2 })],
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
},
|
2023-10-26 19:12:13 +00:00
|
|
|
themeConfig: {
|
|
|
|
search: {
|
|
|
|
provider: "local",
|
|
|
|
},
|
2023-10-26 21:04:41 +00:00
|
|
|
nav: [
|
|
|
|
{ text: "Glossary", link: "https://rentry.org/The-Piracy-Glossary" },
|
|
|
|
{ text: "Guides", link: "https://rentry.co/fmhy-guides" },
|
|
|
|
],
|
2023-10-26 19:12:13 +00:00
|
|
|
sidebar: [
|
2023-10-26 19:58:30 +00:00
|
|
|
{ text: "Beginners Guide to Piracy", link: "/Beginners-Guide" },
|
|
|
|
{ text: "Adblocking / Privacy", link: "/AdblockVPNGuide" },
|
|
|
|
{ text: "Artificial Intelligence", link: "/AI" },
|
2023-10-26 20:15:13 +00:00
|
|
|
{ text: "Android / iOS", link: "Android-iOSGuide" },
|
2023-10-26 19:58:30 +00:00
|
|
|
],
|
|
|
|
socialLinks: [
|
|
|
|
{ icon: "github", link: "https://github.com/fmhy/FMHYEdit" },
|
|
|
|
{ icon: "discord", link: "https://discord.gg/Stz6y6NgNg" },
|
2023-10-26 19:12:13 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
});
|