Skip to content

Commit c00c269

Browse files
authored
Fixes #360 - Create/consolidate aliases for all documentation parts for better linking.
1 parent 7ba1c38 commit c00c269

25 files changed

+145
-183
lines changed

.rstcheck.cfg

+3
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
report_level=WARNING
33
ignore_directives =
44
tabs
5+
ignore_roles=
6+
admin-docs,
7+
user-docs
58
ignore_languages=
69
json

admin/console/dangerzone-for-experts.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ Removing users
4141
If you're not sure what to do and need to learn more about what Zammad does
4242
upon removing users, please consider using Zammad's UI options in stead.
4343

44-
Our documentation for the `data privacy`_ function will help you a lot!
45-
46-
.. _data privacy:
47-
https://admin-docs.zammad.org/en/latest/system/data-privacy.html
44+
Our documentation for the :admin-docs:`data privacy </system/data-privacy.html>`
45+
function will help you a lot!
4846

4947
Removing users is possible in 2 ways: A single user and in bulk.
5048

admin/console/working-on-ticket-articles.rst

+4-11
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,16 @@ Working with ticket articles
66
Count Public “Notes” toward SLAs
77
--------------------------------
88

9-
Normally, `notes`_ don't count toward `service-level agreements`_.
9+
Normally, :user-docs:`notes </basics/service-ticket/follow-up.html#adding-new-messages-notes>`
10+
don't count toward :admin-docs:`service-level agreements </manage/slas/index.html>`.
1011
Use the following command to include publicly-visible notes when tracking SLA
1112
compliance. (Internal notes *will never* affect SLA calculations.)
1213

13-
.. _notes:
14-
https://user-docs.zammad.org/en/latest/basics/service-ticket/follow-up.html#adding-new-messages-notes
15-
16-
.. _service-level agreements:
17-
https://admin-docs.zammad.org/en/latest/manage/slas.html
18-
1914
.. note::
2015

2116
By default, customers are not notified when public notes are added to a
22-
ticket. Set up a `trigger`_ if you wish to change this behavior.
23-
24-
.. _trigger:
25-
https://admin-docs.zammad.org/en/latest/manage/trigger.html
17+
ticket. Set up a :admin-docs:`trigger </manage/trigger.html>` if you wish to
18+
change this behavior.
2619

2720
.. warning::
2821

admin/console/working-on-tickets.rst

+9-12
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,8 @@ This will show all state types needed for creating new ticket states.
116116
*pending reminders* or *closed* states.
117117

118118
State types also indicate the color scheme to be used.
119-
You can learn more about that `in our user documentation`_.
120-
121-
.. _in our user documentation:
122-
https://user-docs.zammad.org/en/latest/basics/service-ticket/settings/state.html
119+
You can learn more about that
120+
:user-docs:`in our user documentation </basics/service-ticket/settings/state.html>`.
123121

124122
.. code-block:: ruby
125123
@@ -193,9 +191,10 @@ reached.
193191
(optional) Disable date and time picker (pending till) for pending states
194192
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
195193

196-
Starting with Zammad 5.0, `Core Workflows`_ automatically handles displaying the
197-
"pending till" field for pending states. Below snippet *is not required* and is
198-
only relevant if you don't want to create a workflow within the UI of Zammad.
194+
Starting with Zammad 5.0, :admin-docs:`Core Workflows </system/core-workflows.html>`
195+
automatically handles displaying the "pending till" field for pending states.
196+
Below snippet *is not required* and is only relevant if you don't want to
197+
create a workflow within the UI of Zammad.
199198

200199
Replace ``pending customer feedback`` with the pending state of your choice.
201200

@@ -242,11 +241,9 @@ Limit available states for customers
242241

243242
.. tip::
244243

245-
`Core Workflows`_ allows you to achieve below described behavior any time
246-
without any issues. No need to use the console if you don't want to!
247-
248-
.. _Core Workflows:
249-
https://admin-docs.zammad.org/en/latest/system/core-workflows.html
244+
:admin-docs:`Core Workflows </system/core-workflows.html>` allows you to
245+
achieve below described behavior any time without any issues. No need to use
246+
the console if you don't want to!
250247

251248
By default Zammad allows customers to change Ticket states to ``open`` and
252249
``closed``. If this does not meet your requirenments, you can adjust this at

admin/console/working-on-users.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ Unlock a locked user account
2121
.. tip::
2222

2323
Unlocking a locked user account is also supported by Zammad's web UI.
24-
Please refer the `admin documentation`_ for more information.
25-
26-
.. _admin documentation:
27-
https://admin-docs.zammad.org/en/latest/manage/users/via-the-admin-panel.html
24+
Please refer to the :admin-docs:`admin documentation </manage/users/via-the-admin-panel.html>`
25+
for more information.
2826

