Files
how-to-use-cnb/web/openclaw/docs/.vitepress/config.ts
xiongxiao c0d8f4d4e1 feat: initialize opencode project with Astro and Starlight
- Add package.json for project configuration and dependencies
- Create content configuration for Starlight documentation
- Add example guide and reference markdown files
- Create index page for documentation with navigation and next steps
- Set up TypeScript configuration for the project
2026-03-18 19:24:11 +08:00

29 lines
703 B
TypeScript

import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Openclaw In CNB",
description: "CNB怎么使用openclaw",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }
],
sidebar: [
{
text: 'Examples',
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },
{ text: 'Runtime API Examples', link: '/api-examples' }
]
}
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
]
}
})