diff --git a/docs/ox_lib/Server/acl.md b/docs/ox_lib/ACL/Server.md similarity index 98% rename from docs/ox_lib/Server/acl.md rename to docs/ox_lib/ACL/Server.md index 183db4b9..41464c6c 100644 --- a/docs/ox_lib/Server/acl.md +++ b/docs/ox_lib/ACL/Server.md @@ -1,5 +1,3 @@ -# Permissions - Wrapper around the built-in ACL system. Handles lib.addCommand and ox_groups permissions. Refer to [Basic Aces & Principals overview/guide](https://forum.cfx.re/t/basic-aces-principals-overview-guide/90917) for more information. diff --git a/docs/ox_lib/Server/addCommand.md b/docs/ox_lib/AddCommand/Server.md similarity index 97% rename from docs/ox_lib/Server/addCommand.md rename to docs/ox_lib/AddCommand/Server.md index a1d9a1ad..7f67d592 100644 --- a/docs/ox_lib/Server/addCommand.md +++ b/docs/ox_lib/AddCommand/Server.md @@ -1,5 +1,3 @@ -# Command - ```lua -- principal: string or false -- command: string diff --git a/docs/ox_lib/Client/cache.md b/docs/ox_lib/Cache/Client.md similarity index 98% rename from docs/ox_lib/Client/cache.md rename to docs/ox_lib/Cache/Client.md index e60bcbfc..c5030509 100644 --- a/docs/ox_lib/Client/cache.md +++ b/docs/ox_lib/Cache/Client.md @@ -1,5 +1,3 @@ -# Cache - Caches data related to the player and handling some events or statebags. An interval runs every 100ms to update data that cannot be checked via handlers. diff --git a/docs/ox_lib/Client/callback.md b/docs/ox_lib/Callback/Client.md similarity index 98% rename from docs/ox_lib/Client/callback.md rename to docs/ox_lib/Callback/Client.md index 52e8e2d4..a8e5d223 100644 --- a/docs/ox_lib/Client/callback.md +++ b/docs/ox_lib/Callback/Client.md @@ -1,5 +1,3 @@ -# Callbacks - Triggers a registered server callback and registers an event handler for the response. ### lib.callback diff --git a/docs/ox_lib/Server/callback.md b/docs/ox_lib/Callback/Server.md similarity index 96% rename from docs/ox_lib/Server/callback.md rename to docs/ox_lib/Callback/Server.md index 2292a933..ba650162 100644 --- a/docs/ox_lib/Server/callback.md +++ b/docs/ox_lib/Callback/Server.md @@ -1,5 +1,3 @@ -# Callbacks - ### lib.callback.register ```lua -- name: string diff --git a/docs/ox_lib/Client/disableControls.md b/docs/ox_lib/DisableControls/Client.md similarity index 94% rename from docs/ox_lib/Client/disableControls.md rename to docs/ox_lib/DisableControls/Client.md index e53eb500..65e1121d 100644 --- a/docs/ox_lib/Client/disableControls.md +++ b/docs/ox_lib/DisableControls/Client.md @@ -1,5 +1,3 @@ -# Disable Controls - ### lib.disableControls ```lua -- Call on frame to disable all stored keys. diff --git a/docs/ox_lib/Client/misc.md b/docs/ox_lib/Interface/Client/clipboard.md similarity index 86% rename from docs/ox_lib/Client/misc.md rename to docs/ox_lib/Interface/Client/clipboard.md index 4ea204fe..aaaa9531 100644 --- a/docs/ox_lib/Client/misc.md +++ b/docs/ox_lib/Interface/Client/clipboard.md @@ -1,5 +1,5 @@ --- -title: Misc +title: Clipboard --- ### lib.setClipboard @@ -10,4 +10,4 @@ Sets the player's clipboard to the specified string value. -- value: string lib.setClipboard(value) -``` \ No newline at end of file +``` diff --git a/docs/ox_lib/Client/Interface/context.md b/docs/ox_lib/Interface/Client/context.md similarity index 100% rename from docs/ox_lib/Client/Interface/context.md rename to docs/ox_lib/Interface/Client/context.md diff --git a/docs/ox_lib/Client/Interface/input.md b/docs/ox_lib/Interface/Client/input.md similarity index 100% rename from docs/ox_lib/Client/Interface/input.md rename to docs/ox_lib/Interface/Client/input.md diff --git a/docs/ox_lib/Client/Interface/notify.md b/docs/ox_lib/Interface/Client/notify.md similarity index 100% rename from docs/ox_lib/Client/Interface/notify.md rename to docs/ox_lib/Interface/Client/notify.md diff --git a/docs/ox_lib/Client/Interface/progress.md b/docs/ox_lib/Interface/Client/progress.md similarity index 100% rename from docs/ox_lib/Client/Interface/progress.md rename to docs/ox_lib/Interface/Client/progress.md diff --git a/docs/ox_lib/Client/Interface/textui.md b/docs/ox_lib/Interface/Client/textui.md similarity index 100% rename from docs/ox_lib/Client/Interface/textui.md rename to docs/ox_lib/Interface/Client/textui.md diff --git a/docs/ox_lib/Shared/locale.md b/docs/ox_lib/Locale/Shared.md similarity index 98% rename from docs/ox_lib/Shared/locale.md rename to docs/ox_lib/Locale/Shared.md index d7a9a71b..7239b799 100644 --- a/docs/ox_lib/Shared/locale.md +++ b/docs/ox_lib/Locale/Shared.md @@ -1,5 +1,3 @@ -# Localisation - Allows players to set a preferred language and attempt to load locale files in any resources using the module. Locale files should use the [ISO Language Code](http://www.lingoes.net/en/translator/langcode.htm) and be saved as `./locales/langcode.json` diff --git a/docs/ox_lib/Server/logger.md b/docs/ox_lib/Logger/Server.md similarity index 99% rename from docs/ox_lib/Server/logger.md rename to docs/ox_lib/Logger/Server.md index 9b6add73..974af2e0 100644 --- a/docs/ox_lib/Server/logger.md +++ b/docs/ox_lib/Logger/Server.md @@ -1,5 +1,3 @@ -# Logger - Submit logs to Datadog. Register an account with [datadog](https://www.datadoghq.com/). Once registered you need to create an [API key](https://app.datadoghq.com/organization-settings/api-keys). diff --git a/docs/ox_lib/Client/points.md b/docs/ox_lib/Points/Client.md similarity index 100% rename from docs/ox_lib/Client/points.md rename to docs/ox_lib/Points/Client.md diff --git a/docs/ox_lib/Client/streaming.md b/docs/ox_lib/Streaming/Client.md similarity index 97% rename from docs/ox_lib/Client/streaming.md rename to docs/ox_lib/Streaming/Client.md index 07b6d952..1ed3caef 100644 --- a/docs/ox_lib/Client/streaming.md +++ b/docs/ox_lib/Streaming/Client.md @@ -1,5 +1,3 @@ -# Streaming - Check if assets exist, such as models, and loads them into memory. Throws errors for invalid assets and returns true if the asset is loaded. @@ -36,4 +34,4 @@ lib.requestStreamedTextureDict(dict, timeout) -- fxName: string -- timeout: number [default: 100] lib.requestNamedPtfxAsset(fxName, timeout) -``` \ No newline at end of file +``` diff --git a/docs/ox_lib/Client/vehicleProperties.md b/docs/ox_lib/VehicleProperties/Client.md similarity index 97% rename from docs/ox_lib/Client/vehicleProperties.md rename to docs/ox_lib/VehicleProperties/Client.md index 83a1b184..a91825d2 100644 --- a/docs/ox_lib/Client/vehicleProperties.md +++ b/docs/ox_lib/VehicleProperties/Client.md @@ -1,4 +1,3 @@ -# Vehicle Properties Mostly follows the format used by ESX and QBCore, with extra data such as damaged/missing props. https://github.com/overextended/ox_lib/blob/master/resource/vehicleProperties/client.lua#L5 diff --git a/docs/ox_lib/Server/version.md b/docs/ox_lib/Version/Server.md similarity index 87% rename from docs/ox_lib/Server/version.md rename to docs/ox_lib/Version/Server.md index 6005d05e..7702e51e 100644 --- a/docs/ox_lib/Server/version.md +++ b/docs/ox_lib/Version/Server.md @@ -1,5 +1,3 @@ -# Version check - ### lib.versionCheck Compares the resource version to the latest published release on GitHub. ```lua @@ -9,4 +7,4 @@ lib.versionCheck(repository) lib.versionCheck('overextended/ox_lib') ``` -[Utilises GitHub's release API](https://docs.github.com/en/rest/reference/releases) \ No newline at end of file +[Utilises GitHub's release API](https://docs.github.com/en/rest/reference/releases) diff --git a/docs/ox_lib/Shared/version.md b/docs/ox_lib/Version/Shared.md similarity index 92% rename from docs/ox_lib/Shared/version.md rename to docs/ox_lib/Version/Shared.md index 2cd873a5..b11f15d4 100644 --- a/docs/ox_lib/Shared/version.md +++ b/docs/ox_lib/Version/Shared.md @@ -1,5 +1,3 @@ -# Dependency version - ### lib.checkDependency Check if a resource is using a specified version or higher, allowing for compatibility checks or throwing errors. ```lua diff --git a/docs/ox_lib/Client/zones.md b/docs/ox_lib/Zones/Client.md similarity index 99% rename from docs/ox_lib/Client/zones.md rename to docs/ox_lib/Zones/Client.md index 67db2811..ad01fd20 100644 --- a/docs/ox_lib/Client/zones.md +++ b/docs/ox_lib/Zones/Client.md @@ -1,5 +1,3 @@ -# Zones - An alternative to PolyZone utilising [glm.polygon](https://github.com/gottfriedleibniz/lua/blob/luaglm/EXTENDED.md#polygon). ```lua diff --git a/docs/ox_lib/index.md b/docs/ox_lib/index.md index 302ea33a..5b1db5fd 100644 --- a/docs/ox_lib/index.md +++ b/docs/ox_lib/index.md @@ -24,4 +24,4 @@ shared_script '@ox_lib/init.lua' That's it! You can now use the library functions inside of your resource, check the rest of the -documentation to see how to utilise them. \ No newline at end of file +documentation to see how to utilise them.