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

+6 -4
View File
@@ -1,14 +1,16 @@
---
title: Custom stashes
title: Custom Stashes
---
import { GhButton } from '@components/button';
# Custom Stashes
We can set up custom stashes from outside the resource utilising the exported RegisterStash function.
Firstly, we need to define the stashes properties.
### Stash properties
## Stash properties
- id: `string`
- Unique name to identify the stash in the database.
@@ -81,8 +83,8 @@ if ox_inventory:openInventory('stash', property.id) == false then
end
```
## Example resource
## Example Resource
We put together an example resource showcasing how to properly utilise the stash API:
<GhButton link="https://www.github.com/overextended/ox_inventory_examples" />
<GhButton link="https://www.github.com/overextended/ox_inventory_examples" label="Ox Inventory Examples" />