docus 5.4.1 → 5.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,6 +29,7 @@ function getEmojiFlag(locale: string): string {
29
29
  ur: 'pk', // Urdu -> Pakistan
30
30
  vi: 'vn', // Vietnamese -> Vietnam
31
31
  es: 'es', // Spanish -> Spain
32
+ id: 'id', // Indonesian -> Indonesia
32
33
  }
33
34
 
34
35
  const baseLanguage = locale.split('-')[0]?.toLowerCase() || locale
@@ -3,6 +3,7 @@ import { useClipboard } from '@vueuse/core'
3
3
  import { useRuntimeConfig } from '#imports'
4
4
 
5
5
  const route = useRoute()
6
+ const toast = useToast()
6
7
  const appBaseURL = useRuntimeConfig().app?.baseURL || '/'
7
8
 
8
9
  const { copy, copied } = useClipboard()
@@ -10,7 +11,7 @@ const { t } = useDocusI18n()
10
11
 
11
12
  const markdownLink = computed(() => `${window?.location?.origin}${appBaseURL}raw${route.path}.md`)
12
13
  const items = [
13
- {
14
+ [{
14
15
  label: t('docs.copy.link'),
15
16
  icon: 'i-lucide-link',
16
17
  onSelect() {
@@ -34,7 +35,26 @@ const items = [
34
35
  icon: 'i-simple-icons:anthropic',
35
36
  target: '_blank',
36
37
  to: `https://claude.ai/new?q=${encodeURIComponent(`Read ${markdownLink.value} so I can ask questions about it.`)}`,
37
- },
38
+ }],
39
+ [
40
+ {
41
+ label: 'Copy MCP Server URL',
42
+ icon: 'i-lucide-link',
43
+ onSelect() {
44
+ copy(`${window?.location?.origin}${appBaseURL}mcp`)
45
+ toast.add({
46
+ title: 'Copied to clipboard',
47
+ icon: 'i-lucide-check-circle',
48
+ })
49
+ },
50
+ },
51
+ {
52
+ label: 'Add MCP Server',
53
+ icon: 'i-simple-icons:cursor',
54
+ target: '_blank',
55
+ to: `/mcp/deeplink`,
56
+ },
57
+ ],
38
58
  ]
39
59
 
40
60
  async function copyPage() {
@@ -0,0 +1,25 @@
1
+ {
2
+ "common": {
3
+ "or": "atau",
4
+ "error": {
5
+ "title": "Halaman tidak ditemukan",
6
+ "description": "Kami minta maaf, halaman ini tidak dapat ditemukan."
7
+ },
8
+ "copied": "Berhasil disalin ke papan klip"
9
+ },
10
+ "docs": {
11
+ "copy": {
12
+ "page": "Salin halaman",
13
+ "link": "Salin halaman Markdown",
14
+ "view": "Lihat sebagai Markdown",
15
+ "gpt": "Buka di ChatGPT",
16
+ "claude": "Buka di Claude",
17
+ "mcp_url": "Salin URL Server MCP",
18
+ "mcp_add": "Tambah Server MCP"
19
+ },
20
+ "links": "Komunitas",
21
+ "toc": "Pada halaman ini",
22
+ "report": "Laporkan masalah",
23
+ "edit": "Ubah halaman ini"
24
+ }
25
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "common": {
3
+ "or": "ou",
4
+ "error": {
5
+ "title": "Página não encontrada",
6
+ "description": "Desculpe, mas esta página não pôde ser encontrada."
7
+ }
8
+ },
9
+ "docs": {
10
+ "copy": {
11
+ "page": "Copiar página",
12
+ "link": "Copiar página em Markdown",
13
+ "view": "Visualizar como Markdown",
14
+ "gpt": "Abrir no ChatGPT",
15
+ "claude": "Abrir no Claude"
16
+ },
17
+ "links": "Comunidade",
18
+ "toc": "Nesta página",
19
+ "report": "Reportar um erro",
20
+ "edit": "Editar esta página"
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "common": {
3
+ "or": "හෝ",
4
+ "error": {
5
+ "title": "පිටුව හමු නොවීය",
6
+ "description": "අපට කණගාටුයි, නමුත් මෙම පිටුව සොයාගත නොහැකි විය."
7
+ }
8
+ },
9
+ "docs": {
10
+ "copy": {
11
+ "page": "පිටුව පිටපත් කරන්න",
12
+ "link": "Markdown පිටුව පිටපත් කරන්න",
13
+ "view": "Markdown ලෙස බලන්න",
14
+ "gpt": "ChatGPT හි විවෘත කරන්න",
15
+ "claude": "Claude හි විවෘත කරන්න"
16
+ },
17
+ "links": "Community",
18
+ "toc": "මෙම පිටුවේ",
19
+ "report": "ගැටලුවක් වාර්තා කරන්න",
20
+ "edit": "මෙම පිටුව සංස්කරණය කරන්න"
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "common": {
3
+ "or": "veya",
4
+ "error": {
5
+ "title": "Sayfa bulunamadı",
6
+ "description": "Üzgünüz, bu sayfa bulunamadı."
7
+ }
8
+ },
9
+ "docs": {
10
+ "copy": {
11
+ "page": "Sayfayı kopyala",
12
+ "link": "Markdown bağlantısını kopyala",
13
+ "view": "Markdown olarak görüntüle",
14
+ "gpt": "ChatGPT'de aç",
15
+ "claude": "Claude'da aç"
16
+ },
17
+ "links": "Topluluk",
18
+ "toc": "Bu sayfada",
19
+ "report": "Sorun bildir",
20
+ "edit": "Bu sayfayı düzenle"
21
+ }
22
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "common": {
3
+ "or": "或",
4
+ "error": {
5
+ "title": "页面未找到",
6
+ "description": "很抱歉,您访问的页面未找到。"
7
+ }
8
+ },
9
+ "docs": {
10
+ "copy": {
11
+ "page": "复制页面",
12
+ "link": "复制页面(Markdown)",
13
+ "view": "以 Markdown 格式查看",
14
+ "gpt": "在 ChatGPT 中打开",
15
+ "claude": "在 Claude 中打开"
16
+ },
17
+ "links": "社区",
18
+ "toc": "在此页面上",
19
+ "report": "提交问题报告",
20
+ "edit": "编辑此页面"
21
+ }
22
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "docus",
3
3
  "description": "Nuxt layer for Docus documentation theme",
4
- "version": "5.4.1",
4
+ "version": "5.4.2",
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
7
7
  "repository": {
@@ -22,31 +22,31 @@
22
22
  "README.md"
23
23
  ],
24
24
  "dependencies": {
25
- "@iconify-json/lucide": "^1.2.81",
26
- "@iconify-json/simple-icons": "^1.2.63",
25
+ "@iconify-json/lucide": "^1.2.82",
26
+ "@iconify-json/simple-icons": "^1.2.65",
27
27
  "@iconify-json/vscode-icons": "^1.2.37",
28
- "@nuxt/content": "^3.9.0",
28
+ "@nuxt/content": "^3.10.0",
29
29
  "@nuxt/image": "^2.0.0",
30
30
  "@nuxt/kit": "^4.2.2",
31
31
  "@nuxt/ui": "^4.3.0",
32
32
  "@nuxtjs/i18n": "^10.2.1",
33
- "@nuxtjs/mcp-toolkit": "^0.5.2",
34
- "@nuxtjs/mdc": "^0.19.1",
33
+ "@nuxtjs/mcp-toolkit": "^0.6.1",
34
+ "@nuxtjs/mdc": "^0.19.2",
35
35
  "@nuxtjs/robots": "^5.6.7",
36
- "@vueuse/core": "^13.9.0",
36
+ "@vueuse/core": "^14.1.0",
37
37
  "defu": "^6.1.4",
38
38
  "exsolve": "^1.0.8",
39
39
  "git-url-parse": "^16.1.0",
40
40
  "minimark": "^0.2.0",
41
- "motion-v": "^1.7.4",
41
+ "motion-v": "^1.7.5",
42
42
  "nuxt-llms": "^0.1.3",
43
43
  "nuxt-og-image": "^5.1.13",
44
44
  "pkg-types": "^2.3.0",
45
45
  "scule": "^1.3.0",
46
46
  "tailwindcss": "^4.1.18",
47
47
  "ufo": "^1.6.1",
48
- "zod": "^4.2.1",
49
- "zod-to-json-schema": "^3.25.0"
48
+ "zod": "^4.3.5",
49
+ "zod-to-json-schema": "^3.25.1"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "better-sqlite3": "12.x",