diff options
| author | 2023-04-19 17:50:02 +0800 | |
|---|---|---|
| committer | 2023-04-19 17:50:02 +0800 | |
| commit | 56a6240bf700ac307342ed494d8bfbabe5c822dc (patch) | |
| tree | 0b1288a2ec1cbb538c11f4c122b6a97b9c55a05f /docs/nuxt.schema.ts | |
| parent | 3adc965dd09490b7efa1cce9f09b0a3b30970277 (diff) | |
| download | HydroRoll-56a6240bf700ac307342ed494d8bfbabe5c822dc.tar.gz HydroRoll-56a6240bf700ac307342ed494d8bfbabe5c822dc.zip | |
✨docs init
Diffstat (limited to 'docs/nuxt.schema.ts')
| -rw-r--r-- | docs/nuxt.schema.ts | 293 |
1 files changed, 0 insertions, 293 deletions
diff --git a/docs/nuxt.schema.ts b/docs/nuxt.schema.ts deleted file mode 100644 index bf328f1..0000000 --- a/docs/nuxt.schema.ts +++ /dev/null @@ -1,293 +0,0 @@ -export default defineNuxtSchema({ - appConfig: { - /** - * Docus theme configuration. - * - * @studioIcon material-symbols:docs - */ - docus: { - /** - * Website title, used as header default title and meta title. - * - * @studioIcon material-symbols:title - */ - title: 'Docus', - /** - * The website title template, to overwrite the default one. - */ - titleTemplate: '%s · Docus', - /** - * Website description, used for meta description. - * - * @studioIcon material-symbols:description - */ - description: 'The best place to start your documentation.', - /** - * Cover image. - * - * @example '/cover.jpg' - * - * @studioIcon dashicons:cover-image - * @studioInput file - */ - image: 'https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png', - - /** - * Social links - * - * Will be used in AppSocialIcons component. - * - * @studioIcon material-symbols:share-outline - */ - socials: { - /** - * Twitter social handle - * @example 'nuxt_js' - * @studioIcon simple-icons:twitter - */ - twitter: '', - /** - * GitHub org or repository - * @example 'nuxt/framework' - * @studioIcon simple-icons:github - */ - github: '', - /** - * Facebook page url - * @example https://www.facebook.com/groups/nuxtjs - * @studioIcon simple-icons:facebook - */ - facebook: '', - /** - * Instagram page url - * @example https://www.instagram.com/wearenuxt - * @studioIcon simple-icons:instagram - */ - instagram: '', - /** - * Instagram page url - * @example https://www.youtube.com/@NuxtLabs - * @studioIcon simple-icons:youtube - */ - youtube: '', - /** - * Medium page url - * @example https://medium.com/nuxt - * @studioIcon simple-icons:medium - */ - medium: '' - }, - - /** - * Theme layout configuration. - * - * @type {'default'|'page'} - * @studioIcon tabler:arrow-autofit-width - */ - layout: 'default', - - /** - * Aside navigation configuration. - * - * @studioIcon fluent:document-page-24-regular - */ - aside: { - /** - * Aside navigation level - * - * Use 0 to disable all nesting. - * Use 1 and more to display nested navigation in header and aside navigation. - */ - level: 0, - /** - * Specify if default collapsibles state globally for aside navigation. - */ - collapsed: false, - /** - * Paths to be excluded from aside navigation. - * - * @type {string[]} - */ - exclude: [] - }, - - /** - * Header configuration. - * - * @studioIcon fluent:document-header-24-regular - */ - header: { - /** - * Website title - * - * Title to be displayed in header or as aria-label if logo is defined. - * - * Default to docus.title - * - * @studioIcon material-symbols:title - */ - title: '', - /** - * Logo configuration - * - * Boolean to disable or use the `Logo.vue` component. - * - * String to be used as a name of a component. - * - * @example 'MyLogo' - * @studioInput boolean - */ - logo: false, - /** - * Header links - * - * Toggle links icons in the header. - */ - showLinkIcon: false, - /** - * Paths to be excluded from header links. - * - * @type {string[]} - * - */ - exclude: [], - /** - * Makes the content of the header fluid. - */ - fluid: false - }, - - /** - * Main content configuration. - * - * @studioIcon fluent:document-header-footer-24-filled - */ - main: { - /** - * Makes the content of the main container fluid. - */ - fluid: false, - /** - * Makes the content of the main container padded. - */ - padded: true - }, - - /** - * Footer configuration - * - * @studioIcon fluent:document-footer-24-regular - */ - footer: { - /** - * Website credits configuration. - * - * @type {false|{icon: string, text: string, href: string}} - * - * @studioIcon material-symbols:copyright - */ - credits: { - /** - * Icon to show on credits - * @formtype Icon - */ - icon: 'IconDocus', - text: 'Powered by Docus', - href: 'https://docus.dev' - }, - /** - * Text links - * - * Will be added into center section of the footer. - * - * @studioIcon material-symbols:add-link - */ - textLinks: { - $schema: { - type: 'array', - items: { - type: 'object', - required: ['text', 'href'], - properties: { - href: { - type: 'string', - description: 'URL when clicking the link' - }, - text: { type: 'string', description: 'Text of the link' }, - target: { type: 'string', description: 'Target attribute of the link' } - } - } - } - }, - /** - * Icon links - * - * Icons to be added to Social Icons in footer. - * - * @studioIcon material-symbols:add-link - */ - iconLinks: { - $schema: { - type: 'array', - items: { - type: 'object', - required: ['icon', 'href'], - properties: { - icon: { type: 'string', description: 'Icon name' }, - href: { - type: 'string', - description: 'Link when clicking on the icon' - }, - label: { type: 'string', description: 'Label of the icon' } - } - } - } - }, - /** - * Makes the content of the footer fluid. - */ - fluid: true - }, - - /** - * GitHub integration - * - * Configure the Edit on Github integration. - * - * @studioIcon simple-icons:github - */ - github: { - /** - * Directory - * - * Your GitHub repository root directory. - */ - dir: '', - /** - * Branch - * - * Your GitHub repository branch. - */ - branch: '', - /** - * Repository - * - * Your GitHub repository name. - */ - repo: '', - /** - * Owner - * - * Your GitHub repository owner. - */ - owner: '', - /** - * EditOnGithub - * - * Display EditOnGithub button. - */ - edit: false - } - } - } -}) |
