Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 4eb2f4e

Browse files
authored
Fix broken links in the Synapse documentation. (#14744)
* Fix stale external links * Fix some internal links * Fix URLs without trailing / where needed * Fix more links * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <[email protected]> * Reapply docs/openid.md fix after conflict Signed-off-by: Olivier Wilkinson (reivilibre) <[email protected]>
1 parent 7b64216 commit 4eb2f4e

24 files changed

+38
-38
lines changed

changelog.d/14744.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix broken links in the Synapse documentation.

docs/admin_api/account_validity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use it, you must enable the account validity feature (under
55
`account_validity`) in Synapse's configuration.
66

77
To use it, you will need to authenticate by providing an `access_token`
8-
for a server admin: see [Admin API](../usage/administration/admin_api).
8+
for a server admin: see [Admin API](../usage/administration/admin_api/).
99

1010
## Renew account
1111

docs/admin_api/event_reports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This API returns information about reported events.
44

55
To use it, you will need to authenticate by providing an `access_token`
6-
for a server admin: see [Admin API](../usage/administration/admin_api).
6+
for a server admin: see [Admin API](../usage/administration/admin_api/).
77

88
The api is:
99
```

docs/admin_api/media_admin_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Details about the format of the `media_id` and storage of the media in the file
66
are documented under [media repository](../media_repository.md).
77

88
To use it, you will need to authenticate by providing an `access_token`
9-
for a server admin: see [Admin API](../usage/administration/admin_api).
9+
for a server admin: see [Admin API](../usage/administration/admin_api/).
1010

1111
## List all media in a room
1212

docs/admin_api/purge_history_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Note that Synapse requires at least one message in each room, so it will never
1111
delete the last message in a room.
1212

1313
To use it, you will need to authenticate by providing an `access_token`
14-
for a server admin: see [Admin API](../usage/administration/admin_api).
14+
for a server admin: see [Admin API](../usage/administration/admin_api/).
1515

1616
The API is:
1717

docs/admin_api/room_membership.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ local users. The server administrator must be in the room and have permission to
66
invite users.
77

88
To use it, you will need to authenticate by providing an `access_token`
9-
for a server admin: see [Admin API](../usage/administration/admin_api).
9+
for a server admin: see [Admin API](../usage/administration/admin_api/).
1010

1111
## Parameters
1212

docs/admin_api/rooms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ server. There are various parameters available that allow for filtering and
55
sorting the returned list. This API supports pagination.
66

77
To use it, you will need to authenticate by providing an `access_token`
8-
for a server admin: see [Admin API](../usage/administration/admin_api).
8+
for a server admin: see [Admin API](../usage/administration/admin_api/).
99

1010
**Parameters**
1111

@@ -400,7 +400,7 @@ sent to a room in a given timeframe. There are various parameters available
400400
that allow for filtering and ordering the returned list. This API supports pagination.
401401

402402
To use it, you will need to authenticate by providing an `access_token`
403-
for a server admin: see [Admin API](../usage/administration/admin_api).
403+
for a server admin: see [Admin API](../usage/administration/admin_api/).
404404

405405
This endpoint mirrors the [Matrix Spec defined Messages API](https://spec.matrix.org/v1.1/client-server-api/#get_matrixclientv3roomsroomidmessages).
406406

docs/admin_api/statistics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Returns information about all local media usage of users. Gives the
44
possibility to filter them by time and user.
55

66
To use it, you will need to authenticate by providing an `access_token`
7-
for a server admin: see [Admin API](../usage/administration/admin_api).
7+
for a server admin: see [Admin API](../usage/administration/admin_api/).
88

99
The API is:
1010

docs/admin_api/user_admin_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# User Admin API
22

33
To use it, you will need to authenticate by providing an `access_token`
4-
for a server admin: see [Admin API](../usage/administration/admin_api).
4+
for a server admin: see [Admin API](../usage/administration/admin_api/).
55

66
## Query User Account
77

docs/development/contributing_guide.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ regarding Synapse's Admin API, which is used mostly by sysadmins and external
106106
service developers.
107107

108108
Synapse's code style is documented [here](../code_style.md). Please follow
109-
it, including the conventions for the [sample configuration
110-
file](../code_style.md#configuration-file-format).
109+
it, including the conventions for [configuration
110+
options and documentation](../code_style.md#configuration-code-and-documentation-format).
111111

112112
We welcome improvements and additions to our documentation itself! When
113113
writing new pages, please
@@ -126,7 +126,7 @@ changes to the Rust code.
126126

127127

128128
# 8. Test, test, test!
129-
<a name="test-test-test"></a>
129+
<a name="test-test-test" id="test-test-test"></a>
130130

131131
While you're developing and before submitting a patch, you'll
132132
want to test your code.
@@ -424,8 +424,7 @@ chicken-and-egg problem.
424424
There are two options for solving this:
425425
426426
1. Open the PR without a changelog file, see what number you got, and *then*
427-
add the changelog file to your branch (see [Updating your pull
428-
request](#updating-your-pull-request)), or:
427+
add the changelog file to your branch, or:
429428
430429
1. Look at the [list of all
431430
issues/PRs](https://github.com/matrix-org/synapse/issues?q=), add one to the

0 commit comments

Comments
 (0)