Skip to content

Commit fc78c15

Browse files
authored
Merge pull request #570 from adiati98/fix-broken-links-6
fix: Broken links to the outdated developer docs URL branch `6.0`
2 parents 194d8cf + bb59f30 commit fc78c15

22 files changed

+57
-73
lines changed

docs/configuration/settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ API settings
120120
:width: 600
121121
:alt: Screenshot showing API Settings Configuration in Mautic
122122

123-
Full API documentation is available :xref:`Mautic developer API`.
123+
Complete API documentation is available on the :xref:`Mautic REST API` section in the Developer Documentation.
124124

125125
* **API enabled** - Select Yes to pass data in and out of Mautic through the API.
126126

docs/contacts/manage_contacts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ Website monitoring
355355

356356
It's possible to use Mautic to monitor all traffic on a website by loading a JavaScript file - recommended - or by adding a tracking pixel to resources. It's important to note that traffic isn't monitored from logged-in Mautic Users. To verify that the JavaScript/pixel is working, use an incognito or private browsing window or log out of Mautic prior to testing.
357357

358-
Note that by default, Mautic won't track traffic originating from the same :xref:`private network` as itself, but you can configure Mautic to track this internal traffic by setting the ``track_private_ip_ranges`` configuration option to ``true`` in ``app/config/local.php`` then and then :xref:`clearing the symfony cache`.
358+
Note that by default, Mautic won't track traffic originating from the same :xref:`private network` as itself, but you can configure Mautic to track this internal traffic by setting the ``track_private_ip_ranges`` configuration option to ``true`` in ``app/config/local.php`` and clearing the :xref:`symfony cache`.
359359

360360
.. vale off
361361

docs/links/clear_cache.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/links/marketplace.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/links/mautic_api_documentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
link_name = "Reports API documentation"
44
link_text = "Reports API documentation"
5-
link_url = "https://developer.mautic.org/#reports"
5+
link_url = "https://devdocs.mautic.org/en/5.x/components/reports.html"
66

77
link.xref_links.update({link_name: (link_text, link_url)})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from . import link
2+
3+
link_name = "symfony cache"
4+
link_text = "Symfony cache"
5+
link_url = "https://devdocs.mautic.org/en/5.x/components/cache.html"
6+
7+
link.xref_links.update({link_name: (link_text, link_url)})
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from . import link
22

3-
link_name = "Mautic developer API"
4-
link_text = "in the Developer Documentation"
5-
link_url = "https://developer.mautic.org/#rest-api"
3+
link_name = "Mautic REST API"
4+
link_text = "REST API"
5+
link_url = "https://devdocs.mautic.org/en/5.x/rest_api/assets.html"
66

77
link.xref_links.update({link_name: (link_text, link_url)})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from . import link
2+
3+
link_name = "Marketplace"
4+
link_text = "Marketplace"
5+
link_url = "https://devdocs.mautic.org/en/5.x/marketplace/getting_started.html"
6+
7+
link.xref_links.update({link_name: (link_text, link_url)})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from . import link
2+
3+
link_name = "Mautic Plugins"
4+
link_text = "Plugins"
5+
link_url = "https://devdocs.mautic.org/en/5.x/plugins/getting_started.html"
6+
7+
link.xref_links.update({link_name: (link_text, link_url)})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from . import link
2+
3+
link_name = "Roles using the API"
4+
link_text = "Roles using the API"
5+
link_url = "https://github.com/mautic/developer-documentation/blob/main/source/includes/_api_endpoint_roles.md"
6+
7+
link.xref_links.update({link_name: (link_text, link_url)})

0 commit comments

Comments
 (0)