init: pusat bantuan tumbuhin
This commit is contained in:
5
lib/site.ts
Normal file
5
lib/site.ts
Normal 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
7
lib/source.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { docs } from '@/.source';
|
||||
import { loader } from 'fumadocs-core/source';
|
||||
|
||||
export const source = loader({
|
||||
baseUrl: '/docs',
|
||||
source: docs.toFumadocsSource(),
|
||||
});
|
||||
Reference in New Issue
Block a user