Skip to content

Commit ea6b017

Browse files
fix: resolve MDX import error and improve SEO configuration
1 parent 9d5d03d commit ea6b017

2 files changed

Lines changed: 17 additions & 49 deletions

File tree

pages/developers/plugins/cli.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: CLI Reference
33
description: The essential command-line tool for Lokus plugin development.
44
---
55

6-
import { Tabs, Tab, Callout, Steps } from 'nextra/components'
6+
import { Tabs, Callout, Steps } from 'nextra/components'
77

88
# CLI Reference
99

@@ -28,7 +28,7 @@ The `lokus-plugin` CLI is your primary tool for creating, building, and publishi
2828

2929
<Tabs items={['Basics', 'Development', 'Publishing', 'Utility']}>
3030

31-
<Tab>
31+
<Tabs.Tab>
3232
### `create`
3333
Scaffold a new plugin project.
3434

@@ -46,9 +46,9 @@ The `lokus-plugin` CLI is your primary tool for creating, building, and publishi
4646
```bash
4747
lokus-plugin install <path|id>
4848
```
49-
</Tab>
49+
</Tabs.Tab>
5050

51-
<Tab>
51+
<Tabs.Tab>
5252
### `dev`
5353
Start the development server with hot-reloading.
5454

@@ -73,9 +73,9 @@ The `lokus-plugin` CLI is your primary tool for creating, building, and publishi
7373
```bash
7474
lokus-plugin test [--watch] [--coverage]
7575
```
76-
</Tab>
76+
</Tabs.Tab>
7777

78-
<Tab>
78+
<Tabs.Tab>
7979
### `login`
8080
Authenticate with the registry.
8181

@@ -101,9 +101,9 @@ The `lokus-plugin` CLI is your primary tool for creating, building, and publishi
101101
```bash
102102
lokus-plugin package
103103
```
104-
</Tab>
104+
</Tabs.Tab>
105105

106-
<Tab>
106+
<Tabs.Tab>
107107
### `docs`
108108
Generate documentation website.
109109

@@ -124,7 +124,7 @@ The `lokus-plugin` CLI is your primary tool for creating, building, and publishi
124124
```bash
125125
lokus-plugin info <id>
126126
```
127-
</Tab>
127+
</Tabs.Tab>
128128

129129
</Tabs>
130130

theme.config.jsx

Lines changed: 8 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { useConfig } from 'nextra-theme-docs'
2+
13
export default {
24
logo: (
35
<div style={{ display: 'flex', alignItems: 'center', gap: '0.5rem' }}>
@@ -24,50 +26,16 @@ export default {
2426
docsRepositoryBase: 'https://github.com/lokus-ai/docs',
2527
useNextSeoProps() {
2628
return {
27-
titleTemplate: '%s – Lokus Documentation',
28-
defaultTitle: 'Lokus Documentation – Local-First Knowledge Management',
29-
description: 'Comprehensive documentation for Lokus - a powerful, privacy-first knowledge management system with advanced features including interactive graph visualization, AI integration, databases, canvas, and more.',
30-
openGraph: {
31-
type: 'website',
32-
locale: 'en_US',
33-
url: 'https://docs.lokus.dev',
34-
siteName: 'Lokus Documentation',
35-
images: [
36-
{
37-
url: 'https://docs.lokus.dev/og-image.png',
38-
width: 1200,
39-
height: 630,
40-
alt: 'Lokus Documentation'
41-
}
42-
]
43-
},
44-
twitter: {
45-
handle: '@lokus_ai',
46-
site: '@lokus_ai',
47-
cardType: 'summary_large_image'
48-
},
49-
additionalMetaTags: [
50-
{
51-
name: 'viewport',
52-
content: 'width=device-width, initial-scale=1.0'
53-
},
54-
{
55-
name: 'keywords',
56-
content: 'lokus, knowledge management, note-taking, markdown editor, wiki links, graph visualization, local-first, privacy, tauri, rust, documentation'
57-
},
58-
{
59-
name: 'author',
60-
content: 'Lokus Team'
61-
},
62-
{
63-
name: 'theme-color',
64-
content: '#6366f1'
65-
}
66-
]
29+
titleTemplate: '%s – Lokus Documentation'
6730
}
6831
},
6932
head: (
7033
<>
34+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
35+
<meta httpEquiv="Content-Language" content="en" />
36+
<meta name="description" content="Lokus Documentation: Local-First Knowledge Management" />
37+
<meta name="og:title" content="Lokus Documentation" />
38+
<meta name="og:description" content="Lokus Documentation: Local-First Knowledge Management" />
7139
<link rel="icon" href="/logo.svg" type="image/svg+xml" />
7240
<link rel="apple-touch-icon" href="/logo.svg" />
7341
<meta name="msapplication-TileColor" content="#6366f1" />

0 commit comments

Comments
 (0)