import { defineConfig } from "vitepress"; const inProd = process.env.NODE_ENV === "production"; // https://vitepress.dev/reference/site-config export default defineConfig({ head: [ ["link", { rel: "icon", href: "/adventurelog.png" }], [ "script", { defer: "", src: "https://cloud.umami.is/script.js", "data-website-id": "a7552764-5a1d-4fe7-80c2-5331e1a53cb6", }, ], ], ignoreDeadLinks: "localhostLinks", title: "AdventureLog", description: "The ultimate travel companion.", lang: "en-US", sitemap: { hostname: "https://adventurelog.app", }, themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ { text: "Home", link: "/" }, { text: "Docs", link: "/docs/intro/adventurelog_overview" }, ], search: { provider: "local", }, editLink: { pattern: "https://github.com/seanmorley15/AdventureLog/edit/main/documentation/:path", }, footer: { message: "AdventureLog", copyright: "Copyright ยฉ 2023-2025 Sean Morley", }, logo: "/adventurelog.png", sidebar: [ { text: "About AdventureLog", items: [ { text: "AdventureLog Overview", link: "/docs/intro/adventurelog_overview", }, ], }, { text: "Installation", collapsed: false, items: [ { text: "Getting Started", link: "/docs/install/getting_started" }, { text: "Docker ๐Ÿ‹", link: "/docs/install/docker" }, { text: "Proxmox LXC ๐Ÿง", link: "/docs/install/proxmox_lxc" }, { text: "Synology NAS โ˜๏ธ", link: "/docs/install/synology_nas" }, { text: "Kubernetes and Kustomize ๐ŸŒ", link: "/docs/install/kustomize", }, { text: "Unraid ๐Ÿงก", link: "/docs/install/unraid" }, { text: "With A Reverse Proxy", collapsed: false, items: [ { text: "Nginx Proxy Manager", link: "/docs/install/nginx_proxy_manager", }, { text: "Traefik", link: "/docs/install/traefik" }, ], }, ], }, { text: "Configuration", collapsed: false, items: [ { text: "Immich Integration", link: "/docs/configuration/immich_integration", }, { text: "Social Auth and OIDC", link: "/docs/configuration/social_auth", }, { text: "Authentication Providers", collapsed: false, items: [ { text: "Authentik", link: "/docs/configuration/social_auth/authentik", }, { text: "GitHub", link: "/docs/configuration/social_auth/github", }, { text: "Open ID Connect", link: "/docs/configuration/social_auth/oidc", }, ], }, { text: "Update App", link: "/docs/configuration/updating", }, { text: "Disable Registration", link: "/docs/configuration/disable_registration", }, { text: "SMTP Email", link: "/docs/configuration/email" }, { text: "Umami Analytics", link: "/docs/configuration/analytics" }, ], }, { text: "Troubleshooting", collapsed: false, items: [ { text: "No Images Displaying", link: "/docs/troubleshooting/no_images", }, { text: "Login and Registration Unresponsive", link: "/docs/troubleshooting/login_unresponsive", }, { text: "Failed to Start Nginx", link: "/docs/troubleshooting/nginx_failed", }, ], }, { text: "Guides", collapsed: false, items: [ { text: "Admin Panel", link: "/docs/guides/admin_panel", }, { text: "v0.7.1 Migration Guide", link: "/docs/guides/v0-7-1_migration", }, ], }, { text: "Changelogs", collapsed: false, items: [ { text: "v0.8.0", link: "/docs/changelogs/v0-8-0", }, { text: "v0.7.1", link: "/docs/changelogs/v0-7-1", }, { text: "v0.7.0", link: "/docs/changelogs/v0-7-0", }, ], }, ], socialLinks: [ { icon: "github", link: "https://github.com/seanmorley15/AdventureLog" }, { icon: "discord", link: "https://discord.gg/wRbQ9Egr8C" }, { icon: "buymeacoffee", link: "https://buymeacoffee.com/seanmorley15" }, { icon: "x", link: "https://x.com/AdventureLogApp" }, { icon: "mastodon", link: "https://mastodon.social/@adventurelog" }, ], }, });