From 925f9ddb14ddf8f3da009c641414291d62264a1e Mon Sep 17 00:00:00 2001 From: NullSablex <244216261+NullSablex@users.noreply.github.com> Date: Mon, 25 May 2026 19:05:36 -0300 Subject: [PATCH] fix: correct GitHub repo URL to NullSablex/env-samp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The GitHub repository slug uses a hyphen (env-samp), not an underscore. Underscore is kept for the Rust crate, library and artifact names (env_samp.so/.dll/.inc) — only repository URLs are affected. - Cargo.toml: repository, homepage - mkdocs.yml: repo_name, repo_url, social link - include/env_samp.inc.in (and the generated env_samp.inc) - docs/installation.md, docs/usage.md, docs/dotenv-format.md --- Cargo.toml | 4 ++-- docs/dotenv-format.md | 2 +- docs/installation.md | 6 +++--- docs/usage.md | 2 +- include/env_samp.inc | 2 +- include/env_samp.inc.in | 2 +- mkdocs.yml | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 345d3c6..0d39327 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,8 +3,8 @@ name = "env_samp" version = "1.0.0" edition = "2024" authors = ["NullSablex"] -repository = "https://github.com/NullSablex/env_samp" -homepage = "https://github.com/NullSablex/env_samp" +repository = "https://github.com/NullSablex/env-samp" +homepage = "https://github.com/NullSablex/env-samp" license = "AGPL-3.0-or-later" [lib] diff --git a/docs/dotenv-format.md b/docs/dotenv-format.md index 23e0241..9decd16 100644 --- a/docs/dotenv-format.md +++ b/docs/dotenv-format.md @@ -49,4 +49,4 @@ The file must be valid UTF-8. A leading BOM (`U+FEFF`) is stripped automatically ## Full example -[`examples/env`](https://github.com/NullSablex/env_samp/blob/master/examples/env) in the repository walks through every syntactic feature shown above in a single annotated file — copy it to `.env`, edit the values, and you're set. +[`examples/env`](https://github.com/NullSablex/env-samp/blob/master/examples/env) in the repository walks through every syntactic feature shown above in a single annotated file — copy it to `.env`, edit the values, and you're set. diff --git a/docs/installation.md b/docs/installation.md index 2185273..d74ff39 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -4,7 +4,7 @@ Drop the platform-specific binary into your server's `plugins/` folder and regis ## Artifacts -Each release at [github.com/NullSablex/env_samp/releases](https://github.com/NullSablex/env_samp/releases) ships: +Each release at [github.com/NullSablex/env-samp/releases](https://github.com/NullSablex/env-samp/releases) ships: - `env_samp.so` — Linux i686 (`i686-unknown-linux-gnu`). - `env_samp.dll` — Windows i686 (`i686-pc-windows-msvc`). @@ -40,8 +40,8 @@ Drop the binary into `plugins/` and declare it under `pawn.legacy_plugins` in `c Place a `.env` file alongside your server executable. The plugin reads `./.env` on `OnGameModeInit`. See [.env format](dotenv-format.md) for the accepted syntax. -A ready-made template lives in the repository at [`examples/env`](https://github.com/NullSablex/env_samp/blob/master/examples/env) — copy it to `.env` and replace the values. +A ready-made template lives in the repository at [`examples/env`](https://github.com/NullSablex/env-samp/blob/master/examples/env) — copy it to `.env` and replace the values. ## Example gamemode -A minimal Pawn script wiring every supported type lives at [`examples/example.pwn`](https://github.com/NullSablex/env_samp/blob/master/examples/example.pwn). It's also the script used to smoke-test the plugin during development. +A minimal Pawn script wiring every supported type lives at [`examples/example.pwn`](https://github.com/NullSablex/env-samp/blob/master/examples/example.pwn). It's also the script used to smoke-test the plugin during development. diff --git a/docs/usage.md b/docs/usage.md index 3657385..529c9ca 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -53,4 +53,4 @@ printf("[env_samp] Variables loaded: %d", EnvCount()); ## Full gamemode example -A complete Pawn script exercising all four types and `EnvCount` lives at [`examples/example.pwn`](https://github.com/NullSablex/env_samp/blob/master/examples/example.pwn) in the repository, paired with [`examples/env`](https://github.com/NullSablex/env_samp/blob/master/examples/env) as a copy-and-edit `.env` template. +A complete Pawn script exercising all four types and `EnvCount` lives at [`examples/example.pwn`](https://github.com/NullSablex/env-samp/blob/master/examples/example.pwn) in the repository, paired with [`examples/env`](https://github.com/NullSablex/env-samp/blob/master/examples/env) as a copy-and-edit `.env` template. diff --git a/include/env_samp.inc b/include/env_samp.inc index 944df2f..1c00636 100644 --- a/include/env_samp.inc +++ b/include/env_samp.inc @@ -1,7 +1,7 @@ /* * env_samp v1.0.0 - Environment Variables Plugin for SA-MP and Open Multiplayer. * Author: NullSablex - * Repository: https://github.com/NullSablex/env_samp + * Repository: https://github.com/NullSablex/env-samp * License: AGPL-3.0-or-later */ diff --git a/include/env_samp.inc.in b/include/env_samp.inc.in index c1f087c..8330845 100644 --- a/include/env_samp.inc.in +++ b/include/env_samp.inc.in @@ -1,7 +1,7 @@ /* * env_samp v{{VERSION}} - Environment Variables Plugin for SA-MP and Open Multiplayer. * Author: NullSablex - * Repository: https://github.com/NullSablex/env_samp + * Repository: https://github.com/NullSablex/env-samp * License: AGPL-3.0-or-later */ diff --git a/mkdocs.yml b/mkdocs.yml index a08b3e4..c6a601c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,8 +3,8 @@ site_description: Environment variables (.env) plugin for SA-MP and Open Multipl site_author: NullSablex site_url: https://env-samp.nullsablex.com/ -repo_name: NullSablex/env_samp -repo_url: https://github.com/NullSablex/env_samp +repo_name: NullSablex/env-samp +repo_url: https://github.com/NullSablex/env-samp edit_uri: edit/master/docs/ docs_dir: docs @@ -90,4 +90,4 @@ nav: extra: social: - icon: fontawesome/brands/github - link: https://github.com/NullSablex/env_samp + link: https://github.com/NullSablex/env-samp