2927
It sometimes happens that a user locks himself out by wildly trying the wrong
3028
password multiple times. Depending on your maximum failing login count

api/generic-cti/index.rst

+6-10
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ Features
77
Here's a small condensed list of the possibilities this CTI API provides.
88

99
Inbound
10-
* `Caller log functions`_ for your agents.
10+
* :user-docs:`Caller log functions </extras/caller-log.html>` for your
11+
agents.
1112
* Blocking of CallerIDs during signaling. *
12-
13+
1314
Outbound
14-
* `Caller log functions`_ for your agents.
15+
* :user-docs:`Caller log functions </extras/caller-log.html>` for your
16+
agents.
1517
* Set outbound caller IDs depending on the caller ID target.
1618

17-
.. _Caller log functions:
18-
https://user-docs.zammad.org/en/latest/extras/caller-log.html
19-
2019
.. include:: /api/generic-cti/cti-endpoint-limitations.include.rst
2120

2221
Endpoint
@@ -28,16 +27,13 @@ Endpoint
2827

2928
Generic CTI configuration and the correct endpoint can be found in your
3029
Zammad integration settings and are documented in our
31-
`admin documentation`_.
30+
:admin-docs:`admin documentation </system/integrations/cti/generic.html>`.
3231

3332
| Please also note the there listed requirements and limitations.
3433
| All options that require returns (e.g. blocking, manipulating
3534
outgoing caller IDs) rely on configurations within the Zammad CTI
3635
integration page.
3736
38-
.. _admin documentation:
39-
https://admin-docs.zammad.org/en/latest/system/integrations/generic-cti.html
40-
4137
Events
4238
There are several events in terms of an ongoing call.
4339
These actions always come from your PBX system and may be:

api/generic-cti/newcall-event.rst

+1-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ New call
4242
* - ``queue``
4343
- e.g. ``support``, ``sales``
4444
- An optional queue name, this option is relevant for the
45-
`Caller Log Filter <admin documentation>`_
46-
47-
.. _admin documentation:
48-
https://admin-docs.zammad.org/en/latest/system/integrations/generic-cti.html
45+
:admin-docs:`Caller Log Filter </system/integrations/cti/generic.html>`
4946

5047
There's two options on how to ``POST`` the relevant data to Zammad.
5148

api/intro.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -550,10 +550,8 @@ and user each.
550550
.. warning::
551551

552552
Please note that Core Workflows may restrict access to attributes or values.
553-
see `Core Workflows limitations`_ to learn more.
554-
555-
.. _Core Workflows limitations:
556-
https://admin-docs.zammad.org/en/latest/system/core-workflows/limitations.html
553+
See :admin-docs:`Core Workflows limitations </system/core-workflows/limitations.html>`
554+
to learn more.
557555

558556
Pagination
559557
==========

api/object.rst

+2-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ Object
77
Proceed with absolute caution and ensure to adjust any of Zammads default
88
fields.
99

10-
If you want to hide fields, consider `Core Workflows`_ instead.
11-
For states and priorities use either API endpoints or rails console.
12-
13-
.. _Core Workflows:
14-
https://admin-docs.zammad.org/en/latest/system/core-workflows.html
10+
If you want to hide fields, consider :admin-docs:`Core Workflows </system/core-workflows.html>`
11+
instead. For states and priorities use either API endpoints or rails console.
1512

1613
List
1714
====

api/organization.rst

+3-5
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ Response:
313313
],
314314
"secondary_member_ids": []
315315
}
316-
316+
317317
Delete
318318
======
319319

@@ -327,10 +327,8 @@ Required permission: ``admin.organization``
327327
is not possible via API - this will be indicated by
328328
``"error": "Can't delete, object has references."``. This is *not* a bug.
329329

330-
Consider using `Data Privacy`_ via UI for more control instead.
331-
332-
.. _Data Privacy:
333-
https://admin-docs.zammad.org/en/latest/system/data-privacy.html
330+
Consider using :admin-docs:`Data Privacy </system/data-privacy.html>` via UI
331+
for more control instead.
334332

335333
``DELETE``-Request sent: ``/api/v1/organizations/{id}``
336334

api/user.rst

+8-18
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ User
77
``ticket.agent`` permissions. Some attributes / information may not be
88
available in specific situations.
99

