Skip to content

Commit

Permalink
fix documentation URLs (#894)
Browse files Browse the repository at this point in the history
Signed-off-by: Miloš Gavrilović <milos@gavrilovic.rs>
  • Loading branch information
Gavrisimo authored Feb 10, 2024
1 parent c183249 commit 7c26ec0
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion doc/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# API documentation

This page will document the API classes and ways to properly use the API. These resources will eventually move to
the official documentation at [https://documentation.mailgun.com](https://documentation.mailgun.com/api_reference.html).
the official documentation at [https://documentation.mailgun.com](https://documentation.mailgun.com/en/latest/api_reference.html).

Other relevant documentation pages might be:

Expand Down
6 changes: 3 additions & 3 deletions src/Api/Domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
use Psr\Http\Message\ResponseInterface;

/**
* @see https://documentation.mailgun.com/api-domains.html
* @see https://documentation.mailgun.com/en/latest/api-domains.html
*
* @author Sean Johnson <sean@mailgun.com>
*/
Expand Down Expand Up @@ -82,7 +82,7 @@ public function show(string $domain, array $requestHeaders = [])
/**
* Creates a new domain for the account.
* See below for spam filtering parameter information.
* {@link https://documentation.mailgun.com/user_manual.html#um-spam-filter}.
* {@link https://documentation.mailgun.com/en/latest/user_manual.html#um-spam-filter}.
*
* @see https://documentation.mailgun.com/en/latest/api-domains.html#domains
* @param string $domain name of the domain
Expand Down Expand Up @@ -334,7 +334,7 @@ public function updateConnection(string $domain, ?bool $requireTLS, ?bool $noVer
/**
* Update webScheme for existing domain
* See below for spam filtering parameter information.
* {@link https://documentation.mailgun.com/user_manual.html#um-spam-filter}.
* {@link https://documentation.mailgun.com/en/latest/user_manual.html#um-spam-filter}.
* @see https://documentation.mailgun.com/en/latest/api-domains.html#domains
* @param string $domain name of the domain
* @param string $webScheme `http` or `https` - set your open, click and unsubscribe URLs to use http or https. The default is http
Expand Down
2 changes: 1 addition & 1 deletion src/Api/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use Psr\Http\Message\ResponseInterface;

/**
* @see https://documentation.mailgun.com/api-domains.html
* @see https://documentation.mailgun.com/en/latest/api-domains.html
*
* @author Sean Johnson <sean@mailgun.com>
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Psr\Http\Client\ClientExceptionInterface;

/**
* @see https://documentation.mailgun.com/api-routes.html
* @see https://documentation.mailgun.com/en/latest/api-routes.html
*
* @author David Garcia <me@davidgarcia.cat>
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Suppression.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
use Psr\Http\Client\ClientInterface;

/**
* @see https://documentation.mailgun.com/api-suppressions.html
* @see https://documentation.mailgun.com/en/latest/api-suppressions.html
*
* @author Sean Johnson <sean@mailgun.com>
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Suppression/Bounce.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use Psr\Http\Client\ClientExceptionInterface;

/**
* @see https://documentation.mailgun.com/api-suppressions.html#bounces
* @see https://documentation.mailgun.com/en/latest/api-suppressions.html#bounces
* @author Sean Johnson <sean@mailgun.com>
*/
class Bounce extends HttpApi
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Suppression/Complaint.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use Psr\Http\Client\ClientExceptionInterface;

/**
* @see https://documentation.mailgun.com/api-suppressions.html#complaints
* @see https://documentation.mailgun.com/en/latest/api-suppressions.html#complaints
*
* @author Sean Johnson <sean@mailgun.com>
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Suppression/Unsubscribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
use Psr\Http\Client\ClientExceptionInterface;

/**
* @see https://documentation.mailgun.com/api-suppressions.html#unsubscribes
* @see https://documentation.mailgun.com/en/latest/api-suppressions.html#unsubscribes
*
* @author Sean Johnson <sean@mailgun.com>
*/
Expand Down

0 comments on commit 7c26ec0

Please sign in to comment.