chore(ui): move docs markdown files into ui-docs because vitepress could not access parent directory

This commit is contained in:
upsiflu 2024-11-26 15:19:19 +01:00
parent 744c4b8691
commit 215857233a
20 changed files with 24 additions and 22 deletions

2
.gitignore vendored
View File

@ -81,6 +81,7 @@ oldfront/node_modules/
front/static/translations front/static/translations
front/node_modules/ front/node_modules/
front/dist/ front/dist/
front/dev-dist/
front/npm-debug.log* front/npm-debug.log*
front/yarn-debug.log* front/yarn-debug.log*
front/yarn-error.log* front/yarn-error.log*
@ -91,6 +92,7 @@ front/coverage/
front/selenium-debug.log front/selenium-debug.log
# Vitepress # Vitepress
front/ui-docs/.vitepress/.vite
front/ui-docs/.vitepress/cache front/ui-docs/.vitepress/cache
front/ui-docs/.vitepress/dist front/ui-docs/.vitepress/dist
front/ui-docs/public front/ui-docs/public

View File

@ -13,49 +13,49 @@ export default defineConfig({
{ {
text: 'Components', text: 'Components',
items: [ items: [
{ text: 'Activity', link: '../../src/components/ui/activity.md' }, { text: 'Activity', link: '/components/ui/activity' },
{ text: 'Alert', link: '../../src/components/ui/alert' }, { text: 'Alert', link: '/components/ui/alert' },
{ {
text: 'Card', link: '../../src/components/ui/card', text: 'Card', link: '/components/ui/card',
items: [ items: [
{ text: 'Album Card', link: '../../src/components/ui/card/album' }, { text: 'Album Card', link: '/components/ui/card/album' },
{ text: 'Artist Card', link: '../../src/components/ui/card/artist' }, { text: 'Artist Card', link: '/components/ui/card/artist' },
{ text: 'Playlist Card', link: '../../src/components/ui/card/playlist' }, { text: 'Playlist Card', link: '/components/ui/card/playlist' },
{ text: 'Podcast Card', link: '../../src/components/ui/card/podcast' }, { text: 'Podcast Card', link: '/components/ui/card/podcast' },
{ text: 'Radio Card', link: '../../src/components/ui/card/radio' }, { text: 'Radio Card', link: '/components/ui/card/radio' },
], ],
}, },
{ {
text: 'Content Navigation', text: 'Content Navigation',
items: [ items: [
{ text: 'Pagination', link: '../../src/components/ui/pagination' }, { text: 'Pagination', link: '/components/ui/pagination' },
{ text: 'Table of Contents', link: '../../src/components/ui/toc' }, { text: 'Table of Contents', link: '/components/ui/toc' },
{ text: 'Tabs', link: '../../src/components/ui/tabs' }, { text: 'Tabs', link: '/components/ui/tabs' },
], ],
}, },
{ {
text: 'Form', text: 'Form',
items: [ items: [
{ {
text: 'Button', link: '../../src/components/ui/button', text: 'Button', link: '/components/ui/button',
items: [ items: [
{ text: 'Options Button', link: '../../src/components/ui/button/options' }, { text: 'Options Button', link: '/components/ui/button/options' },
{ text: 'Play Button', link: '../../src/components/ui/button/play' }, { text: 'Play Button', link: '/components/ui/button/play' },
], ],
}, },
{ text: 'Input', link: '../../src/components/ui/input' }, { text: 'Input', link: '/components/ui/input' },
{ text: 'Popover', link: '../../src/components/ui/popover' }, { text: 'Popover', link: '/components/ui/popover' },
{ text: 'Textarea', link: '../../src/components/ui/textarea' }, { text: 'Textarea', link: '/components/ui/textarea' },
{ text: 'Toggle', link: '../../src/components/ui/toggle' }, { text: 'Toggle', link: '/components/ui/toggle' },
], ],
}, },
{ {
text: 'Layout', link: '../../src/components/ui/layout/', text: 'Layout', link: '/components/ui/layout/',
items: [{ text: "Spacer", link: "../../src/components/ui/layout/spacer" }] items: [{ text: "Spacer", link: "../../src/components/ui/layout/spacer" }]
}, },
{ text: 'Loader', link: '../../src/components/ui/loader' }, { text: 'Loader', link: '/components/ui/loader' },
{ text: 'Modal', link: '../../src/components/ui/modal' }, { text: 'Modal', link: '/components/ui/modal' },
{ text: 'Pill', link: '../../src/components/ui/pill' }, { text: 'Pill', link: '/components/ui/pill' },
], ],
}, },
], ],