init: pusat bantuan tumbuhin

This commit is contained in:
Gilang Aryo
2026-11-27 16:47:48 +07:00
commit 7cb1ebafe0
29 changed files with 6428 additions and 0 deletions

5
lib/site.ts Normal file
View File

@@ -0,0 +1,5 @@
// Ganti lewat environment variable SITE_URL di Dokploy saat produksi,
// misalnya https://bantuan.tumbuhindigital.com
export const SITE_URL = process.env.SITE_URL ?? 'http://localhost:3000';
export const SITE_NAME = 'Pusat Bantuan Tumbuhin';

7
lib/source.ts Normal file
View File

@@ -0,0 +1,7 @@
import { docs } from '@/.source';
import { loader } from 'fumadocs-core/source';
export const source = loader({
baseUrl: '/docs',
source: docs.toFumadocsSource(),
});