From c1ca45a0ba712de6fe222d4599fe12792c2271e0 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Tue, 12 May 2026 21:44:32 +0100 Subject: remove alpha --- .../red-right-hand/vitepress/.vitepress/config.js | 131 --------------------- 1 file changed, 131 deletions(-) delete mode 100644 communities/red-right-hand/vitepress/.vitepress/config.js (limited to 'communities/red-right-hand/vitepress/.vitepress/config.js') diff --git a/communities/red-right-hand/vitepress/.vitepress/config.js b/communities/red-right-hand/vitepress/.vitepress/config.js deleted file mode 100644 index 34fde21..0000000 --- a/communities/red-right-hand/vitepress/.vitepress/config.js +++ /dev/null @@ -1,131 +0,0 @@ -import { withPwa } from "@vite-pwa/vitepress"; -import { defineConfig } from "vitepress"; - -import { tabsMarkdownPlugin } from "vitepress-plugin-tabs"; - -const handbookLinkItems = [ - { text: "Introduction", link: "/handbook/" }, - { text: "Charter", link: "/handbook/charter" }, - { text: "Manifesto", link: "/handbook/manifesto" }, - { text: "Behind the Name", link: "/handbook/behind-the-name" }, - { text: "Ranks", link: "/handbook/ranks" }, - { text: "Fleet Composition", link: "/handbook/fleet-composition" }, -]; - -// https://vitepress.dev/reference/site-config -export default withPwa( - defineConfig({ - lang: "en-GB", - - srcDir: "markdown", - - title: "Red Right Hand Vitepress", - description: "CuntCuntCunt", - - sitemap: { - hostname: "https://vitepress.red-right-hand.unnamed.group", - }, - - markdown: { - image: { - lazyLoading: true, - }, - math: true, - config(md) { - md.use(tabsMarkdownPlugin); - }, - }, - - themeConfig: { - // https://vitepress.dev/reference/default-theme-config - nav: [ - { text: "Home", link: "/" }, - { - text: "Handbook", - items: handbookLinkItems, - }, - { text: "Databank", link: "/databank/index" }, - ], - - sidebar: { - "/handbook/": [ - { - text: "Handbook", - items: handbookLinkItems, - }, - ], - }, - - socialLinks: [ - { - icon: "github", - link: "https://github.com/zuedev/red-right-hand/tree/main/projects/vitepress", - }, - ], - - search: { - provider: "local", - }, - - editLink: { - pattern: - "https://github.com/zuedev/red-right-hand/edit/main/projects/vitepress/:path", - }, - - lastUpdated: true, - - footer: { - message: - "This site is not endorsed by or affiliated with the Cloud Imperium or Roberts Space Industries group of companies. All game content and materials are copyright Cloud Imperium Rights LLC and Cloud Imperium Rights Ltd.. Star Citizen, Squadron 42, Roberts Space Industries®, and Cloud Imperium® are registered trademarks of Cloud Imperium Rights LLC. All rights reserved.", - copyright: - "All other content is dedicated to the public domain under the Unlicense.", - }, - }, - - head: [ - ["link", { rel: "icon", href: "/logo.png" }], - ["link", { rel: "preconnect", href: "https://fonts.googleapis.com" }], - [ - "link", - { - rel: "preconnect", - href: "https://fonts.gstatic.com", - crossorigin: "", - }, - ], - [ - "link", - { - href: "https://fonts.googleapis.com/css2?family=Inter&display=swap", - rel: "stylesheet", - }, - ], - [ - "link", - { - href: "https://fonts.googleapis.com/css2?family=Fira+Code&display=swap", - rel: "stylesheet", - }, - ], - // [ - // "script", - // { id: "register-sw" }, - // `;(() => { - // if ('serviceWorker' in navigator) { - // navigator.serviceWorker.register('/sw.js') - // } - // })()`, - // ], - ], - - pwa: { - strategies: "generateSW", // <== if omitted, defaults to `generateSW` - workbox: { - /* your workbox configuration if any */ - }, - experimental: { - includeAllowlist: true, - }, - }, - }), -); -- cgit v1.2.3