mirror of
https://github.com/mivodev/mivodev.github.io.git
synced 2026-01-26 05:25:36 +07:00
docs: add plugin manual and update sidebar
This commit is contained in:
@@ -51,6 +51,7 @@ export const sidebarEn: DefaultTheme.Sidebar = {
|
||||
text: 'Global Settings',
|
||||
items: [
|
||||
{ text: 'Introduction', link: '/docs/manual/settings/' },
|
||||
{ text: 'Plugins', link: '/docs/manual/settings/plugins' },
|
||||
{ text: 'Routers', link: '/docs/manual/settings/routers' },
|
||||
{ text: 'Templates', link: '/docs/manual/settings/templates' },
|
||||
{ text: 'Logos', link: '/docs/manual/settings/logos' },
|
||||
@@ -124,6 +125,7 @@ export const sidebarId: DefaultTheme.Sidebar = {
|
||||
text: 'Pengaturan Global',
|
||||
items: [
|
||||
{ text: 'Pendahuluan', link: '/id/docs/manual/settings/' },
|
||||
{ text: 'Plugins', link: '/id/docs/manual/settings/plugins' },
|
||||
{ text: 'Router', link: '/id/docs/manual/settings/routers' },
|
||||
{ text: 'Template', link: '/id/docs/manual/settings/templates' },
|
||||
{ text: 'Logo', link: '/id/docs/manual/settings/logos' },
|
||||
|
||||
34
docs/manual/settings/plugins.md
Normal file
34
docs/manual/settings/plugins.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# Plugin Manager
|
||||
|
||||
Mivo v1.2+ introduces a powerful **Plugin System** that allows you to extend the core functionality of the application without modifying the source code.
|
||||
|
||||
## Installing Plugins
|
||||
|
||||
### Method 1: Upload ZIP
|
||||
If you have a plugin ZIP file (e.g. from a third-party developer), you can install it manually:
|
||||
|
||||
1. Go to **Settings > Plugins**.
|
||||
2. Click the **Upload Plugin** button.
|
||||
3. Select your `.zip` file.
|
||||
4. Mivo will verify the structure (`plugin.php`) and install it.
|
||||
|
||||
### Method 2: Via Registry
|
||||
You can browse the [Official Registry](/plugins/) to find community-verified plugins:
|
||||
|
||||
1. find the plugin you want in the **Plugins** menu.
|
||||
2. Click **Download** to get the ZIP file.
|
||||
3. Upload it via **Settings > Plugins**.
|
||||
|
||||
*(Future updates will allow one-click install directly from the dashboard)*
|
||||
|
||||
## Managing Plugins
|
||||
|
||||
In the **Settings > Plugins** table, you can see all installed extensions.
|
||||
|
||||
- **Status**: Shows if the plugin is active.
|
||||
- **Actions**:
|
||||
- **View Config**: Some plugins provide a configuration page.
|
||||
- **Delete**: Removes the plugin and its files permanently.
|
||||
|
||||
## Creating Plugins
|
||||
Developers can create custom plugins to add features like new Hotspot themes, payment gateways, or system tools. Check the [Contribution Guide](/docs/guide/contribution) for details.
|
||||
34
id/docs/manual/settings/plugins.md
Normal file
34
id/docs/manual/settings/plugins.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# Manajemen Plugin
|
||||
|
||||
Mivo v1.2+ memperkenalkan **Sistem Plugin** yang memungkinkan Anda menambah fitur aplikasi tanpa perlu mengubah kode inti.
|
||||
|
||||
## Cara Install Plugin
|
||||
|
||||
### Metode 1: Upload ZIP
|
||||
Jika Anda memiliki file plugin (format `.zip`), Anda bisa menginstalnya secara manual:
|
||||
|
||||
1. Buka menu **Pengaturan > Plugins**.
|
||||
2. Klik tombol **Upload Plugin**.
|
||||
3. Pilih file `.zip` plugin Anda.
|
||||
4. Mivo akan memverifikasi struktur file (`plugin.php`) dan menginstalnya.
|
||||
|
||||
### Metode 2: Lewat Registry
|
||||
Anda bisa menjelajahi [Registry Resmi](/id/plugins/) untuk mencari plugin yang terverifikasi:
|
||||
|
||||
1. Cari plugin yang diinginkan di menu **Plugins**.
|
||||
2. Klik **Download** untuk mendapatkan file ZIP.
|
||||
3. Upload file tersebut di **Pengaturan > Plugins**.
|
||||
|
||||
*(Update mendatang akan memungkinkan instalasi satu-klik langsung dari dashboard)*
|
||||
|
||||
## Mengelola Plugin
|
||||
|
||||
Di halaman **Pengaturan > Plugins**, Anda bisa melihat daftar ekstensi yang terpasang.
|
||||
|
||||
- **Status**: Menunjukkan apakah plugin aktif.
|
||||
- **Aksi**:
|
||||
- **Konfigurasi**: Beberapa plugin menyediakan halaman pengaturan khusus.
|
||||
- **Hapus**: Menghapus plugin dan filenya secara permanen.
|
||||
|
||||
## Membuat Plugin
|
||||
Pengembang (Developer) dapat membuat plugin kustom untuk fitur seperti tema hotspot baru, gateway pembayaran, atau tool sistem. Cek [Panduan Kontribusi](/id/docs/guide/contribution) untuk detailnya.
|
||||
Reference in New Issue
Block a user