Skip to content

Commit

Permalink
Fix MDX link with docusaurus v3
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb authored Nov 1, 2023
1 parent 3884f6e commit 015d4e3
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/guide/advanced/custom-protocols.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <https://yourls.org/mailto>
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.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/advanced/passwordless-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://api.yourls.org/services/cookiekey/1.0/> 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.
2 changes: 1 addition & 1 deletion docs/guide/essentials/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://yourls.org/cookie>
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:

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/extend/languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ YOURLS supports localization: this means if a language file for YOURLS in availa

## Available languages

See <https://github.com/YOURLS/awesome-yourls>
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!

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/extend/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://yourls.org/examplepage> and its source: <https://github.com/YOURLS/YOURLS/blob/master/user/pages/examplepage.php>
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

Expand All @@ -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 <https://yourls.org/somestats>
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/`

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/extend/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <https://github.com/YOURLS/awesome-yourls>
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 😊)

Expand All @@ -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 <https://github.com/YOURLS/awesome-yourls>.
3. Open a pull request on [github.com/YOURLS/awesome-yourls](https://github.com/YOURLS/awesome-yourls).

## Find plugin ideas

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/extend/possible-with-a-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <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.
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

Expand Down

0 comments on commit 015d4e3

Please sign in to comment.