Skip to content

Commit ed519c8

Browse files
authored
chore: update docus version (#166)
1 parent 4ff134c commit ed519c8

File tree

5 files changed

+219
-1288
lines changed

5 files changed

+219
-1288
lines changed

docs/app.config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default defineAppConfig({
22
docus: {
33
title: 'magic-regexp',
4-
layout: 'docs',
4+
header: { logo: true },
55
url: 'https://regexp.dev',
66
description: '🦄 A compiled-away, type-safe, readable RegExp alternative',
77
socials: {
@@ -22,20 +22,20 @@ export default defineAppConfig({
2222
credits: [
2323
{
2424
icon: 'IconDocus',
25-
text: 'Powered by Docus',
25+
label: 'Powered by Docus',
2626
href: 'https://docus.com',
2727
},
2828
],
29-
icons: [
29+
iconLinks: [
3030
{
3131
label: 'Nuxt',
3232
href: 'https://nuxt.com',
33-
component: 'IconNuxt',
33+
icon: 'IconNuxt',
3434
},
3535
{
3636
label: 'Vue Telescope',
3737
href: 'https://vuetelescope.com',
38-
component: 'IconVueTelescope',
38+
icon: 'IconVueTelescope',
3939
},
4040
],
4141
},

docs/nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default defineNuxtConfig({
1616
fields: ['exact'],
1717
},
1818
},
19-
modules: ['nuxt-plausible'],
19+
modules: ['@nuxtjs/plausible'],
2020
plausible: {
2121
domain: 'regexp.dev',
2222
},

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"preview": "nuxi preview"
1212
},
1313
"devDependencies": {
14-
"@nuxt-themes/docus": "npm:@nuxt-themes/docus-edge@0.1.0-2a7c428",
15-
"nuxt": "3.0.0",
16-
"nuxt-plausible": "latest"
14+
"@nuxt-themes/docus": "^1.1.3",
15+
"@nuxtjs/plausible": "^0.2.0",
16+
"nuxt": "3.0.0"
1717
}
1818
}

docs/tokens.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { defineTheme } from 'pinceau'
22

33
export default defineTheme({
4-
colors: {
4+
color: {
55
primary: {
66
'50': '#ff46c5',
77
'100': '#ff3cbb',

0 commit comments

Comments
 (0)