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

+18 -21
View File
@@ -1,9 +1,12 @@
### lib.versionCheck
Compares the resource version to the latest published release on GitHub.
import { Tabs, Tab } from 'nextra-theme-docs';
# Server
## lib.versionCheck
Compares the resource version to the latest published release on GitHub.
[Utilises GitHub's release API](https://docs.github.com/en/rest/reference/releases)
```lua
lib.versionCheck(repository)
```
@@ -11,22 +14,16 @@ lib.versionCheck(repository)
- repository: `string`
<Tabs items={["Lua", "JS"]}>
<Tab>
<Tab>
```lua
lib.versionCheck('overextended/ox_lib')
```
</Tab>
<Tab>
```ts
import lib from '@overextended/ox_lib/server'
```lua
lib.versionCheck('overextended/ox_lib')
```
</Tab>
<Tab>
```ts
import lib from '@overextended/ox_lib/server'
lib.versionCheck('overextended/ox_lib')
```
</Tab>
lib.versionCheck('overextended/ox_lib')
```
</Tab>
</Tabs>
[Utilises GitHub's release API](https://docs.github.com/en/rest/reference/releases)