Skip to content

Commit

Permalink
chore(deps): upgrade deps ; move defaults back in app.config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Jan 5, 2023
1 parent c288a54 commit d0bfd01
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 253 deletions.
3 changes: 3 additions & 0 deletions .docs/.studio/app.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"youtube": "",
"medium": ""
},
"layout": {
"fluid": true
},
"aside": {
"level": 0,
"collapsed": false,
Expand Down
37 changes: 32 additions & 5 deletions app.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,34 @@
export default defineAppConfig({
/**
* Default are defined in nuxt.schema.ts for best typing and Studio integration
* This file can be used to leverage HMR while developping this theme
* Note that this file is not published to npm
*/
docus: {
title: 'Docus',
description: 'The best place to start your documentation.',
image: 'https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png',
socials: {
twitter: '',
github: '',
facebook: '',
instagram: '',
youtube: '',
medium: ''
},
layout: { fluid: false },
aside: {
level: 0,
collapsed: false,
exclude: []
}, header: {
title: '',
logo: false,
showLinkIcon: false,
exclude: []
}, footer: {
credits: {
icon: 'IconDocus',
text: 'Powered by Docus',
href: 'https://docus.dev'
},
textLinks: [],
iconLinks: []
}
}
})
20 changes: 13 additions & 7 deletions nuxt.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ export default defineNuxtConfigSchema({
*
* @studio-icon dashicons:cover-image
*/
image:
'https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png',
image: 'https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png',
/**
* Social links.
*
Expand Down Expand Up @@ -73,11 +72,18 @@ export default defineNuxtConfigSchema({
medium: ''
},
/**
* Theme layout.
* Theme layout configuration.
*
* @studio-icon tabler:arrow-autofit-width
*/
layout: { fluid: true },
layout: {
/**
* Enables the `fluid` layout mode.
*/
fluid: true
},
/**
* Aside navigation configuration
* Aside navigation configuration.
*
* @studio-icon fluent:document-page-24-regular
*/
Expand All @@ -101,7 +107,7 @@ export default defineNuxtConfigSchema({
exclude: []
},
/**
* Header configuration
* Header configuration.
*
* @studio-icon fluent:document-header-24-regular
*/
Expand All @@ -115,7 +121,7 @@ export default defineNuxtConfigSchema({
*/
title: '',
/**
* Logo configuration
* Logo configuration.
*
* Boolean to disable or use the `Logo.vue` component.
*
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@
"release": "release-it"
},
"dependencies": {
"@nuxt-themes/elements": "^0.4.0",
"@nuxt-themes/tokens": "^1.5.1",
"@nuxt-themes/typography": "^0.3.0",
"@nuxt-themes/elements": "^0.4.3",
"@nuxt-themes/tokens": "^1.5.2",
"@nuxt-themes/typography": "^0.4.0",
"@nuxt/content": "^2.3.0",
"@nuxthq/studio": "^0.4.3",
"@vueuse/nuxt": "^9.9.0"
"@vueuse/nuxt": "^9.10.0"
},
"devDependencies": {
"@algolia/client-search": "^4.14.3",
"@docsearch/css": "^3.3.1",
"@docsearch/js": "^3.3.1",
"@nuxtjs/algolia": "^1.4.0",
"@nuxtjs/algolia": "^1.4.2",
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"eslint": "^8.31.0",
"nuxt": "3.0.0",
Expand Down
Loading

0 comments on commit d0bfd01

Please sign in to comment.