Skip to main content
Glama
config.ts10.7 kB
import { defineConfig } from "vitepress"; import dotenv from "dotenv"; import path from "path"; import lightbox from "vitepress-plugin-lightbox"; import { withMermaid } from "vitepress-plugin-mermaid"; import promptLang from "./languages/prompt.tmLanguage.json"; dotenv.config(); export default withMermaid(defineConfig({ title: "System Initiative Docs", description: "The documentation for System Initiative https://systeminit.com", markdown: { theme: { light: "github-light", dark: "github-dark", }, languages: [promptLang as any], config: (md) => { md.use(lightbox, {}); }, }, head: [ [ "script", {}, ` !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys getNextSurveyStep onSessionId setPersonProperties".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]); posthog.init('${process.env.VITE_POSTHOG_PUBLIC_KEY}',{api_host:'${process.env.VITE_POSTHOG_API_HOST}',}); `, ], ["link", { rel: "icon", href: "/favicon.png" }], ], lastUpdated: true, outDir: path.join(__dirname, "../../dist"), ignoreDeadLinks: false, cleanUrls: true, themeConfig: { logo: { dark: "/si-logo-symbol-dark-mode.svg", light: "/si-logo-symbol.svg", alt: "System Initiative", }, nav: [ { text: "Home", link: "/" }, { text: "Tutorials", link: "/tutorials/" }, { text: "How To", link: "/how-tos/" }, { text: "Reference Guides", link: "/reference/" }, { text: "Explanation", link: "/explanation/" }, { text: "Changelog", link: "/changelog/" }, { text: "Log In", link: "https://auth.systeminit.com/login", target: "__self", }, ], socialLinks: [ { icon: "github", link: "https://github.com/systeminit/si", }, { icon: "discord", link: "https://discord.com/invite/system-init", }, { icon: { svg: '<svg viewBox="0 0 216 216" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="m275.42 59.42h-216v216h216zm-78.29 206.56h-128.28v-59.42h128.28zm68.85 0h-59.42v-68.85h-137.71v-128.28h128.27v59.42h-59.42v9.44h128.27v128.27zm0-137.71h-59.42v-59.42h59.42z" fill-rule="nonzero" transform="translate(-59.42 -59.42)"/></svg>', }, link: "https://systeminit.com/", }, ], sidebar: [ { text: "What is System Initiative?", link: "/what-is-si", }, { text: "Tutorials", collapsed: false, link: "/tutorials/", items: [ { text: "Set Up", link: "/tutorials/setup", }, { text: "Install the CLI", link: "/tutorials/install-the-cli", }, { text: "Discover Infrastructure", link: "/tutorials/discover", }, { text: "Create Infrastructure", link: "/tutorials/creating-infrastructure", }, ], }, { text: "How To Guides", link: "/how-tos/", collapsed: false, items: [ { text: "AWS VPC", collapsed: false, items: [ { text: "AI Agent", link: "/how-tos/aws-vpc-ai-agent", }, { text: "CLI or Web Application", link: "/how-tos/aws-vpc-cli-web-application", }, ], }, { text: "Create a Qualification", link: "/how-tos/create-a-qualification", }, { text: "Create Templates", link: "/how-tos/create-templates", }, { text: "Use the Public API", link: "/how-tos/use-public-api", }, ], }, { text: "Reference Guides", link: "/reference/", collapsed: false, items: [ { text: "AI Agent", link: "/reference/ai-agent", }, { text: "Audit Logs", link: "/reference/audit-logs", }, { text: "Change Sets", link: "/reference/change-sets", }, { text: "Components", link: "/reference/components", }, { text: "Developer Resources", collapsed: false, items: [ { text: "CLI", link: "/reference/si-cli", }, { text: "Public API", link: "/reference/public-api", }, { text: "TypeScript Function API", link: "/reference/typescript/README", }, ], }, { text: "Functions", link: "/reference/function", collapsed: true, items: [ { text: "Action", link: "/reference/actions", }, { text: "Attribute", link: "/reference/attribute", }, { text: "Authentication", link: "/reference/authentication", }, { text: "Code Generation", link: "/reference/code-generation", }, { text: "Management", link: "/reference/management", }, { text: "Qualification", link: "/reference/qualification", }, ], }, { text: "Schemas", link: "/reference/schema", }, { text: "Review", link: "/reference/review", }, { text: "Search", link: "/reference/search", }, { text: "Secrets", link: "/reference/secrets", }, { text: "Templates", link: "/reference/templates", }, { text: "Users", link: "/reference/users", }, { text: "Workspaces", link: "/reference/workspaces", }, ], }, { text: "Explanation", link: "/explanation/", collapsed: false, items: [ { text: "Architecture", link: "/explanation/architecture/index", collapsed: true, items: [ { text: "AI Native Collaboration", link: "/explanation/architecture/ai", }, { text: "Change Control", link: "/explanation/architecture/change-control", }, { text: "Digital Twin", link: "/explanation/architecture/digital-twin", }, { text: "Function Execution Framework", link: "/explanation/architecture/functions", }, { text: "Tenancy and Access Control", link: "/explanation/architecture/tenancy", }, { text: "The Data Model", link: "/explanation/architecture/snapshot", }, { text: "The Distributed Exection Engine", link: "/explanation/architecture/engine", }, ], }, { text: "Cloud Providers", link: "/explanation/cloud-providers/index", collapsed: false, items: [ { text: "AWS", link: "/explanation/cloud-providers/aws", }, { text: "Azure", link: "/explanation/cloud-providers/azure", }, { text: "DigitalOcean", link: "/explanation/cloud-providers/digital-ocean", }, { text: "Hetzner Cloud", link: "/explanation/cloud-providers/hetzner", }, ], }, { text: "Create Workspace API Tokens", link: "/explanation/generate-a-workspace-api-token", }, { text: "Enable Slack Webhook", link: "/explanation/enable-slack-webhook", }, { text: "IaC vs System Initiative", link: "/explanation/iac-comparison", }, { text: "Policy Layers in System Initiative", link: "/explanation/policy-layers", }, { text: "Working on System Initiative", link: "/explanation/working-on-si", }, ], }, { text: "Changelog", link: "/changelog/", }, { text: "Road map", link: "/roadmap/", }, { text: "System Initiative Website", link: "https://systeminit.com/", }, ], editLink: { pattern: "https://github.com/systeminit/si/edit/main/app/docs/src/:path", text: "Edit this page on GitHub", }, search: { provider: "local", }, }, vite: { server: { host: process.env.DEV_HOST, port: parseInt(process.env.DEV_PORT!, 10), }, }, }));

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server