Skip to content

Commit d32f2e4

Browse files
committed
fix(docs): restore YAML frontmatter indentation in landing pages
- Add docs/ to deno fmt exclude to prevent frontmatter corruption - Restore proper nested YAML indentation in index pages (root, EN, ID)
1 parent eb1ac92 commit d32f2e4

4 files changed

Lines changed: 133 additions & 141 deletions

File tree

deno.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"useUnknownInCatchVariables": true
3535
},
3636
"fmt": {
37+
"exclude": ["docs/"],
3738
"bracePosition": "sameLine",
3839
"indentWidth": 2,
3940
"lineWidth": 100,

docs/en/index.md

Lines changed: 44 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,50 @@
11
---
2-
32
layout: home
43

54
hero:
6-
name: "Deserve"
7-
text: "Web Framework"
8-
tagline: "Build HTTP servers effortlessly with zero configuration for maximum productivity."
9-
image:
10-
src: /image.png
11-
alt: Deserve
12-
13-
actions:
14-
15-
- theme: brand
16-
text: Get Started
17-
link: /en/getting-started/installation
18-
19-
- theme: alt
20-
text: View on GitHub
21-
link: https://github.com/NeaByteLab/Deserve
5+
name: "Deserve"
6+
text: "Web Framework"
7+
tagline: "Build HTTP servers effortlessly with zero configuration for maximum productivity."
8+
image:
9+
src: /image.png
10+
alt: Deserve
11+
12+
actions:
13+
- theme: brand
14+
text: Get Started
15+
link: /en/getting-started/installation
16+
17+
- theme: alt
18+
text: View on GitHub
19+
link: https://github.com/NeaByteLab/Deserve
2220

2321
features:
24-
25-
- icon:
26-
title: Lightning Fast
27-
details: Built for performance with Deno's native HTTP capabilities. Zero overhead, maximum speed.
28-
link: /en/core-concepts/philosophy
29-
30-
- icon: 📁
31-
title: File-Based Routing
32-
details: Your file structure becomes your API structure. Intuitive and maintainable.
33-
link: /en/core-concepts/file-based-routing
34-
35-
- icon: 🎯
36-
title: Zero Configuration
37-
details: Drop files in folders and get instant API endpoints. No complex setup required.
38-
link: /en/core-concepts/route-patterns
39-
40-
- icon: 🛡️
41-
title: Built-in Middleware
42-
details: CORS, sessions, body limits, security headers, and basic auth out of the box.
43-
link: /en/middleware/global
44-
45-
- icon: 🖼️
46-
title: Template Engine
47-
details: DVE template engine with conditionals, loops, includes, and streaming rendering.
48-
link: /en/rendering/
49-
50-
- icon: 🔄
51-
title: Hot Reload
52-
details: Routes and templates auto-reload on file changes. No server restart needed.
53-
link: /en/core-concepts/hot-reload
22+
- icon:
23+
title: Lightning Fast
24+
details: Built for performance with Deno's native HTTP capabilities. Zero overhead, maximum speed.
25+
link: /en/core-concepts/philosophy
26+
27+
- icon: 📁
28+
title: File-Based Routing
29+
details: Your file structure becomes your API structure. Intuitive and maintainable.
30+
link: /en/core-concepts/file-based-routing
31+
32+
- icon: 🎯
33+
title: Zero Configuration
34+
details: Drop files in folders and get instant API endpoints. No complex setup required.
35+
link: /en/core-concepts/route-patterns
36+
37+
- icon: 🛡️
38+
title: Built-in Middleware
39+
details: CORS, sessions, body limits, security headers, and basic auth out of the box.
40+
link: /en/middleware/global
41+
42+
- icon: 🖼️
43+
title: Template Engine
44+
details: DVE template engine with conditionals, loops, includes, and streaming rendering.
45+
link: /en/rendering/
46+
47+
- icon: 🔄
48+
title: Hot Reload
49+
details: Routes and templates auto-reload on file changes. No server restart needed.
50+
link: /en/core-concepts/hot-reload

docs/id/index.md

Lines changed: 44 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,50 @@
11
---
2-
32
layout: home
43

54
hero:
6-
name: "Deserve"
7-
text: "Framework Web"
8-
tagline: "Bangun server HTTP dengan mudah tanpa konfigurasi untuk produktivitas maksimal."
9-
image:
10-
src: /image.png
11-
alt: Deserve
12-
13-
actions:
14-
15-
- theme: brand
16-
text: Mulai
17-
link: /id/getting-started/installation
18-
19-
- theme: alt
20-
text: Lihat di GitHub
21-
link: https://github.com/NeaByteLab/Deserve
5+
name: "Deserve"
6+
text: "Framework Web"
7+
tagline: "Bangun server HTTP dengan mudah tanpa konfigurasi untuk produktivitas maksimal."
8+
image:
9+
src: /image.png
10+
alt: Deserve
11+
12+
actions:
13+
- theme: brand
14+
text: Mulai
15+
link: /id/getting-started/installation
16+
17+
- theme: alt
18+
text: Lihat di GitHub
19+
link: https://github.com/NeaByteLab/Deserve
2220

2321
features:
24-
25-
- icon:
26-
title: Super Cepat
27-
details: Dibangun untuk performa HTTP asli Deno. Tanpa overhead, kecepatan maksimal.
28-
link: /id/core-concepts/philosophy
29-
30-
- icon: 📁
31-
title: Routing Berbasis File
32-
details: Struktur file Anda menjadi struktur API Anda. Intuitif dan mudah dirawat.
33-
link: /id/core-concepts/file-based-routing
34-
35-
- icon: 🎯
36-
title: Tanpa Konfigurasi
37-
details: Letakkan file di folder dan dapatkan endpoint API secara instan. Tidak perlu setup yang rumit.
38-
link: /id/core-concepts/route-patterns
39-
40-
- icon: 🛡️
41-
title: Middleware Bawaan
42-
details: CORS, session, body limit, security headers, dan basic auth langsung tersedia.
43-
link: /id/middleware/global
44-
45-
- icon: 🖼️
46-
title: Template Engine
47-
details: DVE template engine dengan kondisional, loop, include, dan streaming rendering.
48-
link: /id/rendering/
49-
50-
- icon: 🔄
51-
title: Hot Reload
52-
details: Route dan template otomatis dimuat ulang saat file berubah. Tanpa restart server.
53-
link: /id/core-concepts/hot-reload
22+
- icon:
23+
title: Super Cepat
24+
details: Dibangun untuk performa HTTP asli Deno. Tanpa overhead, kecepatan maksimal.
25+
link: /id/core-concepts/philosophy
26+
27+
- icon: 📁
28+
title: Routing Berbasis File
29+
details: Struktur file Anda menjadi struktur API Anda. Intuitif dan mudah dirawat.
30+
link: /id/core-concepts/file-based-routing
31+
32+
- icon: 🎯
33+
title: Tanpa Konfigurasi
34+
details: Letakkan file di folder dan dapatkan endpoint API secara instan. Tidak perlu setup yang rumit.
35+
link: /id/core-concepts/route-patterns
36+
37+
- icon: 🛡️
38+
title: Middleware Bawaan
39+
details: CORS, session, body limit, security headers, dan basic auth langsung tersedia.
40+
link: /id/middleware/global
41+
42+
- icon: 🖼️
43+
title: Template Engine
44+
details: DVE template engine dengan kondisional, loop, include, dan streaming rendering.
45+
link: /id/rendering/
46+
47+
- icon: 🔄
48+
title: Hot Reload
49+
details: Route dan template otomatis dimuat ulang saat file berubah. Tanpa restart server.
50+
link: /id/core-concepts/hot-reload

docs/index.md

Lines changed: 44 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,50 @@
11
---
2-
32
layout: home
43

54
hero:
6-
name: "Deserve"
7-
text: "Web Framework"
8-
tagline: "Build HTTP servers effortlessly with zero configuration for maximum productivity."
9-
image:
10-
src: /image.png
11-
alt: Deserve
12-
13-
actions:
14-
15-
- theme: brand
16-
text: Get Started
17-
link: /en/getting-started/installation
18-
19-
- theme: alt
20-
text: View on GitHub
21-
link: https://github.com/NeaByteLab/Deserve
5+
name: "Deserve"
6+
text: "Web Framework"
7+
tagline: "Build HTTP servers effortlessly with zero configuration for maximum productivity."
8+
image:
9+
src: /image.png
10+
alt: Deserve
11+
12+
actions:
13+
- theme: brand
14+
text: Get Started
15+
link: /en/getting-started/installation
16+
17+
- theme: alt
18+
text: View on GitHub
19+
link: https://github.com/NeaByteLab/Deserve
2220

2321
features:
24-
25-
- icon:
26-
title: Lightning Fast
27-
details: Built for performance with Deno's native HTTP capabilities. Zero overhead, maximum speed.
28-
link: /en/core-concepts/philosophy
29-
30-
- icon: 📁
31-
title: File-Based Routing
32-
details: Your file structure becomes your API structure. Intuitive and maintainable.
33-
link: /en/core-concepts/file-based-routing
34-
35-
- icon: 🎯
36-
title: Zero Configuration
37-
details: Drop files in folders and get instant API endpoints. No complex setup required.
38-
link: /en/core-concepts/route-patterns
39-
40-
- icon: 🛡️
41-
title: Built-in Middleware
42-
details: CORS, sessions, body limits, security headers, and basic auth out of the box.
43-
link: /en/middleware/global
44-
45-
- icon: 🖼️
46-
title: Template Engine
47-
details: DVE template engine with conditionals, loops, includes, and streaming rendering.
48-
link: /en/rendering/
49-
50-
- icon: 🔄
51-
title: Hot Reload
52-
details: Routes and templates auto-reload on file changes. No server restart needed.
53-
link: /en/core-concepts/hot-reload
22+
- icon:
23+
title: Lightning Fast
24+
details: Built for performance with Deno's native HTTP capabilities. Zero overhead, maximum speed.
25+
link: /en/core-concepts/philosophy
26+
27+
- icon: 📁
28+
title: File-Based Routing
29+
details: Your file structure becomes your API structure. Intuitive and maintainable.
30+
link: /en/core-concepts/file-based-routing
31+
32+
- icon: 🎯
33+
title: Zero Configuration
34+
details: Drop files in folders and get instant API endpoints. No complex setup required.
35+
link: /en/core-concepts/route-patterns
36+
37+
- icon: 🛡️
38+
title: Built-in Middleware
39+
details: CORS, sessions, body limits, security headers, and basic auth out of the box.
40+
link: /en/middleware/global
41+
42+
- icon: 🖼️
43+
title: Template Engine
44+
details: DVE template engine with conditionals, loops, includes, and streaming rendering.
45+
link: /en/rendering/
46+
47+
- icon: 🔄
48+
title: Hot Reload
49+
details: Routes and templates auto-reload on file changes. No server restart needed.
50+
link: /en/core-concepts/hot-reload

0 commit comments

Comments
 (0)