From 2ef1f20e54c81c98f85d26ed4f53162fecc009f2 Mon Sep 17 00:00:00 2001 From: MivoDev Date: Sun, 18 Jan 2026 11:35:30 +0700 Subject: [PATCH] Update docs structure to root and fix links --- .github/workflows/deploy.yml | 2 +- .../cache/deps/_metadata.json | 0 .../cache/deps/chunk-2CLQ7TTZ.js | 0 .../cache/deps/chunk-2CLQ7TTZ.js.map | 0 .../cache/deps/chunk-LE5NDSFD.js | 0 .../cache/deps/chunk-LE5NDSFD.js.map | 0 .../cache/deps/chunk-PZ5AY32C.js | 0 .../cache/deps/chunk-PZ5AY32C.js.map | 0 .../cache/deps/lucide-vue-next.js | 0 .../cache/deps/lucide-vue-next.js.map | 0 .../cache/deps/package.json | 0 .../deps/vitepress___@vue_devtools-api.js | 0 .../deps/vitepress___@vue_devtools-api.js.map | 0 .../cache/deps/vitepress___@vueuse_core.js | 0 .../deps/vitepress___@vueuse_core.js.map | 0 ...ess___@vueuse_integrations_useFocusTrap.js | 0 ...__@vueuse_integrations_useFocusTrap.js.map | 0 .../vitepress___mark__js_src_vanilla__js.js | 0 ...itepress___mark__js_src_vanilla__js.js.map | 0 .../cache/deps/vitepress___minisearch.js | 0 .../cache/deps/vitepress___minisearch.js.map | 0 .../cache/deps/vue.js | 0 .../cache/deps/vue.js.map | 0 {docs/.vitepress => .vitepress}/config.mts | 8 +- {docs/.vitepress => .vitepress}/config/nav.ts | 8 +- .vitepress/config/sidebars.ts | 146 +++++++++++++++++ .../theme/Layout.vue | 0 .../theme/components/Icon.vue | 0 .../.vitepress => .vitepress}/theme/index.ts | 0 .../.vitepress => .vitepress}/theme/input.css | 0 docs/INSTALLATION.md => INSTALLATION.md | 1 + docs/.vitepress/config/sidebars.ts | 147 ------------------ docs/guide/docker-aapanel.md | 1 + docs/guide/docker.md | 1 + docs/guide/index.md | 7 +- docs/guide/installation.md | 1 + docs/icon-test.md | 1 + docs/manual/index.md | 7 +- docs/manual/router/dashboard.md | 1 + docs/manual/router/hotspot.md | 1 + docs/manual/router/index.md | 9 +- docs/manual/router/quick-print.md | 1 + docs/manual/router/reports.md | 1 + docs/manual/router/tools.md | 1 + docs/manual/settings/api-cors.md | 1 + docs/manual/settings/index.md | 9 +- docs/manual/settings/logos.md | 1 + docs/manual/settings/routers.md | 1 + docs/manual/settings/system.md | 1 + docs/manual/settings/templates.md | 1 + {docs/id => id/docs}/guide/docker-aapanel.md | 1 + {docs/id => id/docs}/guide/docker.md | 1 + {docs/id => id/docs}/guide/index.md | 7 +- {docs/id => id/docs}/guide/installation.md | 1 + {docs/id => id/docs}/manual/index.md | 7 +- .../id => id/docs}/manual/router/dashboard.md | 1 + {docs/id => id/docs}/manual/router/hotspot.md | 1 + {docs/id => id/docs}/manual/router/index.md | 9 +- .../docs}/manual/router/quick-print.md | 1 + {docs/id => id/docs}/manual/router/reports.md | 1 + {docs/id => id/docs}/manual/router/tools.md | 1 + .../docs}/manual/settings/api-cors.md | 1 + {docs/id => id/docs}/manual/settings/index.md | 9 +- {docs/id => id/docs}/manual/settings/logos.md | 1 + .../id => id/docs}/manual/settings/routers.md | 1 + .../id => id/docs}/manual/settings/system.md | 1 + .../docs}/manual/settings/templates.md | 1 + {docs/id => id}/index.md | 1 + docs/index.md => index.md | 1 + package.json | 6 +- {docs/public => public}/CNAME | 0 .../assets/fonts/Geist-Bold.woff2 | Bin .../assets/fonts/Geist-Regular.woff2 | Bin .../assets/fonts/GeistMono-Regular.woff2 | Bin {docs/public => public}/favicon.ico | Bin {docs/public => public}/logo-m-dark.svg | 0 {docs/public => public}/logo-m.svg | 0 {docs/public => public}/logo.png | Bin {docs/public => public}/og-image.png | Bin tailwind.config.js | 4 +- 80 files changed, 227 insertions(+), 188 deletions(-) rename {docs/.vitepress => .vitepress}/cache/deps/_metadata.json (100%) rename {docs/.vitepress => .vitepress}/cache/deps/chunk-2CLQ7TTZ.js (100%) rename {docs/.vitepress => .vitepress}/cache/deps/chunk-2CLQ7TTZ.js.map (100%) rename {docs/.vitepress => .vitepress}/cache/deps/chunk-LE5NDSFD.js (100%) rename {docs/.vitepress => .vitepress}/cache/deps/chunk-LE5NDSFD.js.map (100%) rename {docs/.vitepress => .vitepress}/cache/deps/chunk-PZ5AY32C.js (100%) rename {docs/.vitepress => .vitepress}/cache/deps/chunk-PZ5AY32C.js.map (100%) rename {docs/.vitepress => .vitepress}/cache/deps/lucide-vue-next.js (100%) rename {docs/.vitepress => .vitepress}/cache/deps/lucide-vue-next.js.map (100%) rename {docs/.vitepress => .vitepress}/cache/deps/package.json (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vitepress___@vue_devtools-api.js (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vitepress___@vue_devtools-api.js.map (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vitepress___@vueuse_core.js (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vitepress___@vueuse_core.js.map (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js.map (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vitepress___mark__js_src_vanilla__js.js (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vitepress___mark__js_src_vanilla__js.js.map (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vitepress___minisearch.js (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vitepress___minisearch.js.map (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vue.js (100%) rename {docs/.vitepress => .vitepress}/cache/deps/vue.js.map (100%) rename {docs/.vitepress => .vitepress}/config.mts (85%) rename {docs/.vitepress => .vitepress}/config/nav.ts (82%) create mode 100644 .vitepress/config/sidebars.ts rename {docs/.vitepress => .vitepress}/theme/Layout.vue (100%) rename {docs/.vitepress => .vitepress}/theme/components/Icon.vue (100%) rename {docs/.vitepress => .vitepress}/theme/index.ts (100%) rename {docs/.vitepress => .vitepress}/theme/input.css (100%) rename docs/INSTALLATION.md => INSTALLATION.md (99%) delete mode 100644 docs/.vitepress/config/sidebars.ts rename {docs/id => id/docs}/guide/docker-aapanel.md (99%) rename {docs/id => id/docs}/guide/docker.md (99%) rename {docs/id => id/docs}/guide/index.md (71%) rename {docs/id => id/docs}/guide/installation.md (99%) rename {docs/id => id/docs}/manual/index.md (88%) rename {docs/id => id/docs}/manual/router/dashboard.md (99%) rename {docs/id => id/docs}/manual/router/hotspot.md (99%) rename {docs/id => id/docs}/manual/router/index.md (61%) rename {docs/id => id/docs}/manual/router/quick-print.md (99%) rename {docs/id => id/docs}/manual/router/reports.md (99%) rename {docs/id => id/docs}/manual/router/tools.md (99%) rename {docs/id => id/docs}/manual/settings/api-cors.md (99%) rename {docs/id => id/docs}/manual/settings/index.md (59%) rename {docs/id => id/docs}/manual/settings/logos.md (99%) rename {docs/id => id/docs}/manual/settings/routers.md (99%) rename {docs/id => id/docs}/manual/settings/system.md (99%) rename {docs/id => id/docs}/manual/settings/templates.md (99%) rename {docs/id => id}/index.md (99%) rename docs/index.md => index.md (99%) rename {docs/public => public}/CNAME (100%) rename {docs/public => public}/assets/fonts/Geist-Bold.woff2 (100%) rename {docs/public => public}/assets/fonts/Geist-Regular.woff2 (100%) rename {docs/public => public}/assets/fonts/GeistMono-Regular.woff2 (100%) rename {docs/public => public}/favicon.ico (100%) rename {docs/public => public}/logo-m-dark.svg (100%) rename {docs/public => public}/logo-m.svg (100%) rename {docs/public => public}/logo.png (100%) rename {docs/public => public}/og-image.png (100%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ae78f1e..9cfadb0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,7 +37,7 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: docs/.vitepress/dist + path: .vitepress/dist deploy: environment: diff --git a/docs/.vitepress/cache/deps/_metadata.json b/.vitepress/cache/deps/_metadata.json similarity index 100% rename from docs/.vitepress/cache/deps/_metadata.json rename to .vitepress/cache/deps/_metadata.json diff --git a/docs/.vitepress/cache/deps/chunk-2CLQ7TTZ.js b/.vitepress/cache/deps/chunk-2CLQ7TTZ.js similarity index 100% rename from docs/.vitepress/cache/deps/chunk-2CLQ7TTZ.js rename to .vitepress/cache/deps/chunk-2CLQ7TTZ.js diff --git a/docs/.vitepress/cache/deps/chunk-2CLQ7TTZ.js.map b/.vitepress/cache/deps/chunk-2CLQ7TTZ.js.map similarity index 100% rename from docs/.vitepress/cache/deps/chunk-2CLQ7TTZ.js.map rename to .vitepress/cache/deps/chunk-2CLQ7TTZ.js.map diff --git a/docs/.vitepress/cache/deps/chunk-LE5NDSFD.js b/.vitepress/cache/deps/chunk-LE5NDSFD.js similarity index 100% rename from docs/.vitepress/cache/deps/chunk-LE5NDSFD.js rename to .vitepress/cache/deps/chunk-LE5NDSFD.js diff --git a/docs/.vitepress/cache/deps/chunk-LE5NDSFD.js.map b/.vitepress/cache/deps/chunk-LE5NDSFD.js.map similarity index 100% rename from docs/.vitepress/cache/deps/chunk-LE5NDSFD.js.map rename to .vitepress/cache/deps/chunk-LE5NDSFD.js.map diff --git a/docs/.vitepress/cache/deps/chunk-PZ5AY32C.js b/.vitepress/cache/deps/chunk-PZ5AY32C.js similarity index 100% rename from docs/.vitepress/cache/deps/chunk-PZ5AY32C.js rename to .vitepress/cache/deps/chunk-PZ5AY32C.js diff --git a/docs/.vitepress/cache/deps/chunk-PZ5AY32C.js.map b/.vitepress/cache/deps/chunk-PZ5AY32C.js.map similarity index 100% rename from docs/.vitepress/cache/deps/chunk-PZ5AY32C.js.map rename to .vitepress/cache/deps/chunk-PZ5AY32C.js.map diff --git a/docs/.vitepress/cache/deps/lucide-vue-next.js b/.vitepress/cache/deps/lucide-vue-next.js similarity index 100% rename from docs/.vitepress/cache/deps/lucide-vue-next.js rename to .vitepress/cache/deps/lucide-vue-next.js diff --git a/docs/.vitepress/cache/deps/lucide-vue-next.js.map b/.vitepress/cache/deps/lucide-vue-next.js.map similarity index 100% rename from docs/.vitepress/cache/deps/lucide-vue-next.js.map rename to .vitepress/cache/deps/lucide-vue-next.js.map diff --git a/docs/.vitepress/cache/deps/package.json b/.vitepress/cache/deps/package.json similarity index 100% rename from docs/.vitepress/cache/deps/package.json rename to .vitepress/cache/deps/package.json diff --git a/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js b/.vitepress/cache/deps/vitepress___@vue_devtools-api.js similarity index 100% rename from docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js rename to .vitepress/cache/deps/vitepress___@vue_devtools-api.js diff --git a/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map b/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map similarity index 100% rename from docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map rename to .vitepress/cache/deps/vitepress___@vue_devtools-api.js.map diff --git a/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js b/.vitepress/cache/deps/vitepress___@vueuse_core.js similarity index 100% rename from docs/.vitepress/cache/deps/vitepress___@vueuse_core.js rename to .vitepress/cache/deps/vitepress___@vueuse_core.js diff --git a/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js.map b/.vitepress/cache/deps/vitepress___@vueuse_core.js.map similarity index 100% rename from docs/.vitepress/cache/deps/vitepress___@vueuse_core.js.map rename to .vitepress/cache/deps/vitepress___@vueuse_core.js.map diff --git a/docs/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js b/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js similarity index 100% rename from docs/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js rename to .vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js diff --git a/docs/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js.map b/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js.map similarity index 100% rename from docs/.vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js.map rename to .vitepress/cache/deps/vitepress___@vueuse_integrations_useFocusTrap.js.map diff --git a/docs/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js b/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js similarity index 100% rename from docs/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js rename to .vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js diff --git a/docs/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js.map b/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js.map similarity index 100% rename from docs/.vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js.map rename to .vitepress/cache/deps/vitepress___mark__js_src_vanilla__js.js.map diff --git a/docs/.vitepress/cache/deps/vitepress___minisearch.js b/.vitepress/cache/deps/vitepress___minisearch.js similarity index 100% rename from docs/.vitepress/cache/deps/vitepress___minisearch.js rename to .vitepress/cache/deps/vitepress___minisearch.js diff --git a/docs/.vitepress/cache/deps/vitepress___minisearch.js.map b/.vitepress/cache/deps/vitepress___minisearch.js.map similarity index 100% rename from docs/.vitepress/cache/deps/vitepress___minisearch.js.map rename to .vitepress/cache/deps/vitepress___minisearch.js.map diff --git a/docs/.vitepress/cache/deps/vue.js b/.vitepress/cache/deps/vue.js similarity index 100% rename from docs/.vitepress/cache/deps/vue.js rename to .vitepress/cache/deps/vue.js diff --git a/docs/.vitepress/cache/deps/vue.js.map b/.vitepress/cache/deps/vue.js.map similarity index 100% rename from docs/.vitepress/cache/deps/vue.js.map rename to .vitepress/cache/deps/vue.js.map diff --git a/docs/.vitepress/config.mts b/.vitepress/config.mts similarity index 85% rename from docs/.vitepress/config.mts rename to .vitepress/config.mts index 1b6e3d4..2bf228a 100644 --- a/docs/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -9,7 +9,7 @@ export default defineConfig({ cleanUrls: true, lastUpdated: true, sitemap: { - hostname: 'https://docs.mivo.dyzulk.com' + hostname: 'https://mivodev.github.io' }, head: [ @@ -17,16 +17,16 @@ export default defineConfig({ ['meta', { name: 'theme-color', content: '#0ea5e9' }], ['meta', { property: 'og:type', content: 'website' }], ['meta', { property: 'og:site_name', content: 'MIVO' }], - ['meta', { property: 'og:image', content: 'https://docs.mivo.dyzulk.com/og-image.png' }], + ['meta', { property: 'og:image', content: 'https://mivodev.github.io/og-image.png' }], ['meta', { name: 'twitter:card', content: 'summary_large_image' }], - ['meta', { name: 'twitter:image', content: 'https://docs.mivo.dyzulk.com/og-image.png' }], + ['meta', { name: 'twitter:image', content: 'https://mivodev.github.io/og-image.png' }], ['meta', { name: 'twitter:site', content: '@dyzulkdev' }] ], transformHead: ({ pageData }) => { const title = pageData.title ? `${pageData.title} | MIVO` : 'MIVO' const description = pageData.description || "Modern Mikrotik Voucher Management System" - const url = `https://docs.mivo.dyzulk.com/${pageData.relativePath.replace(/((^|\/)index)?\.md$/, '$2')}` + const url = `https://mivodev.github.io/${pageData.relativePath.replace(/((^|\/)index)?\.md$/, '$2')}` return [ ['meta', { property: 'og:title', content: title }], diff --git a/docs/.vitepress/config/nav.ts b/.vitepress/config/nav.ts similarity index 82% rename from docs/.vitepress/config/nav.ts rename to .vitepress/config/nav.ts index a361b62..3bd601c 100644 --- a/docs/.vitepress/config/nav.ts +++ b/.vitepress/config/nav.ts @@ -2,8 +2,8 @@ import { DefaultTheme } from 'vitepress' export const navEn: DefaultTheme.NavItem[] = [ { text: 'Home', link: '/' }, - { text: 'Guide', link: '/guide/installation' }, - { text: 'Manual', link: '/manual/' }, + { text: 'Guide', link: '/docs/guide/installation' }, + { text: 'Manual', link: '/docs/manual/' }, { text: 'Community', items: [ @@ -17,8 +17,8 @@ export const navEn: DefaultTheme.NavItem[] = [ export const navId: DefaultTheme.NavItem[] = [ { text: 'Beranda', link: '/id/' }, - { text: 'Panduan', link: '/id/guide/installation' }, - { text: 'Buku Manual', link: '/id/manual/' }, + { text: 'Panduan', link: '/id/docs/guide/installation' }, + { text: 'Buku Manual', link: '/id/docs/manual/' }, { text: 'Komunitas', items: [ diff --git a/.vitepress/config/sidebars.ts b/.vitepress/config/sidebars.ts new file mode 100644 index 0000000..322b90f --- /dev/null +++ b/.vitepress/config/sidebars.ts @@ -0,0 +1,146 @@ +import { DefaultTheme } from 'vitepress' + +// English Sidebars +export const sidebarEn: DefaultTheme.Sidebar = { + // Sidebar for /docs/guide/ path + '/docs/guide/': [ + { + text: 'Getting Started', + collapsed: false, + items: [ + { text: 'Introduction', link: '/docs/guide/' }, + { text: 'Requirements', link: '/docs/guide/installation#requirements' } + ] + }, + { + text: 'Installation', + collapsed: false, + items: [ + { text: 'Docker', link: '/docs/guide/docker' }, + { text: 'aaPanel (Docker)', link: '/docs/guide/docker-aapanel' }, + { text: 'Web Server', link: '/docs/guide/installation#web-servers' }, + { text: 'Shared Hosting', link: '/docs/guide/installation#shared-hosting' }, + { text: 'VPS & Cloud', link: '/docs/guide/installation#vps-cloud' }, + { text: 'Mobile & STB', link: '/docs/guide/installation#mobile-stb' } + ] + }, + { + text: 'Configuration', + items: [ + { text: 'Post-Installation', link: '/docs/guide/installation#post-installation' } + ] + }, + { + text: 'Support', + items: [ + { text: 'Contribution', link: 'https://github.com/dyzulk/mivo/blob/main/CONTRIBUTING.md' }, + { text: 'Donate', link: 'https://sociabuzz.com/dyzulkdev/tribe' } + ] + } + ], + + // Sidebar for /docs/manual/ path + '/docs/manual/': [ + { + text: 'User Manual', + items: [ + { text: 'Overview', link: '/docs/manual/' } + ] + }, + { + text: 'Global Settings', + items: [ + { text: 'Introduction', link: '/docs/manual/settings/' }, + { text: 'Routers', link: '/docs/manual/settings/routers' }, + { text: 'Templates', link: '/docs/manual/settings/templates' }, + { text: 'Logos', link: '/docs/manual/settings/logos' }, + { text: 'API & CORS', link: '/docs/manual/settings/api-cors' }, + { text: 'System', link: '/docs/manual/settings/system' } + ] + }, + { + text: 'Router Operations', + items: [ + { text: 'Introduction', link: '/docs/manual/router/' }, + { text: 'Dashboard', link: '/docs/manual/router/dashboard' }, + { text: 'Quick Print', link: '/docs/manual/router/quick-print' }, + { text: 'Hotspot Management', link: '/docs/manual/router/hotspot' }, + { text: 'Reports & Logs', link: '/docs/manual/router/reports' }, + { text: 'Network & System', link: '/docs/manual/router/tools' } + ] + } + ] +} + +// Indonesian Sidebars +export const sidebarId: DefaultTheme.Sidebar = { + // Sidebar for /id/docs/guide/ path + '/id/docs/guide/': [ + { + text: 'Pengenalan', + collapsed: false, + items: [ + { text: 'Apa itu MIVO?', link: '/id/docs/guide/' }, + { text: 'Persyaratan', link: '/id/docs/guide/installation#persyaratan' } + ] + }, + { + text: 'Instalasi', + collapsed: false, + items: [ + { text: 'Docker', link: '/id/docs/guide/docker' }, + { text: 'aaPanel (Docker)', link: '/id/docs/guide/docker-aapanel' }, + { text: 'Web Server', link: '/id/docs/guide/installation#web-server' }, + { text: 'Shared Hosting', link: '/id/docs/guide/installation#shared-hosting' }, + { text: 'VPS & Cloud', link: '/id/docs/guide/installation#vps-cloud' }, + { text: 'Mobile & STB', link: '/id/docs/guide/installation#mobile-stb' } + ] + }, + { + text: 'Konfigurasi', + items: [ + { text: 'Pasca-Instalasi', link: '/id/docs/guide/installation#pasca-instalasi' } + ] + }, + { + text: 'Dukungan', + items: [ + { text: 'Kontribusi', link: 'https://github.com/dyzulk/mivo/blob/main/CONTRIBUTING.md' }, + { text: 'Donasi', link: 'https://sociabuzz.com/dyzulkdev/tribe' } + ] + } + ], + + + // Sidebar for /id/docs/manual/ path + '/id/docs/manual/': [ + { + text: 'Buku Manual', + items: [ + { text: 'Ringkasan', link: '/id/docs/manual/' } + ] + }, + { + text: 'Pengaturan Global', + items: [ + { text: 'Pendahuluan', link: '/id/docs/manual/settings/' }, + { text: 'Router', link: '/id/docs/manual/settings/routers' }, + { text: 'Template', link: '/id/docs/manual/settings/templates' }, + { text: 'Logo', link: '/id/docs/manual/settings/logos' }, + { text: 'API & CORS', link: '/id/docs/manual/settings/api-cors' }, + { text: 'Sistem', link: '/id/docs/manual/settings/system' } + ] + }, + { + text: 'Operasional Router', + items: [ + { text: 'Pendahuluan', link: '/id/docs/manual/router/' }, + { text: 'Dashboard', link: '/id/docs/manual/router/dashboard' }, + { text: 'Cetak Cepat', link: '/id/docs/manual/router/quick-print' }, + { text: 'Manajemen Hotspot', link: '/id/docs/manual/router/hotspot' }, + { text: 'Laporan & Log', link: '/id/docs/manual/router/reports' }, + { text: 'Jaringan & Sistem', link: '/id/docs/manual/router/tools' } + ] + } + ] +} diff --git a/docs/.vitepress/theme/Layout.vue b/.vitepress/theme/Layout.vue similarity index 100% rename from docs/.vitepress/theme/Layout.vue rename to .vitepress/theme/Layout.vue diff --git a/docs/.vitepress/theme/components/Icon.vue b/.vitepress/theme/components/Icon.vue similarity index 100% rename from docs/.vitepress/theme/components/Icon.vue rename to .vitepress/theme/components/Icon.vue diff --git a/docs/.vitepress/theme/index.ts b/.vitepress/theme/index.ts similarity index 100% rename from docs/.vitepress/theme/index.ts rename to .vitepress/theme/index.ts diff --git a/docs/.vitepress/theme/input.css b/.vitepress/theme/input.css similarity index 100% rename from docs/.vitepress/theme/input.css rename to .vitepress/theme/input.css diff --git a/docs/INSTALLATION.md b/INSTALLATION.md similarity index 99% rename from docs/INSTALLATION.md rename to INSTALLATION.md index 681bf6a..350f437 100644 --- a/docs/INSTALLATION.md +++ b/INSTALLATION.md @@ -134,3 +134,4 @@ After setting up the server: Run `php mivo install` in your terminal. * **Option B: Web Installer** Open `http://your-domain.com/install` in your browser. + diff --git a/docs/.vitepress/config/sidebars.ts b/docs/.vitepress/config/sidebars.ts deleted file mode 100644 index 6766e6d..0000000 --- a/docs/.vitepress/config/sidebars.ts +++ /dev/null @@ -1,147 +0,0 @@ -import { DefaultTheme } from 'vitepress' - -// English Sidebars -export const sidebarEn: DefaultTheme.Sidebar = { - // Sidebar for /guide/ path - '/guide/': [ - { - text: 'Getting Started', - collapsed: false, - items: [ - { text: 'Introduction', link: '/guide/' }, - { text: 'Requirements', link: '/guide/installation#requirements' } - ] - }, - { - text: 'Installation', - collapsed: false, - items: [ - { text: 'Docker', link: '/guide/docker' }, - { text: 'aaPanel (Docker)', link: '/guide/docker-aapanel' }, - { text: 'Web Server', link: '/guide/installation#web-servers' }, - { text: 'Shared Hosting', link: '/guide/installation#shared-hosting' }, - { text: 'VPS & Cloud', link: '/guide/installation#vps-cloud' }, - { text: 'Mobile & STB', link: '/guide/installation#mobile-stb' } - ] - }, - { - text: 'Configuration', - items: [ - { text: 'Post-Installation', link: '/guide/installation#post-installation' } - ] - }, - { - text: 'Support', - items: [ - { text: 'Contribution', link: 'https://github.com/dyzulk/mivo/blob/main/CONTRIBUTING.md' }, - { text: 'Donate', link: 'https://sociabuzz.com/dyzulkdev/tribe' } - ] - } - ], - - // Sidebar for /manual/ path - '/manual/': [ - { - text: 'User Manual', - items: [ - { text: 'Overview', link: '/manual/' } - ] - }, - { - text: 'Global Settings', - items: [ - { text: 'Introduction', link: '/manual/settings/' }, - { text: 'Routers', link: '/manual/settings/routers' }, - { text: 'Templates', link: '/manual/settings/templates' }, - { text: 'Logos', link: '/manual/settings/logos' }, - { text: 'API & CORS', link: '/manual/settings/api-cors' }, - { text: 'System', link: '/manual/settings/system' } - ] - }, - { - text: 'Router Operations', - items: [ - { text: 'Introduction', link: '/manual/router/' }, - { text: 'Dashboard', link: '/manual/router/dashboard' }, - { text: 'Quick Print', link: '/manual/router/quick-print' }, - { text: 'Hotspot Management', link: '/manual/router/hotspot' }, - { text: 'Reports & Logs', link: '/manual/router/reports' }, - { text: 'Network & System', link: '/manual/router/tools' } - ] - } - ] -} - -// Indonesian Sidebars -export const sidebarId: DefaultTheme.Sidebar = { - // Sidebar for /id/guide/ path - '/id/guide/': [ - { - text: 'Pengenalan', - collapsed: false, - items: [ - { text: 'Apa itu MIVO?', link: '/id/guide/' }, - { text: 'Persyaratan', link: '/id/guide/installation#persyaratan' } - ] - }, - { - text: 'Instalasi', - collapsed: false, - items: [ - { text: 'Docker', link: '/id/guide/docker' }, - { text: 'aaPanel (Docker)', link: '/id/guide/docker-aapanel' }, - { text: 'Web Server', link: '/id/guide/installation#web-server' }, - { text: 'Shared Hosting', link: '/id/guide/installation#shared-hosting' }, - { text: 'VPS & Cloud', link: '/id/guide/installation#vps-cloud' }, - { text: 'Mobile & STB', link: '/id/guide/installation#mobile-stb' } - ] - }, - { - text: 'Konfigurasi', - items: [ - { text: 'Pasca-Instalasi', link: '/id/guide/installation#pasca-instalasi' } - ] - }, - { - text: 'Dukungan', - items: [ - { text: 'Kontribusi', link: 'https://github.com/dyzulk/mivo/blob/main/CONTRIBUTING.md' }, - { text: 'Donasi', link: 'https://sociabuzz.com/dyzulkdev/tribe' } - ] - } - ], - - - // Sidebar for /id/manual/ path - '/id/manual/': [ - { - text: 'Buku Manual', - items: [ - { text: 'Ringkasan', link: '/id/manual/' } - ] - }, - { - text: 'Pengaturan Global', - items: [ - { text: 'Pendahuluan', link: '/id/manual/settings/' }, - { text: 'Router', link: '/id/manual/settings/routers' }, - { text: 'Template', link: '/id/manual/settings/templates' }, - { text: 'Logo', link: '/id/manual/settings/logos' }, - { text: 'API & CORS', link: '/id/manual/settings/api-cors' }, - { text: 'Sistem', link: '/id/manual/settings/system' } - ] - }, - { - text: 'Operasional Router', - items: [ - { text: 'Pendahuluan', link: '/id/manual/router/' }, - { text: 'Dashboard', link: '/id/manual/router/dashboard' }, - { text: 'Cetak Cepat', link: '/id/manual/router/quick-print' }, - { text: 'Manajemen Hotspot', link: '/id/manual/router/hotspot' }, - { text: 'Laporan & Log', link: '/id/manual/router/reports' }, - { text: 'Jaringan & Sistem', link: '/id/manual/router/tools' } - ] - } - ] -} - diff --git a/docs/guide/docker-aapanel.md b/docs/guide/docker-aapanel.md index e7f4460..1fae4b5 100644 --- a/docs/guide/docker-aapanel.md +++ b/docs/guide/docker-aapanel.md @@ -102,3 +102,4 @@ To access MIVO via a domain (e.g., `mivo.yourdomain.com`): 4. After creation, open the site settings > **Reverse Proxy** > **Add Reverse Proxy**. 5. **Target URL**: `http://127.0.0.1:8085` (Replace `8085` with your `APP_PORT`). 6. Save and secure with SSL. + diff --git a/docs/guide/docker.md b/docs/guide/docker.md index 0b80ca7..d769979 100644 --- a/docs/guide/docker.md +++ b/docs/guide/docker.md @@ -76,3 +76,4 @@ If you find MIVO useful, please consider supporting its development. Your contri --- *Created with by MivoDev* + diff --git a/docs/guide/index.md b/docs/guide/index.md index 59f5111..bd31e22 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -14,10 +14,11 @@ MIVO is a modern, lightweight Mikrotik Voucher Management system. It is designed Explore the following sections to get started: -- **[Installation Guide](/guide/installation)**: Learn how to install MIVO on various platforms. -- **[Docker Guide](/guide/docker)**: The recommended way to run MIVO using containers. -- **[Manual](/manual/)**: Detailed instructions on how to use MIVO features. +- **[Installation Guide](/docs/guide/installation)**: Learn how to install MIVO on various platforms. +- **[Docker Guide](/docs/guide/docker)**: The recommended way to run MIVO using containers. +- **[Manual](/docs/manual/)**: Detailed instructions on how to use MIVO features. ## Support MIVO is an open-source project. If you find it useful, please consider supporting the development through [donations](https://sociabuzz.com/dyzulkdev/tribe) or [contributing](https://github.com/dyzulk/mivo) to the codebase. + diff --git a/docs/guide/installation.md b/docs/guide/installation.md index a739ec2..86639e6 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -135,3 +135,4 @@ After setting up the server: * **Option B: Web Installer** Open `http://your-domain.com/install` in your browser. + diff --git a/docs/icon-test.md b/docs/icon-test.md index 25699a3..b9bfeea 100644 --- a/docs/icon-test.md +++ b/docs/icon-test.md @@ -31,3 +31,4 @@ Using standard `flag-icons` CSS classes: Bahasa Indonesia + diff --git a/docs/manual/index.md b/docs/manual/index.md index 5152107..94f968d 100644 --- a/docs/manual/index.md +++ b/docs/manual/index.md @@ -8,14 +8,14 @@ Welcome to the **MIVO User Manual**. This section covers the functional aspects ## Topics -### [Global Settings](/manual/settings/) +### [Global Settings](/docs/manual/settings/) Configure your system-wide settings: - **Managing Routers**: Connect and manage your Mikrotik devices. - **Voucher Templates**: Design and customize your voucher layouts. - **Brand Logos**: Upload custom logos for your hotspot. - **API & CORS**: Securely expose your router data to 3rd party apps. -### [Router Operations](/manual/router/) +### [Router Operations](/docs/manual/router/) Manage your everyday router tasks after connecting: - **Dashboard**: Monitor real-time traffic and system health. - **Hotspot Management**: Create users, profiles, and generate vouchers. @@ -25,5 +25,6 @@ Manage your everyday router tasks after connecting: --- > [!TIP] -> This manual focuses on **using** the application. For installation and server configuration, please refer to the [Guide](/guide/installation). +> This manual focuses on **using** the application. For installation and server configuration, please refer to the [Guide](/docs/guide/installation). + diff --git a/docs/manual/router/dashboard.md b/docs/manual/router/dashboard.md index c872a4c..f1a80ae 100644 --- a/docs/manual/router/dashboard.md +++ b/docs/manual/router/dashboard.md @@ -26,3 +26,4 @@ A quick summary of currently authenticated users: > [!TIP] > Keep the Dashboard open during peak hours to monitor for congestion or unauthorized access attempts. + diff --git a/docs/manual/router/hotspot.md b/docs/manual/router/hotspot.md index 56396e4..d9bfac8 100644 --- a/docs/manual/router/hotspot.md +++ b/docs/manual/router/hotspot.md @@ -38,3 +38,4 @@ Advanced settings for network access without typical voucher requirements. - **IP Bindings**: Bypass the hotspot login for specific MAC or IP addresses (e.g., for office printers or servers). - **Walled Garden**: Allow access to specific websites or domains (e.g., your bank's portal) even before users log in. + diff --git a/docs/manual/router/index.md b/docs/manual/router/index.md index 3b679e2..9545b35 100644 --- a/docs/manual/router/index.md +++ b/docs/manual/router/index.md @@ -6,11 +6,12 @@ Router operations are session-specific tasks performed once connected to a Mikro Once you select a session from the sidebar, you gain access to these tools: -- **[Dashboard](/manual/router/dashboard)**: Real-time traffic monitoring. -- **[Hotspot Management](/manual/router/hotspot)**: Users, Profiles, and Vouchers. -- **[Reports](/manual/router/reports)**: Sales reports and system logs. -- **[System Tools](/manual/router/tools)**: Reboot, Scheduler, and DHCP. +- **[Dashboard](/docs/manual/router/dashboard)**: Real-time traffic monitoring. +- **[Hotspot Management](/docs/manual/router/hotspot)**: Users, Profiles, and Vouchers. +- **[Reports](/docs/manual/router/reports)**: Sales reports and system logs. +- **[System Tools](/docs/manual/router/tools)**: Reboot, Scheduler, and DHCP. ## Real-time Sync MIVO communicates directly with your Mikrotik API. Most changes take effect immediately on your device. + diff --git a/docs/manual/router/quick-print.md b/docs/manual/router/quick-print.md index cf341c2..02f8e98 100644 --- a/docs/manual/router/quick-print.md +++ b/docs/manual/router/quick-print.md @@ -25,3 +25,4 @@ Deleting a packet here only removes it from the Quick Print dashboard; it does * 2. **MIVO** creates a random username/password account on the Mikrotik. 3. **MIVO** fetches the assigned template and sends it to the browser's print engine. + diff --git a/docs/manual/router/reports.md b/docs/manual/router/reports.md index 8264e10..fe6bacb 100644 --- a/docs/manual/router/reports.md +++ b/docs/manual/router/reports.md @@ -26,3 +26,4 @@ Monitor real-time events from your Mikrotik router (`/reports/user-log`). > [!NOTE] > MIVO fetches these logs directly from the Mikrotik circular buffer. Clear your logs on the Mikrotik terminal if the buffer becomes too large. + diff --git a/docs/manual/router/tools.md b/docs/manual/router/tools.md index 4f652cd..fbf7f59 100644 --- a/docs/manual/router/tools.md +++ b/docs/manual/router/tools.md @@ -24,3 +24,4 @@ Directly trigger system-level commands from the MIVO interface: > [!WARNING] > These actions are executed immediately on your Mikrotik router. Ensure no critical operations are running before rebooting. + diff --git a/docs/manual/settings/api-cors.md b/docs/manual/settings/api-cors.md index c9e4b5e..131bd87 100644 --- a/docs/manual/settings/api-cors.md +++ b/docs/manual/settings/api-cors.md @@ -13,3 +13,4 @@ To allow your website (e.g., a status checker) to call the MIVO API, you must wh ## Documentation Detailed API documentation is available in the developers section. + diff --git a/docs/manual/settings/index.md b/docs/manual/settings/index.md index 88129a1..1e5563f 100644 --- a/docs/manual/settings/index.md +++ b/docs/manual/settings/index.md @@ -6,11 +6,12 @@ Global settings control your MIVO instance across all sessions. These are system Access these settings from the top-right menu or the main sidebar. -- **[Routers](/manual/settings/routers)**: Manage your Mikrotik connections. -- **[Templates](/manual/settings/templates)**: Customize voucher designs. -- **[Logos](/manual/settings/logos)**: Upload brand logos. -- **[API & CORS](/manual/settings/api-cors)**: Configure API access. +- **[Routers](/docs/manual/settings/routers)**: Manage your Mikrotik connections. +- **[Templates](/docs/manual/settings/templates)**: Customize voucher designs. +- **[Logos](/docs/manual/settings/logos)**: Upload brand logos. +- **[API & CORS](/docs/manual/settings/api-cors)**: Configure API access. ## Administration You can also manage your MIVO administrators and general system behavior (Timezones, Language) here. + diff --git a/docs/manual/settings/logos.md b/docs/manual/settings/logos.md index 174ddec..2e31ceb 100644 --- a/docs/manual/settings/logos.md +++ b/docs/manual/settings/logos.md @@ -27,3 +27,4 @@ You can delete unused logos at any time. > [!WARNING] > Deleting a logo will cause any voucher templates referencing its ID to show a broken image placeholder. + diff --git a/docs/manual/settings/routers.md b/docs/manual/settings/routers.md index 0d882c5..b272eb2 100644 --- a/docs/manual/settings/routers.md +++ b/docs/manual/settings/routers.md @@ -26,3 +26,4 @@ Protect your configuration by creating backups of your MIVO database. > [!CAUTION] > Restoring a backup will overwrite your current settings and sessions. + diff --git a/docs/manual/settings/system.md b/docs/manual/settings/system.md index a92a4f4..84e4ed3 100644 --- a/docs/manual/settings/system.md +++ b/docs/manual/settings/system.md @@ -18,3 +18,4 @@ Adjust the environment settings for the entire application: ## Security MIVO uses session-based authentication. Ensure you log out when using public terminals. + diff --git a/docs/manual/settings/templates.md b/docs/manual/settings/templates.md index 282533a..7c2e9ee 100644 --- a/docs/manual/settings/templates.md +++ b/docs/manual/settings/templates.md @@ -12,3 +12,4 @@ Templates use HTML and specialized placeholders to display voucher data. ## Quick Print Once a template is saved, it becomes available in the **Quick Print** menu within your router sessions. + diff --git a/docs/id/guide/docker-aapanel.md b/id/docs/guide/docker-aapanel.md similarity index 99% rename from docs/id/guide/docker-aapanel.md rename to id/docs/guide/docker-aapanel.md index 94e34ef..0fd75ad 100644 --- a/docs/id/guide/docker-aapanel.md +++ b/id/docs/guide/docker-aapanel.md @@ -102,3 +102,4 @@ Agar MIVO bisa diakses menggunakan domain (contoh: `mivo.domainanda.com`): 4. Setelah site dibuat, buka settingannya > **Reverse Proxy** > **Add Reverse Proxy**. 5. **Target URL**: `http://127.0.0.1:8085` (Ganti `8085` sesuai dengan `APP_PORT` Anda). 6. Simpan dan aktifkan SSL agar lebih aman. + diff --git a/docs/id/guide/docker.md b/id/docs/guide/docker.md similarity index 99% rename from docs/id/guide/docker.md rename to id/docs/guide/docker.md index dbfd3e4..7a8f463 100644 --- a/docs/id/guide/docker.md +++ b/id/docs/guide/docker.md @@ -75,3 +75,4 @@ Jika Anda merasa MIVO bermanfaat, harap pertimbangkan untuk mendukung pengembang --- *Dibuat dengan oleh MivoDev* + diff --git a/docs/id/guide/index.md b/id/docs/guide/index.md similarity index 71% rename from docs/id/guide/index.md rename to id/docs/guide/index.md index 5890ad6..cb1a9fc 100644 --- a/docs/id/guide/index.md +++ b/id/docs/guide/index.md @@ -14,10 +14,11 @@ MIVO adalah sistem Manajemen Voucher Mikrotik yang modern dan ringan. Sistem ini Jelajahi bagian berikut untuk memulai: -- **[Panduan Instalasi](/id/guide/installation)**: Pelajari cara menginstal MIVO di berbagai platform. -- **[Panduan Docker](/id/guide/docker)**: Cara yang direkomendasikan untuk menjalankan MIVO menggunakan container. -- **[Buku Manual](/id/manual/)**: Instruksi detail tentang cara menggunakan fitur-fitur MIVO. +- **[Panduan Instalasi](/id/docs/guide/installation)**: Pelajari cara menginstal MIVO di berbagai platform. +- **[Panduan Docker](/id/docs/guide/docker)**: Cara yang direkomendasikan untuk menjalankan MIVO menggunakan container. +- **[Buku Manual](/id/docs/manual/)**: Instruksi detail tentang cara menggunakan fitur-fitur MIVO. ## Dukungan MIVO adalah proyek open-source. Jika Anda merasa MIVO bermanfaat, harap pertimbangkan untuk mendukung pengembangannya melalui [donasi](https://sociabuzz.com/dyzulkdev/tribe) atau [berkontribusi](https://github.com/dyzulk/mivo) langsung ke kode program. + diff --git a/docs/id/guide/installation.md b/id/docs/guide/installation.md similarity index 99% rename from docs/id/guide/installation.md rename to id/docs/guide/installation.md index 0eb2877..224ff68 100644 --- a/docs/id/guide/installation.md +++ b/id/docs/guide/installation.md @@ -119,3 +119,4 @@ Setelah menyiapkan server: * **Opsi B: Web Installer** Buka `http://domain-anda.com/install` di browser. + diff --git a/docs/id/manual/index.md b/id/docs/manual/index.md similarity index 88% rename from docs/id/manual/index.md rename to id/docs/manual/index.md index 0fa40f8..4c776c9 100644 --- a/docs/id/manual/index.md +++ b/id/docs/manual/index.md @@ -8,14 +8,14 @@ Selamat datang di **Buku Panduan MIVO**. Bagian ini mencakup aspek fungsional pe ## Topik -### [Pengaturan Global](/id/manual/settings/) +### [Pengaturan Global](/id/docs/manual/settings/) Konfigurasikan pengaturan tingkat sistem: - **Manajemen Router**: Hubungkan dan kelola perangkat Mikrotik Anda. - **Template Voucher**: Desain dan sesuaikan tata letak voucher Anda. - **Logo Brand**: Unggah logo khusus untuk hotspot Anda. - **API & CORS**: Ekspos data router Anda dengan aman ke aplikasi pihak ketiga. -### [Operasional Router](/id/manual/router/) +### [Operasional Router](/id/docs/manual/router/) Kelola tugas harian router Anda setelah terhubung: - **Dashboard**: Pantau traffic real-time dan kesehatan sistem. - **Manajemen Hotspot**: Buat user, profil, dan generate voucher. @@ -25,5 +25,6 @@ Kelola tugas harian router Anda setelah terhubung: --- > [!TIP] -> Panduan ini fokus pada **penggunaan** aplikasi. Untuk instalasi dan konfigurasi server, silakan merujuk ke [Panduan](/id/guide/installation). +> Panduan ini fokus pada **penggunaan** aplikasi. Untuk instalasi dan konfigurasi server, silakan merujuk ke [Panduan](/id/docs/guide/installation). + diff --git a/docs/id/manual/router/dashboard.md b/id/docs/manual/router/dashboard.md similarity index 99% rename from docs/id/manual/router/dashboard.md rename to id/docs/manual/router/dashboard.md index 5d3e2c1..fbd5041 100644 --- a/docs/id/manual/router/dashboard.md +++ b/id/docs/manual/router/dashboard.md @@ -26,3 +26,4 @@ Ringkasan cepat pengguna yang saat ini terautentikasi: > [!TIP] > Biarkan Dashboard tetap terbuka selama jam sibuk untuk memantau kepadatan atau upaya akses yang tidak sah. + diff --git a/docs/id/manual/router/hotspot.md b/id/docs/manual/router/hotspot.md similarity index 99% rename from docs/id/manual/router/hotspot.md rename to id/docs/manual/router/hotspot.md index 59d7583..95ae9ec 100644 --- a/docs/id/manual/router/hotspot.md +++ b/id/docs/manual/router/hotspot.md @@ -38,3 +38,4 @@ Pengaturan lanjutan untuk akses jaringan tanpa persyaratan voucher biasa. - **IP Bindings**: Lewati login hotspot untuk alamat MAC atau IP tertentu (contoh: untuk printer kantor atau server). - **Walled Garden**: Izinkan akses ke situs web atau domain tertentu (contoh: portal bank Anda) bahkan sebelum user login. + diff --git a/docs/id/manual/router/index.md b/id/docs/manual/router/index.md similarity index 61% rename from docs/id/manual/router/index.md rename to id/docs/manual/router/index.md index 0d28ba5..3f886f4 100644 --- a/docs/id/manual/router/index.md +++ b/id/docs/manual/router/index.md @@ -6,11 +6,12 @@ Operasional router adalah tugas-tugas spesifik dalam sesi setelah terhubung ke p Setelah Anda memilih sesi dari sidebar, Anda mendapatkan akses ke alat-alat berikut: -- **[Dashboard](/id/manual/router/dashboard)**: Pemantauan traffic secara real-time. -- **[Manajemen Hotspot](/id/manual/router/hotspot)**: User, Profil, dan Voucher. -- **[Laporan](/id/manual/router/reports)**: Laporan penjualan dan log sistem. -- **[Tools Sistem](/id/manual/router/tools)**: Reboot, Scheduler, dan DHCP. +- **[Dashboard](/id/docs/manual/router/dashboard)**: Pemantauan traffic secara real-time. +- **[Manajemen Hotspot](/id/docs/manual/router/hotspot)**: User, Profil, dan Voucher. +- **[Laporan](/id/docs/manual/router/reports)**: Laporan penjualan dan log sistem. +- **[Tools Sistem](/id/docs/manual/router/tools)**: Reboot, Scheduler, dan DHCP. ## Sinkronisasi Real-time MIVO berkomunikasi langsung dengan API Mikrotik Anda. Sebagian besar perubahan akan langsung diterapkan pada perangkat Anda. + diff --git a/docs/id/manual/router/quick-print.md b/id/docs/manual/router/quick-print.md similarity index 99% rename from docs/id/manual/router/quick-print.md rename to id/docs/manual/router/quick-print.md index d3f8f27..87b3521 100644 --- a/docs/id/manual/router/quick-print.md +++ b/id/docs/manual/router/quick-print.md @@ -25,3 +25,4 @@ Menghapus paket di sini hanya menghapusnya dari dashboard Quick Print; **tidak** 2. **MIVO** membuat akun username/password acak di Mikrotik. 3. **MIVO** mengambil template yang ditentukan dan mengirimkannya ke engine cetak browser. + diff --git a/docs/id/manual/router/reports.md b/id/docs/manual/router/reports.md similarity index 99% rename from docs/id/manual/router/reports.md rename to id/docs/manual/router/reports.md index c4b490e..ff9593e 100644 --- a/docs/id/manual/router/reports.md +++ b/id/docs/manual/router/reports.md @@ -26,3 +26,4 @@ Pantau peristiwa real-time dari router Mikrotik Anda (`/reports/user-log`). > [!NOTE] > MIVO mengambil log ini langsung dari circular buffer Mikrotik. Bersihkan log Anda pada terminal Mikrotik jika buffer menjadi terlalu besar. + diff --git a/docs/id/manual/router/tools.md b/id/docs/manual/router/tools.md similarity index 99% rename from docs/id/manual/router/tools.md rename to id/docs/manual/router/tools.md index b35a7df..86fa0ad 100644 --- a/docs/id/manual/router/tools.md +++ b/id/docs/manual/router/tools.md @@ -24,3 +24,4 @@ Picukan perintah tingkat sistem secara langsung dari antarmuka MIVO: > [!WARNING] > Tindakan ini segera dieksekusi pada router Mikrotik Anda. Pastikan tidak ada operasi kritis yang sedang berjalan sebelum melakukan reboot. + diff --git a/docs/id/manual/settings/api-cors.md b/id/docs/manual/settings/api-cors.md similarity index 99% rename from docs/id/manual/settings/api-cors.md rename to id/docs/manual/settings/api-cors.md index dbc5ffa..53c487e 100644 --- a/docs/id/manual/settings/api-cors.md +++ b/id/docs/manual/settings/api-cors.md @@ -13,3 +13,4 @@ Untuk memungkinkan situs web Anda (misal: pengecek status) memanggil API MIVO, A ## Dokumentasi Dokumentasi API mendetail tersedia di bagian pengembang. + diff --git a/docs/id/manual/settings/index.md b/id/docs/manual/settings/index.md similarity index 59% rename from docs/id/manual/settings/index.md rename to id/docs/manual/settings/index.md index 7c2c314..b995144 100644 --- a/docs/id/manual/settings/index.md +++ b/id/docs/manual/settings/index.md @@ -6,11 +6,12 @@ Pengaturan global mengontrol instance MIVO Anda secara sistem lunak. Ini adalah Akses pengaturan ini dari menu kanan atas atau sidebar utama. -- **[Router](/id/manual/settings/routers)**: Kelola koneksi Mikrotik Anda. -- **[Template](/id/manual/settings/templates)**: Kustomisasi desain voucher. -- **[Logo](/id/manual/settings/logos)**: Unggah logo brand. -- **[API & CORS](/id/manual/settings/api-cors)**: Konfigurasi akses API. +- **[Router](/id/docs/manual/settings/routers)**: Kelola koneksi Mikrotik Anda. +- **[Template](/id/docs/manual/settings/templates)**: Kustomisasi desain voucher. +- **[Logo](/id/docs/manual/settings/logos)**: Unggah logo brand. +- **[API & CORS](/id/docs/manual/settings/api-cors)**: Konfigurasi akses API. ## Administrasi Anda juga dapat mengelola administrator MIVO dan perilaku sistem umum (Zona Waktu, Bahasa) di sini. + diff --git a/docs/id/manual/settings/logos.md b/id/docs/manual/settings/logos.md similarity index 99% rename from docs/id/manual/settings/logos.md rename to id/docs/manual/settings/logos.md index d659231..7a61690 100644 --- a/docs/id/manual/settings/logos.md +++ b/id/docs/manual/settings/logos.md @@ -27,3 +27,4 @@ Anda dapat menghapus logo yang tidak digunakan kapan saja. > [!WARNING] > Menghapus logo akan menyebabkan template voucher yang mereferensikan ID-nya menampilkan gambar yang rusak (placeholder). + diff --git a/docs/id/manual/settings/routers.md b/id/docs/manual/settings/routers.md similarity index 99% rename from docs/id/manual/settings/routers.md rename to id/docs/manual/settings/routers.md index 0b870ba..0e1ffaa 100644 --- a/docs/id/manual/settings/routers.md +++ b/id/docs/manual/settings/routers.md @@ -26,3 +26,4 @@ Lindungi konfigurasi Anda dengan membuat cadangan (backup) database MIVO Anda. > [!CAUTION] > Melakukan restore akan menimpa pengaturan dan sesi Anda yang ada saat ini. + diff --git a/docs/id/manual/settings/system.md b/id/docs/manual/settings/system.md similarity index 99% rename from docs/id/manual/settings/system.md rename to id/docs/manual/settings/system.md index 40053ad..252d26e 100644 --- a/docs/id/manual/settings/system.md +++ b/id/docs/manual/settings/system.md @@ -18,3 +18,4 @@ Sesuaikan pengaturan lingkungan untuk seluruh aplikasi: ## Keamanan MIVO menggunakan autentikasi berbasis sesi. Pastikan Anda melakukan logout saat menggunakan terminal publik. + diff --git a/docs/id/manual/settings/templates.md b/id/docs/manual/settings/templates.md similarity index 99% rename from docs/id/manual/settings/templates.md rename to id/docs/manual/settings/templates.md index 2e59852..aeddd90 100644 --- a/docs/id/manual/settings/templates.md +++ b/id/docs/manual/settings/templates.md @@ -12,3 +12,4 @@ Template menggunakan HTML dan placeholder khusus untuk menampilkan data voucher. ## Cetak Cepat Setelah template disimpan, template tersebut akan tersedia di menu **Cetak Cepat** (Quick Print) di dalam sesi router Anda. + diff --git a/docs/id/index.md b/id/index.md similarity index 99% rename from docs/id/index.md rename to id/index.md index cb26696..dabb492 100644 --- a/docs/id/index.md +++ b/id/index.md @@ -38,3 +38,4 @@ MIVO adalah **Sistem Manajemen Voucher Mikrotik** generasi baru, dirancang untuk - **Mobile First**: Desain responsif sepenuhnya yang terasa seperti aplikasi native. - **API First**: REST API bawaan dengan dukungan CORS untuk integrasi pihak ketiga. - **Ramah Developer**: Arsitektur bersih, CLI tools (`php mivo`), dan mudah dikembangkan. + diff --git a/docs/index.md b/index.md similarity index 99% rename from docs/index.md rename to index.md index 2f79dc0..697778b 100644 --- a/docs/index.md +++ b/index.md @@ -38,3 +38,4 @@ MIVO is a next-generation **Mikrotik Voucher Management System**, engineered to - **Mobile First**: Fully responsive design that feels like a native app. - **API First**: Built-in REST API with CORS support for 3rd party integrations. - **Developer Friendly**: Clean architecture, CLI tools (`php mivo`), and easy extension. + diff --git a/package.json b/package.json index d8815c2..e911550 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "main": "index.js", "type": "module", "scripts": { - "dev": "vitepress dev docs", - "build": "vitepress build docs", - "preview": "vitepress preview docs" + "dev": "vitepress dev", + "build": "vitepress build", + "preview": "vitepress preview" }, "keywords": [ "mivo", diff --git a/docs/public/CNAME b/public/CNAME similarity index 100% rename from docs/public/CNAME rename to public/CNAME diff --git a/docs/public/assets/fonts/Geist-Bold.woff2 b/public/assets/fonts/Geist-Bold.woff2 similarity index 100% rename from docs/public/assets/fonts/Geist-Bold.woff2 rename to public/assets/fonts/Geist-Bold.woff2 diff --git a/docs/public/assets/fonts/Geist-Regular.woff2 b/public/assets/fonts/Geist-Regular.woff2 similarity index 100% rename from docs/public/assets/fonts/Geist-Regular.woff2 rename to public/assets/fonts/Geist-Regular.woff2 diff --git a/docs/public/assets/fonts/GeistMono-Regular.woff2 b/public/assets/fonts/GeistMono-Regular.woff2 similarity index 100% rename from docs/public/assets/fonts/GeistMono-Regular.woff2 rename to public/assets/fonts/GeistMono-Regular.woff2 diff --git a/docs/public/favicon.ico b/public/favicon.ico similarity index 100% rename from docs/public/favicon.ico rename to public/favicon.ico diff --git a/docs/public/logo-m-dark.svg b/public/logo-m-dark.svg similarity index 100% rename from docs/public/logo-m-dark.svg rename to public/logo-m-dark.svg diff --git a/docs/public/logo-m.svg b/public/logo-m.svg similarity index 100% rename from docs/public/logo-m.svg rename to public/logo-m.svg diff --git a/docs/public/logo.png b/public/logo.png similarity index 100% rename from docs/public/logo.png rename to public/logo.png diff --git a/docs/public/og-image.png b/public/og-image.png similarity index 100% rename from docs/public/og-image.png rename to public/og-image.png diff --git a/tailwind.config.js b/tailwind.config.js index 19cb48b..c72731d 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -2,7 +2,9 @@ export default { content: [ "./docs/**/*.{md,vue,js,ts}", - "./docs/.vitepress/**/*.{md,vue,js,ts}" + "./id/**/*.{md,vue,js,ts}", + "./.vitepress/**/*.{md,vue,js,ts}", + "./*.md" ], darkMode: 'class', theme: {