refactor: Add h1 headers to all pages missing it (#137)

* refactor: Add h1 headers to all pages missing it

* refactor: missed example h3

* change hooks example heading to bold text

---------

Co-authored-by: Luke <[email protected]>
This commit is contained in:
JagandLuke authored and GitHub committed 2023-07-08 11:08:43 +02:00
1 parent 74227cc262
commit 1d2c490b26
95 files changed
+2167 -2289

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
# Client
When ox_core is imported into a resource it will create the `player` global.
If `player` is nil, then the client has not yet selected a character and spawned.
@@ -2,6 +2,8 @@
title: Callbacks
---
# Callbacks
### ox:getStatus
```lua
+2
View File
@@ -2,6 +2,8 @@
title: Events
---
# Events
## Client events
### ox:playerLoaded
+2
View File
@@ -1,5 +1,7 @@
import { Tabs, Tab } from 'nextra-theme-docs';
# Server
## Ox.GetPlayer
Return an instance of OxPlayer for the given player source.
+2
View File
@@ -2,6 +2,8 @@
title: Events
---
# Events
## Server events
### ox:playerLoaded
+2
View File
@@ -4,6 +4,8 @@ title: Methods
import { Tabs, Tab } from 'nextra-theme-docs';
# Methods
These functions are inherited from the [Player class](../Server/).
## player.set
+2
View File
@@ -3,6 +3,8 @@ title: Server
sidebar_position: 1
---
# Server
## Ox.GetVehicle
Return an instance of OxVehicle for the given entity.
@@ -2,6 +2,8 @@
title: Callbacks
---
# Callbacks
### ox:getNearbyVehicles
Get all vehicles within range of the target player.
+2
View File
@@ -2,6 +2,8 @@
title: Methods
---
# Methods
These functions are inherited from the [Vehicle class](../Server/).
## vehicle.set