From 015d4e3cdbd0c753fdfe161167acb73049b9765f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Wed, 1 Nov 2023 15:09:35 +0000 Subject: [PATCH] Fix MDX link with docusaurus v3 --- docs/guide/advanced/custom-protocols.md | 2 +- docs/guide/advanced/passwordless-api.md | 2 +- docs/guide/essentials/configuration.md | 2 +- docs/guide/extend/languages.md | 2 +- docs/guide/extend/pages.md | 4 ++-- docs/guide/extend/plugins.md | 4 ++-- docs/guide/extend/possible-with-a-plugin.md | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/guide/advanced/custom-protocols.md b/docs/guide/advanced/custom-protocols.md index b14b5c1..7871208 100644 --- a/docs/guide/advanced/custom-protocols.md +++ b/docs/guide/advanced/custom-protocols.md @@ -6,7 +6,7 @@ YOURLS can shorten URLs with non standard protocols (other than `http` or `https All links are not intended to redirect to a site. Depending on your needs, you may want to shorten and share short links that redirect to a `mailto:` address, an `ftp://` URL, your `facetime:` or `skype:` profile. -Example: +Example: [yourls.org/mailto](https://yourls.org/mailto) When you shorten a non-standard link, a visual clue will be added next to the shortened link. diff --git a/docs/guide/advanced/passwordless-api.md b/docs/guide/advanced/passwordless-api.md index e156e63..8e6fb76 100644 --- a/docs/guide/advanced/passwordless-api.md +++ b/docs/guide/advanced/passwordless-api.md @@ -63,4 +63,4 @@ Now use `https://yoursite/yourls-api.php?timestamp=$timestamp&signature=$signatu If for some reason you need to reset your signature (ie to generate a new one while making previous signature inoperative), simply modify the `YOURLS_COOKIEKEY` constant in your `config.php`. -Hint: you can simply copy the result from to generate a random unique cookie. +Hint: you can simply copy the result from [api.yourls.org/services/cookiekey/1.0/](https://api.yourls.org/services/cookiekey/1.0/) to generate a random unique cookie. diff --git a/docs/guide/essentials/configuration.md b/docs/guide/essentials/configuration.md index 9771e93..5b49500 100644 --- a/docs/guide/essentials/configuration.md +++ b/docs/guide/essentials/configuration.md @@ -79,7 +79,7 @@ define( 'YOURLS_UNIQUE_URLS', true ); ### `YOURLS_COOKIEKEY` -A random secret hash used to encrypt cookies. You don't have to remember it, make it long and complicated. Hint: generate a unique one at +A random secret hash used to encrypt cookies. You don't have to remember it, make it long and complicated. Hint: generate a unique one at [yourls.org/cookie](https://yourls.org/cookie) Example: diff --git a/docs/guide/extend/languages.md b/docs/guide/extend/languages.md index b2d280b..8ade5d8 100644 --- a/docs/guide/extend/languages.md +++ b/docs/guide/extend/languages.md @@ -4,7 +4,7 @@ YOURLS supports localization: this means if a language file for YOURLS in availa ## Available languages -See +See [github.com/YOURLS/awesome-yourls](https://github.com/YOURLS/awesome-yourls) Your language is not available so you'd like to translate YOURLS? See below! diff --git a/docs/guide/extend/pages.md b/docs/guide/extend/pages.md index 9a64950..a8a6f44 100644 --- a/docs/guide/extend/pages.md +++ b/docs/guide/extend/pages.md @@ -6,7 +6,7 @@ YOURLS has a little known -- yet fancy -- feature to route users to custom conte A page is PHP aware and YOURLS aware custom content. -See for instance and its source: +See for instance [yourls.org/examplepage](https://yourls.org/examplepage) and its source: [github.com/YOURLS/YOURLS/blob/master/user/pages/examplepage.php](https://github.com/YOURLS/YOURLS/blob/master/user/pages/examplepage.php) It's a convenient way to create simple pages (about your team, corporate info, ...) and route to them as if they were short URLs created with YOURLS @@ -25,7 +25,7 @@ If for some reason you want to keep your pages located in the root directory (fo ## Page example -Let's make a simple stat page like +Let's make a simple stat page like [yourls.org/somestats](https://yourls.org/somestats) First, create a new file named `somestats.php` and put it in `user/pages/` diff --git a/docs/guide/extend/plugins.md b/docs/guide/extend/plugins.md index 2416776..1e52b66 100644 --- a/docs/guide/extend/plugins.md +++ b/docs/guide/extend/plugins.md @@ -10,7 +10,7 @@ Core plugins are bundled with YOURLS. They aim to either provide sample code for ## Normal plugins -Normal plugins are written (and hopefully maintained) by various YOURLS users. You will find the list in the dedicated repository: +Normal plugins are written (and hopefully maintained) by various YOURLS users. You will find the list in the dedicated repository: [github.com/YOURLS/awesome-yourls](https://github.com/YOURLS/awesome-yourls) Being listed does not guarantee that the plugin is approved, its code is clean, future proof or anything (unless it's been made by Ozh of course 😊) @@ -24,7 +24,7 @@ You made a plugin? Awesome news! Getting your plugin listed is easy: 1. First, get your plugin hosted somewhere. Your blog is OK. A source controlled environment such as GitHub is excellent. Tip: clone [this repository](https://github.com/YOURLS/plugin-sample) to create your plugin repository in seconds. 2. Your plugin should be announced/hosted where users can post comments, submit bug reports and give feedback. -3. Open a pull request on . +3. Open a pull request on [github.com/YOURLS/awesome-yourls](https://github.com/YOURLS/awesome-yourls). ## Find plugin ideas diff --git a/docs/guide/extend/possible-with-a-plugin.md b/docs/guide/extend/possible-with-a-plugin.md index d22e01b..c6d8371 100644 --- a/docs/guide/extend/possible-with-a-plugin.md +++ b/docs/guide/extend/possible-with-a-plugin.md @@ -20,7 +20,7 @@ Most of the time, features that are requested won't be implemented into core, bu ## There may be already a plugin for this -Head to to check if someone already coded a plugin with this feature, or get that plugin coded by someone who coded a similar plugin. +Head to [github.com/YOURLS/awesome-yourls](https://github.com/YOURLS/awesome-yourls) to check if someone already coded a plugin with this feature, or get that plugin coded by someone who coded a similar plugin. ## Find a plugin coder