diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 949baee25..44c60305e 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -2,23 +2,24 @@ import { defineConfig } from 'vitepress' // https://vitepress.dev/reference/site-config export default defineConfig({ - title: "OpenAPI TypeScript", - description: "Turn your OpenAPI specification into a beautiful TypeScript client", - themeConfig: { - // https://vitepress.dev/reference/default-theme-config - nav: [ - { text: 'Guide', link: '/introduction' }, - ], - sidebar: [ - { - text: 'Guide', - items: [ - { text: 'Introduction', link: '/introduction' }, + base: '/openapi-ts/', + title: "OpenAPI TypeScript", + description: "Turn your OpenAPI specification into a beautiful TypeScript client", + themeConfig: { + // https://vitepress.dev/reference/default-theme-config + nav: [ + { text: 'Guide', link: '/introduction' }, + ], + sidebar: [ + { + text: 'Guide', + items: [ + { text: 'Introduction', link: '/introduction' }, + ] + } + ], + socialLinks: [ + { icon: 'github', link: 'https://github.com/hey-api/openapi-ts' } ] - } - ], - socialLinks: [ - { icon: 'github', link: 'https://github.com/hey-api/openapi-ts' } - ] - } + } }) diff --git a/docs/package.json b/docs/package.json index 59e436cad..05fd15c44 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,15 +1,15 @@ { - "name": "openapi-ts-docs", - "version": "0.1.0", - "description": "Documentation for OpenaAPI TypeScript.", - "private": true, - "type": "module", - "scripts": { - "dev": "vitepress dev", - "build": "vitepress build", - "preview": "vitepress preview" - }, - "devDependencies": { - "vitepress": "1.0.2" - } + "name": "openapi-ts-docs", + "version": "0.1.0", + "description": "Documentation for OpenaAPI TypeScript.", + "private": true, + "type": "module", + "scripts": { + "dev": "vitepress dev", + "build": "vitepress build", + "preview": "vitepress preview" + }, + "devDependencies": { + "vitepress": "1.0.2" + } }