docus 2.0.0-alpha.1 → 3.0.0-20250612-122343-26b92a7
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.
- package/README.md +3 -1
- package/app/app/pages/[...slug].vue +0 -1
- package/app/nuxt.config.ts +12 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
[](https://docus.dev)
|
|
2
|
+
|
|
1
3
|
# Docus
|
|
2
4
|
|
|
3
5
|
Documentation Theme and CLI to write beautiful docs with Markdown.
|
|
@@ -28,4 +30,4 @@ Ship fast, flexible, and SEO-optimized documentation with beautiful design out o
|
|
|
28
30
|
|
|
29
31
|
Published under the [MIT](https://github.com/unjs/undocs/blob/main/LICENSE) license.
|
|
30
32
|
|
|
31
|
-
Docus
|
|
33
|
+
Docus v3 has been entirely rewritten from scratch and is inspired and copied from [undocs](https://github.com/unjs/undocs) made by [@pi0](https://github.com/pi0) 💚
|
package/app/nuxt.config.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { extendViteConfig } from '@nuxt/kit'
|
|
2
|
+
|
|
1
3
|
// Flag enabled when developing docs theme
|
|
2
4
|
const dev = !!process.env.NUXT_DOCS_DEV
|
|
3
5
|
|
|
@@ -8,6 +10,16 @@ export default defineNuxtConfig({
|
|
|
8
10
|
'@nuxt/image',
|
|
9
11
|
'@nuxtjs/robots',
|
|
10
12
|
'nuxt-og-image',
|
|
13
|
+
() => {
|
|
14
|
+
// Update @nuxt/content optimizeDeps options
|
|
15
|
+
extendViteConfig((config) => {
|
|
16
|
+
config.optimizeDeps ||= {}
|
|
17
|
+
config.optimizeDeps.include ||= []
|
|
18
|
+
config.optimizeDeps.include.push('brace-expansion', '@nuxt/content > slugify')
|
|
19
|
+
config.optimizeDeps.include = config.optimizeDeps.include
|
|
20
|
+
.map(id => id.replace(/^@nuxt\/content > /, 'docus > @nuxt/content > '))
|
|
21
|
+
})
|
|
22
|
+
},
|
|
11
23
|
],
|
|
12
24
|
devtools: {
|
|
13
25
|
enabled: dev,
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/nuxtlabs/docus"
|
|
7
7
|
},
|
|
8
8
|
"private": false,
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "3.0.0-20250612-122343-26b92a7",
|
|
10
10
|
"keywords": [],
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"bin": {
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"@iconify-json/vscode-icons": "^1.2.22",
|
|
37
37
|
"@nuxt/content": "https://pkg.pr.new/@nuxt/content@d98bf49",
|
|
38
38
|
"@nuxt/image": "^1.10.0",
|
|
39
|
+
"@nuxt/kit": "^3.17.5",
|
|
39
40
|
"@nuxt/ui-pro": "^3.1.3",
|
|
40
41
|
"@nuxtjs/robots": "^5.2.10",
|
|
41
42
|
"c12": "^3.0.4",
|