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

merge-requests/2805/head
upsiflu 2024-11-26 15:19:19 +01:00
rodzic 6990e80bdc
commit 3b72aca7af
20 zmienionych plików z 24 dodań i 22 usunięć

2
.gitignore vendored
Wyświetl plik

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

Wyświetl plik

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