Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix documentation URLs #894

Merged
merged 1 commit into from
Feb 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading