Jelajahi Sumber

docs: fix config

Jay V 7 bulan lalu
induk
melakukan
48fcaa83be

+ 1 - 0
packages/web/astro.config.mjs

@@ -33,6 +33,7 @@ export default defineConfig({
     solidJs(),
     solidJs(),
     starlight({
     starlight({
       title: "opencode",
       title: "opencode",
+      lastUpdated: true,
       expressiveCode: { themes: ["github-light", "github-dark"] },
       expressiveCode: { themes: ["github-light", "github-dark"] },
       social: [
       social: [
         { icon: "github", label: "GitHub", href: config.github },
         { icon: "github", label: "GitHub", href: config.github },

+ 1 - 1
packages/web/src/content/docs/docs/config.mdx

@@ -5,7 +5,7 @@ description: Using the opencode JSON config.
 
 
 You can configure opencode using a JSON config file.
 You can configure opencode using a JSON config file.
 
 
-```json title="opencode config"
+```json title="opencode.json"
 {
 {
   "$schema": "https://opencode.ai/config.json",
   "$schema": "https://opencode.ai/config.json",
   "theme": "opencode",
   "theme": "opencode",