* feat: checkpoint * feat: Migrate docs to Fumadocs * chore: docs layout * chore: - remove home route - make docs home route - remove docs prefix * chore: docs layout * chore: - reorder sidebar - fix home page redirect * chore: rename package to avoid error during pnpm clean * chore: remove private and sideEffects properties from package.json * chore: requested fixes * feat: update fumadocs layout * feat: hide theme switch on sidebar * add /docs * feat: enhance documentation and layout with new guides and updates - Added multiple how-to guides for creating courses, exercises, and managing organization settings. - Updated existing documentation for clarity and consistency, including renaming sections for better navigation. - Introduced new assets such as logos and favicon for improved branding. - Modified layout components to enhance user experience and visual appeal. - Updated package dependencies to include lucide-react for icon usage. * chore: update pnpm-lock.yaml with dependency version changes * add favicon * fix: update links in documentation for consistency - Corrected the links in the create-exercise and signup guides to ensure they point to the correct paths, enhancing clarity and navigation for users. * delete docs --------- Co-authored-by: Rotimi Best <[email protected]>
31 lines
778 B
TypeScript
31 lines
778 B
TypeScript
import { defineConfig } from 'vite';
|
|
import mdx from 'fumadocs-mdx/vite';
|
|
import { nitro } from 'nitro/vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
import { tanstackStart } from '@tanstack/react-start/plugin/vite';
|
|
import tsConfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3000
|
|
},
|
|
base: '/docs',
|
|
plugins: [
|
|
mdx(await import('./source.config')),
|
|
tailwindcss(),
|
|
tsConfigPaths({
|
|
projects: ['./tsconfig.json']
|
|
}),
|
|
tanstackStart({
|
|
prerender: {
|
|
enabled: true
|
|
}
|
|
}),
|
|
react(),
|
|
// see https://tanstack.com/start/latest/docs/framework/react/guide/hosting for hosting config
|
|
// we configured nitro by default
|
|
nitro()
|
|
]
|
|
});
|