Skip to content

Commit

Permalink
feat(deps): fix all deps versions ; improve schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed Dec 16, 2022
1 parent 4c6ffc4 commit a9632d2
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 18 deletions.
43 changes: 43 additions & 0 deletions nuxt.schema.ts
Original file line number Diff line number Diff line change
@@ -1,42 +1,78 @@
export default defineNuxtConfigSchema({
appConfig: {
/**
* Docus theme configuration.
*
* @studio-icon material-symbols:docs
*/
docus: {
/**
* Website title, used as header default title and meta title.
*
* @studio-icon material-symbols:title
*/
title: 'Docus',
/**
* Website description, used for meta description.
*
* @studio-icon material-symbols:description
*/
description: 'The best place to start your documentation.',
/**
* Cover image.
*
* @example '/cover.jpg'
*
* @studio-icon dashicons:cover-image
*/
image:
'https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png',
/**
* Social links.
*
* Will be used in Social Icons component, in AppHeader and AppFooter.
*
* @studio-icon material-symbols:share-outline
*/
socials: {
/**
* Twitter social handle
* @example 'nuxt_js'
* @studio-icon simple-icons:twitter
*/
twitter: '',
/**
* GitHub org or repository
* @example 'nuxt/framework'
* @studio-icon simple-icons:github
*/
github: '',
/**
* Facebook page url
* @example https://www.facebook.com/groups/nuxtjs
* @studio-icon simple-icons:facebook
*/
facebook: '',
/**
* Instagram page url
* @example https://www.instagram.com/wearenuxt
* @studio-icon simple-icons:instagram
*/
instagram: '',
/**
* Instagram page url
* @example https://www.youtube.com/@NuxtLabs
* @studio-icon simple-icons:youtube
*/
youtube: '',
/**
* Medium page url
* @example https://medium.com/nuxt
* @studio-icon simple-icons:medium
*/
medium: ''
},

aside: {
/**
* The level to which the navigation should be scaled.
Expand All @@ -61,6 +97,8 @@ export default defineNuxtConfigSchema({
* Title to be displayed in header or as aria-label if logo is defined
*
* Default to docus.title
*
* @studio-icon material-symbols:title
*/
title: '',
/**
Expand All @@ -81,6 +119,7 @@ export default defineNuxtConfigSchema({
* Paths to be excluded from header links.
*
* @type {string[]}
*
*/
exclude: []
},
Expand All @@ -91,6 +130,8 @@ export default defineNuxtConfigSchema({
* Object configuring the credits part of footer.
*
* @type {false|object}
*
* @studio-icon material-symbols:copyright
*/
credits: {
/**
Expand All @@ -103,6 +144,8 @@ export default defineNuxtConfigSchema({
},
/**
* Icons to be added to Social Icons in footer.
*
* @studio-icon material-symbols:add-link
*/
iconLinks: {
$schema: {
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"composables",
"layouts",
"plugins",
"app.config.ts",
"nuxt.schema.ts",
"app.vue",
"nuxt.config.ts",
"tokens.config.ts"
Expand All @@ -30,11 +30,11 @@
"@docsearch/js": "^3.3.0",
"@fontsource/inter": "^4.5.14",
"@iconify/vue": "^4.0.2",
"@nuxt-themes/elements": "^0.2.2",
"@nuxt-themes/tokens": "latest",
"@nuxt-themes/typography": "latest",
"@nuxt/content": "^2.2.2",
"@nuxthq/studio": "^0.3.5",
"@nuxt-themes/elements": "^0.2.3",
"@nuxt-themes/tokens": "^1.2.2",
"@nuxt-themes/typography": "^0.1.7",
"@nuxt/content": "^2.3.0",
"@nuxthq/studio": "^0.3.6",
"@nuxtjs/algolia": "^1.3.1",
"@nuxtjs/color-mode": "^3.2.0",
"@vueuse/core": "^9.6.0",
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a9632d2

Please sign in to comment.