mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(docs): Two-Doors home, otter-orange brand, Pagefind search, and enterprise SSO/SCIM/roles guides
Docs site redesign: Two-Doors home, otter-orange brand, Pagefind search, enterprise SSO/SCIM/roles guides.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { defineConfig } from "vitepress";
|
||||
import llmstxt from "vitepress-plugin-llms";
|
||||
import { pagefindPlugin } from "vitepress-plugin-pagefind";
|
||||
import pkg from "../../../package.json";
|
||||
|
||||
export default defineConfig({
|
||||
@@ -15,7 +16,8 @@ export default defineConfig({
|
||||
sitemap: { hostname: "https://docs.snapotter.com" },
|
||||
|
||||
head: [
|
||||
["meta", { name: "theme-color", content: "#3b82f6" }],
|
||||
["meta", { name: "theme-color", content: "#E07832" }],
|
||||
["link", { rel: "preload", href: "/fonts/bricolage-grotesque-var.woff2", as: "font", type: "font/woff2", crossorigin: "" }],
|
||||
["link", { rel: "icon", type: "image/png", sizes: "48x48", href: "/favicon.png" }],
|
||||
["link", { rel: "icon", type: "image/x-icon", href: "/favicon.ico" }],
|
||||
["link", { rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png" }],
|
||||
@@ -47,6 +49,7 @@ export default defineConfig({
|
||||
|
||||
vite: {
|
||||
plugins: [
|
||||
pagefindPlugin(),
|
||||
llmstxt({
|
||||
domain: "https://docs.snapotter.com",
|
||||
customLLMsTxtTemplate: `# {title}
|
||||
@@ -107,6 +110,9 @@ export default defineConfig({
|
||||
{ text: "Architecture", link: "/guide/architecture" },
|
||||
{ text: "Configuration", link: "/guide/configuration" },
|
||||
{ text: "OIDC / SSO", link: "/guide/oidc" },
|
||||
{ text: "SAML SSO", link: "/guide/saml" },
|
||||
{ text: "SCIM Provisioning", link: "/guide/scim" },
|
||||
{ text: "Users, Roles & Permissions", link: "/guide/users-roles" },
|
||||
{ text: "Database", link: "/guide/database" },
|
||||
{ text: "Deployment", link: "/guide/deployment" },
|
||||
{ text: "Security & Hardening", link: "/guide/security" },
|
||||
@@ -360,10 +366,6 @@ export default defineConfig({
|
||||
},
|
||||
],
|
||||
|
||||
search: {
|
||||
provider: "local",
|
||||
},
|
||||
|
||||
footer: {
|
||||
message:
|
||||
'Released under the <a href="https://github.com/snapotter-hq/snapotter/blob/main/LICENSE">AGPLv3 License</a>.',
|
||||
|
||||
Reference in New Issue
Block a user