10-
Please see our `Permission Guide`_ to get better insights.
11-
12-
.. _Permission Guide:
13-
https://admin-docs.zammad.org/en/latest/manage/roles/index.html#reference-guide-permissions
10+
Please see our :admin-docs:`Permission Guide </manage/roles/index.html#reference-guide-permissions>`
11+
to get better insights.
1412

1513
me - current user
1614
=================
@@ -1181,21 +1179,15 @@ Create
11811179
======
11821180

11831181
Required permission: ``admin.user`` **or** ``ticket.agent``
1184-
1182+
11851183
.. note:: **🤓 This depends on permissions**
11861184

11871185
Agents can't set user passwords, roles or group permission. Instead
1188-
Zammad will apply to `default sign up role`_.
1186+
Zammad will apply to :admin-docs:`default sign up role </manage/roles/index.html#role-details>`.
11891187

11901188
Technically unauthenticated user creation is possible if you manage
11911189
to provide the required CSRF token (out of scope of this documentation).
1192-
If you don't want that, consider `disabling user registration`_.
1193-
1194-
.. _default sign up role:
1195-
https://admin-docs.zammad.org/en/latest/manage/roles/index.html#role-details
1196-
1197-
.. _disabling user registration:
1198-
https://admin-docs.zammad.org/en/latest/settings/security/base.html
1190+
If you don't want that, consider :admin-docs:`disabling user registration </settings/security/base.html>`.
11991191

12001192
.. tip:: **🧐 Creation payloads can be big**
12011193

@@ -1332,7 +1324,7 @@ Required permission: ``admin.user`` **or** ``ticket.agent``
13321324
.. note:: **🤓 This depends on permissions**
13331325

13341326
Agents can't set user passwords, roles or group permission. Instead
1335-
Zammad will apply to `default sign up role`_.
1327+
Zammad will apply to :admin-docs:`default sign up role </manage/roles/index.html#role-details>`.
13361328

13371329
``PUT``-Request sent: ``/api/v1/users/{id}``
13381330

@@ -1464,10 +1456,8 @@ Required permission: ``admin.user``
14641456
via API - this will be indicated by
14651457
``"error": "Can't delete, object has references."``. This is *not* a bug.
14661458

1467-
Consider using `Data Privacy`_ via UI for more control instead.
1468-
1469-
.. _Data Privacy:
1470-
https://admin-docs.zammad.org/en/latest/system/data-privacy.html
1459+
Consider using :admin-docs:`Data Privacy </system/data-privacy.html>` via UI
1460+
for more control instead.
14711461

14721462
``DELETE``-Request sent: ``/api/v1/users/{id}``
14731463

appendix/backup-and-restore/configuration.rst

+2-5
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,8 @@ After this you'll be ready to continue with either
6767
Zammad database together with the attachments you've stored within the file
6868
system.
6969

70-
Please refer `Storage Settings`_ to learn how to change the
71-
storage location of your attachments.
72-
73-
.. _Storage Settings:
74-
https://admin-docs.zammad.org/en/latest/settings/system/storage.html
70+
Please refer :admin-docs:`Storage Settings </settings/system/storage.html>`
71+
to learn how to change the storage location of your attachments.
7572

7673
``DEBUG``
7774
Default: ``no`` (accepts: ``yes`` or ``no``)

appendix/backup-and-restore/migrate-hosts.rst

+5-13
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@ Step 2: Install Zammad on the destination host
4646

4747
Step 3: Activate maintenance mode
4848
This ends agents and customers sessions.
49-
`Learn more about the maintenance mode in Zammad`_.
50-
51-
.. _Learn more about the maintenance mode in Zammad:
52-
https://admin-docs.zammad.org/en/latest/system/maintenance.html
49+
Learn more about :admin-docs:`the maintenance mode in Zammad </system/maintenance.html>`.
5350

5451
Step 4: Disable your communication channels
5552
This is just a safety measurement. As our restore scripts starts Zammad
@@ -205,20 +202,15 @@ Step 11: Re-enable Channels and deactivate maintenance mode
205202
After verifying the functionality of your channels, allow your agents and
206203
customers back in by disabling the maintenance mode.
207204

208-
`Learn more about the maintenance mode in Zammad`_.
205+
Learn more about :admin-docs:`the maintenance mode in Zammad </system/maintenance.html>`.
209206

210207
.. hint:: *Migrated from Zammad SaaS or switching providers?*
211208

212-
Please make sure that your `notification`_ and `FQDN`_ configuration
213-
is still correct. Other wise you may have unexpected issues like not
209+
Please make sure that your :admin-docs:`notification </channels/email/accounts/email-notification.html>`
210+
and :admin-docs:`FQDN </settings/system/base.html>` configuration is
211+
still correct. Other wise you may have unexpected issues like not
214212
receiving notifications or non functional authentications (3rd party).
215213

