forked from SamMethot/learn-fivem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocmd.config.js
More file actions
136 lines (119 loc) · 3.63 KB
/
Copy pathdocmd.config.js
File metadata and controls
136 lines (119 loc) · 3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
export default defineConfig({
title: 'FiveM School',
url: 'https://sammethot.github.io/learn-fivem',
src: '.',
minify: true,
autoTitleFromH1: true,
copyCode: true,
pageNavigation: true,
layout: {},
navigation: [
{ title: 'Home', path: './index', icon: 'house' },
{ title: 'Full Index', path: './FULL-INDEX', icon: 'list' },
{
title: 'Basics',
icon: 'book-open',
children: [
{ title: 'What Is FiveM?', path: '/01-basics/01-what-is-fivem' },
{ title: 'Lua Crash Course', path: '/01-basics/02-lua-crash-course' },
{ title: 'Client vs Server', path: '/01-basics/03-client-vs-server' },
{ title: 'Resources & fxmanifest', path: '/01-basics/04-resources-and-fxmanifest' },
],
},
{
title: 'Events',
icon: 'radio',
children: [
{ title: 'Local Events', path: '/02-events/01-local-events' },
{ title: 'Network Events', path: '/02-events/02-net-events' },
{ title: 'Event Security', path: '/02-events/03-event-security' },
{ title: 'Callbacks', path: '/02-events/04-callbacks' },
],
},
{
title: 'Natives',
icon: 'cpu',
children: [
{ title: 'What Are Natives?', path: '/03-natives/01-what-are-natives' },
{ title: 'Common Natives', path: '/03-natives/02-common-natives' },
],
},
{
title: 'Database',
icon: 'database',
children: [
{ title: 'oxmysql Basics', path: '/04-database/01-oxmysql-basics' },
{ title: 'Queries & Security', path: '/04-database/02-queries-and-security' },
],
},
{
title: 'Frameworks',
icon: 'layers',
children: [
{ title: 'QBox Basics', path: '/05-frameworks/01-qbox-basics' },
{ title: 'ESX Basics', path: '/05-frameworks/02-esx-basics' },
{ title: 'QBCore Basics', path: '/05-frameworks/03-qbcore-basics' },
],
},
{
title: 'ox Libraries',
icon: 'package',
children: [
{ title: 'ox_lib', path: '/06-ox-libraries/01-ox-lib' },
{ title: 'ox_target', path: '/06-ox-libraries/02-ox-target' },
{ title: 'Inventories', path: '/06-ox-libraries/03-inventories' },
],
},
{
title: 'NUI (HTML UI)',
icon: 'monitor',
children: [
{ title: 'NUI Basics', path: '/07-nui/01-nui-basics' },
{ title: 'React NUI', path: '/07-nui/02-react-nui' },
],
},
{
title: 'Security',
icon: 'shield',
children: [
{ title: 'Security Checklist', path: '/08-security/01-security-checklist' },
],
},
{
title: 'Performance',
icon: 'gauge',
children: [
{ title: 'Threads & Waits', path: '/09-performance/01-threads-and-waits' },
{ title: 'Optimization Patterns', path: '/09-performance/02-optimization-patterns' },
],
},
{
title: 'First Projects',
icon: 'rocket',
children: [
{ title: 'Hello Resource', path: '/10-first-projects/01-hello-resource' },
{ title: 'Shop', path: '/10-first-projects/02-shop' },
{ title: 'NUI Menu', path: '/10-first-projects/03-nui-menu' },
],
},
],
theme: {
name: 'default',
appearance: 'dark', // Options: 'light', 'dark', 'system'
},
plugins: {
git: {
repo: 'https://github.com/SamMethot/learn-fivem',
branch: 'main',
editLink: true,
lastUpdated: true,
commitHistory: true,
maxCommits: 5
}
},
footer: {
style: 'minimal', // 'minimal' or 'complete'
copyright: '© 2026 learn-fivem. All rights reserved.',
description: 'Documentation built with docmd.',
},
});