Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Feb 23, 2024
1 parent 0e9155d commit c89a6fe
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,14 @@ export default defineAppConfig({
to: 'https://nuxt.com',
target: '_blank',
'aria-label': 'Nuxt Website'
}, {
icon: 'i-simple-icons-discord',
to: 'https://discord.com/invite/ps2h6QT',
target: '_blank',
'aria-label': 'Nuxt UI on Discord'
}, {
icon: 'i-simple-icons-x',
to: 'https://x.com/nuxt_js',
target: '_blank',
'aria-label': 'Nuxt on X'
}, {
icon: 'i-simple-icons-github',
to: 'https://github.com/atinux/nuxthub',
to: 'https://github.com/nuxt-hub/core',
target: '_blank',
'aria-label': 'NuxtHub on GitHub'
}]
Expand All @@ -56,11 +51,16 @@ export default defineAppConfig({
title: 'Table of Contents',
bottom: {
title: 'Community',
edit: 'https://github.com/atinux/nuxthub/edit/main/content',
edit: 'https://github.com/nuxt-hub/core/edit/main/content',
links: [{
icon: 'i-heroicons-star',
label: 'Star on GitHub',
to: 'https://github.com/atinux/nuxthub',
to: 'https://github.com/nuxt-hub/core',
target: '_blank',
}, {
icon: 'i-simple-icons-nuxtdotjs',
label: 'NuxtHub Console',
to: 'https://hub.nuxt.com',
target: '_blank',
}]
}
Expand Down
3 changes: 3 additions & 0 deletions docs/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ const { header } = useAppConfig()
</template>
<template #right>
<UButton to="https://hub.nuxt.com/?utm_source=nuxthub-docs&utm_medium=header" external icon="i-simple-icons-nuxtdotjs" variant="outline" class="hidden sm:inline-flex">
NuxtHub Console
</UButton>
<UDocsSearchButton v-if="header?.search" :label="null" class="lg:hidden" />
<UColorModeButton v-if="header?.colorMode" />
Expand Down
4 changes: 4 additions & 0 deletions docs/content/1.getting-started/2.installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export default defineNuxtConfig({

That's it! You can now use the NuxtHub module in your Nuxt project.

::callout
The module will create a `.hub` directory in your project root, which contains the necessary configuration files and resources for the module to work. It will also add it to the `.gitignore` file to avoid committing it to your repository.
::

## Options

| Key | Default | Description |
Expand Down

0 comments on commit c89a6fe

Please sign in to comment.