216-
.. _notification:
217-
https://admin-docs.zammad.org/en/latest/channels/email/accounts/email-notification.html
218-
219-
.. _FQDN:
220-
https://admin-docs.zammad.org/en/latest/settings/system/base.html
221-
222214
Step 12 (optional): Update Zammad to latest possible version
223215
In case the backup source was not on the latest possible version, please
224216
update your Zammad installation now.

appendix/backup-and-restore/troubleshooting.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,9 @@ Here's some classics you may encounter.
7979
This warning will be shown once before creating an empty directory to allow
8080
the backup process to continue successfully.
8181

82-
If you believe that this is an error, please see `Storage Settings`_.
82+
If you believe that this is an error, please see
83+
:admin-docs:`Storage Settings </settings/system/storage.html>`.
8384
In case the issue posts, please consult the `Zammad Community`_.
8485

85-
.. _Storage Settings:
86-
https://admin-docs.zammad.org/en/latest/settings/system/storage.html
87-
8886
.. _Zammad Community:
8987
https://community.zammad.org/c/trouble-running-zammad-this-is-your-place/5

appendix/configure-env-vars.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ General Options
4040

4141
APP_RESTART_CMD
4242
The command Zammad will use to automatically restart the server
43-
after `changes have been made in the Object Manager
44-
<https://admin-docs.zammad.org/en/latest/system/objects.html>`_.
43+
after :admin-docs:`changes have been made in the Object Manager </system/objects.html>`.
4544
(*E.g.,* ``"systemctl restart zammad"``)
4645

4746
If this is undefined, you will have to restart manually

appendix/privacy.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ Tickets and users
1212
By default, Zammad never automatically deletes tickets or users.
1313

1414
To enable **automatic** deletion of tickets after a given interval,
15-
`use the scheduler <https://admin-docs.zammad.org/en/latest/manage-scheduler.html>`_.
15+
:admin-docs:`use the scheduler </manage/scheduler.html>`.
1616

1717
To **manually** delete users and all their associated tickets
1818
(*e.g.* in compliance with a “Right to Forget” request under the GDPR),
1919
you can use the
20-
`data privacy functions <https://admin-docs.zammad.org/en/latest/system/data-privacy.html>`_
20+
:admin-docs:`data privacy functions </system/data-privacy.html>`
2121
in the admin panel or
2222
:doc:`use the console </admin/console/dangerzone-for-experts>`.
2323

appendix/reporting-tools-thirdparty.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ This guide will discuss how to set up third party reporting tools with Zammad.
1313
.. IGNORE THE NEXT BLOCK - This functionality is not yet available.
1414
.. note:: **💰 Availability**
1515
16-
The following information require either a self-hosted installation or
17-
a hosted instance with **PLUS** package. If you're a Hosted user, please
18-
also check `the Elasticsearch integration
19-
<https://admin-docs.zammad.org/en/latest/system/integrations/hosted/elasticsearch.html>`_
16+
The following information require either a self-hosted installation or
17+
a hosted instance with **PLUS** package. If you're a Hosted user, please
18+
also check :admin-docs:`the Elasticsearch integration </system/integrations/elasticsearch.html>`
2019
page for information on how to hook your tool to the index.
2120
2221
Getting Started

appendix/single-sign-on.rst

+3-6
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ so that anyone with an account on your local intranet will
2828

2929
.. note:: If you *don’t* have this IT infrastructure
3030
but still want one-click login,
31-
see `Third-Party Authentication`_ for alternatives.
32-
33-
.. _Third-Party Authentication: https://admin-docs.zammad.org/en/latest/settings/security.html#third-party-applications
31+
see :admin-docs:`Third-Party Authentication </settings/security.html#third-party-applications>`
32+
for alternatives.
3433

3534
How does it work?
3635
^^^^^^^^^^^^^^^^^
@@ -92,12 +91,10 @@ You will need:
9291

9392
* some familiarity with system administration (*e.g.,* Apache configuration)
9493

95-
For best results, set up `LDAP integration`_
94+
For best results, set up :admin-docs:`LDAP integration </system/integrations/ldap/index.html>`
9695
to make sure your Active Directory and Zammad user accounts
9796
are always in sync.
9897

99-
.. _LDAP integration: https://admin-docs.zammad.org/en/latest/system/integrations/ldap.html
100-
10198
.. _sso-register-spn:
10299

103100
Step 1: Configure Active Directory

0 commit comments

Comments
 (0)