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

Commit 56fd5fa

Browse files
authored
Update links to documentation in sample config (#10287)
Signed-off-by: Dirk Klimpel [email protected]
1 parent 7cb5168 commit 56fd5fa

File tree

16 files changed

+51
-46
lines changed

16 files changed

+51
-46
lines changed

changelog.d/10287.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update links to documentation in sample config. Contributed by @dklimpel.

docs/sample_config.yaml

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# Server admins can expand Synapse's functionality with external modules.
3838
#
39-
# See https://matrix-org.github.io/synapse/develop/modules.html for more
39+
# See https://matrix-org.github.io/synapse/latest/modules.html for more
4040
# documentation on how to configure or create custom modules for Synapse.
4141
#
4242
modules:
@@ -58,7 +58,7 @@ modules:
5858
# In most cases you should avoid using a matrix specific subdomain such as
5959
# matrix.example.com or synapse.example.com as the server_name for the same
6060
# reasons you wouldn't use [email protected] as your email address.
61-
# See https://github.com/matrix-org/synapse/blob/master/docs/delegate.md
61+
# See https://matrix-org.github.io/synapse/latest/delegate.html
6262
# for information on how to host Synapse on a subdomain while preserving
6363
# a clean server_name.
6464
#
@@ -253,9 +253,9 @@ presence:
253253
# 'all local interfaces'.
254254
#
255255
# type: the type of listener. Normally 'http', but other valid options are:
256-
# 'manhole' (see docs/manhole.md),
257-
# 'metrics' (see docs/metrics-howto.md),
258-
# 'replication' (see docs/workers.md).
256+
# 'manhole' (see https://matrix-org.github.io/synapse/latest/manhole.html),
257+
# 'metrics' (see https://matrix-org.github.io/synapse/latest/metrics-howto.html),
258+
# 'replication' (see https://matrix-org.github.io/synapse/latest/workers.html).
259259
#
260260
# tls: set to true to enable TLS for this listener. Will use the TLS
261261
# key/cert specified in tls_private_key_path / tls_certificate_path.
@@ -280,8 +280,8 @@ presence:
280280
# client: the client-server API (/_matrix/client), and the synapse admin
281281
# API (/_synapse/admin). Also implies 'media' and 'static'.
282282
#
283-
# consent: user consent forms (/_matrix/consent). See
284-
# docs/consent_tracking.md.
283+
# consent: user consent forms (/_matrix/consent).
284+
# See https://matrix-org.github.io/synapse/latest/consent_tracking.html.
285285
#
286286
# federation: the server-server API (/_matrix/federation). Also implies
287287
# 'media', 'keys', 'openid'
@@ -290,12 +290,13 @@ presence:
290290
#
291291
# media: the media API (/_matrix/media).
292292
#
293-
# metrics: the metrics interface. See docs/metrics-howto.md.
293+
# metrics: the metrics interface.
294+
# See https://matrix-org.github.io/synapse/latest/metrics-howto.html.
294295
#
295296
# openid: OpenID authentication.
296297
#
297-
# replication: the HTTP replication API (/_synapse/replication). See
298-
# docs/workers.md.
298+
# replication: the HTTP replication API (/_synapse/replication).
299+
# See https://matrix-org.github.io/synapse/latest/workers.html.
299300
#
300301
# static: static resources under synapse/static (/_matrix/static). (Mostly
301302
# useful for 'fallback authentication'.)
@@ -319,7 +320,7 @@ listeners:
319320
# that unwraps TLS.
320321
#
321322
# If you plan to use a reverse proxy, please see
322-
# https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.md.
323+
# https://matrix-org.github.io/synapse/latest/reverse_proxy.html.
323324
#
324325
- port: 8008
325326
tls: false
@@ -747,7 +748,8 @@ caches:
747748
# cp_min: 5
748749
# cp_max: 10
749750
#
750-
# For more information on using Synapse with Postgres, see `docs/postgres.md`.
751+
# For more information on using Synapse with Postgres,
752+
# see https://matrix-org.github.io/synapse/latest/postgres.html.
751753
#
752754
database:
753755
name: sqlite3
@@ -900,7 +902,7 @@ media_store_path: "DATADIR/media_store"
900902
#
901903
# If you are using a reverse proxy you may also need to set this value in
902904
# your reverse proxy's config. Notably Nginx has a small max body size by default.
903-
# See https://matrix-org.github.io/synapse/develop/reverse_proxy.html.
905+
# See https://matrix-org.github.io/synapse/latest/reverse_proxy.html.
904906
#
905907
#max_upload_size: 50M
906908

@@ -1840,7 +1842,7 @@ saml2_config:
18401842
#
18411843
# module: The class name of a custom mapping module. Default is
18421844
# 'synapse.handlers.oidc.JinjaOidcMappingProvider'.
1843-
# See https://github.com/matrix-org/synapse/blob/master/docs/sso_mapping_providers.md#openid-mapping-providers
1845+
# See https://matrix-org.github.io/synapse/latest/sso_mapping_providers.html#openid-mapping-providers
18441846
# for information on implementing a custom mapping provider.
18451847
#
18461848
# config: Configuration for the mapping provider module. This section will
@@ -1891,7 +1893,7 @@ saml2_config:
18911893
# - attribute: groups
18921894
# value: "admin"
18931895
#
1894-
# See https://github.com/matrix-org/synapse/blob/master/docs/openid.md
1896+
# See https://matrix-org.github.io/synapse/latest/openid.html
18951897
# for information on how to configure these options.
18961898
#
18971899
# For backwards compatibility, it is also possible to configure a single OIDC
@@ -2169,7 +2171,7 @@ sso:
21692171
# Note that this is a non-standard login type and client support is
21702172
# expected to be non-existent.
21712173
#
2172-
# See https://github.com/matrix-org/synapse/blob/master/docs/jwt.md.
2174+
# See https://matrix-org.github.io/synapse/latest/jwt.html.
21732175
#
21742176
#jwt_config:
21752177
# Uncomment the following to enable authorization using JSON web
@@ -2469,7 +2471,7 @@ email:
24692471
# ex. LDAP, external tokens, etc.
24702472
#
24712473
# For more information and known implementations, please see
2472-
# https://github.com/matrix-org/synapse/blob/master/docs/password_auth_providers.md
2474+
# https://matrix-org.github.io/synapse/latest/password_auth_providers.html
24732475
#
24742476
# Note: instances wishing to use SAML or CAS authentication should
24752477
# instead use the `saml2_config` or `cas_config` options,
@@ -2571,7 +2573,7 @@ user_directory:
25712573
#
25722574
# If you set it true, you'll have to rebuild the user_directory search
25732575
# indexes, see:
2574-
# https://github.com/matrix-org/synapse/blob/master/docs/user_directory.md
2576+
# https://matrix-org.github.io/synapse/latest/user_directory.html
25752577
#
25762578
# Uncomment to return search results containing all known users, even if that
25772579
# user does not share a room with the requester.
@@ -2591,7 +2593,7 @@ user_directory:
25912593
# User Consent configuration
25922594
#
25932595
# for detailed instructions, see
2594-
# https://github.com/matrix-org/synapse/blob/master/docs/consent_tracking.md
2596+
# https://matrix-org.github.io/synapse/latest/consent_tracking.html
25952597
#
25962598
# Parts of this section are required if enabling the 'consent' resource under
25972599
# 'listeners', in particular 'template_dir' and 'version'.
@@ -2641,7 +2643,7 @@ user_directory:
26412643

26422644

26432645
# Settings for local room and user statistics collection. See
2644-
# docs/room_and_user_statistics.md.
2646+
# https://matrix-org.github.io/synapse/latest/room_and_user_statistics.html.
26452647
#
26462648
stats:
26472649
# Uncomment the following to disable room and user statistics. Note that doing
@@ -2768,7 +2770,7 @@ opentracing:
27682770
#enabled: true
27692771

27702772
# The list of homeservers we wish to send and receive span contexts and span baggage.
2771-
# See docs/opentracing.rst.
2773+
# See https://matrix-org.github.io/synapse/latest/opentracing.html.
27722774
#
27732775
# This is a list of regexes which are matched against the server_name of the
27742776
# homeserver.

docs/sample_log_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# be ingested by ELK stacks. See [2] for details.
88
#
99
# [1]: https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
10-
# [2]: https://github.com/matrix-org/synapse/blob/master/docs/structured_logging.md
10+
# [2]: https://matrix-org.github.io/synapse/latest/structured_logging.html
1111

1212
version: 1
1313

synapse/config/consent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# User Consent configuration
2323
#
2424
# for detailed instructions, see
25-
# https://github.com/matrix-org/synapse/blob/master/docs/consent_tracking.md
25+
# https://matrix-org.github.io/synapse/latest/consent_tracking.html
2626
#
2727
# Parts of this section are required if enabling the 'consent' resource under
2828
# 'listeners', in particular 'template_dir' and 'version'.

synapse/config/database.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
# cp_min: 5
6363
# cp_max: 10
6464
#
65-
# For more information on using Synapse with Postgres, see `docs/postgres.md`.
65+
# For more information on using Synapse with Postgres,
66+
# see https://matrix-org.github.io/synapse/latest/postgres.html.
6667
#
6768
database:
6869
name: sqlite3

synapse/config/jwt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def generate_config_section(self, **kwargs):
6464
# Note that this is a non-standard login type and client support is
6565
# expected to be non-existent.
6666
#
67-
# See https://github.com/matrix-org/synapse/blob/master/docs/jwt.md.
67+
# See https://matrix-org.github.io/synapse/latest/jwt.html.
6868
#
6969
#jwt_config:
7070
# Uncomment the following to enable authorization using JSON web

synapse/config/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
# be ingested by ELK stacks. See [2] for details.
5050
#
5151
# [1]: https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
52-
# [2]: https://github.com/matrix-org/synapse/blob/master/docs/structured_logging.md
52+
# [2]: https://matrix-org.github.io/synapse/latest/structured_logging.html
5353
5454
version: 1
5555

synapse/config/modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def generate_config_section(self, **kwargs):
3737
3838
# Server admins can expand Synapse's functionality with external modules.
3939
#
40-
# See https://matrix-org.github.io/synapse/develop/modules.html for more
40+
# See https://matrix-org.github.io/synapse/latest/modules.html for more
4141
# documentation on how to configure or create custom modules for Synapse.
4242
#
4343
modules:

synapse/config/oidc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def generate_config_section(self, config_dir_path, server_name, **kwargs):
166166
#
167167
# module: The class name of a custom mapping module. Default is
168168
# {mapping_provider!r}.
169-
# See https://github.com/matrix-org/synapse/blob/master/docs/sso_mapping_providers.md#openid-mapping-providers
169+
# See https://matrix-org.github.io/synapse/latest/sso_mapping_providers.html#openid-mapping-providers
170170
# for information on implementing a custom mapping provider.
171171
#
172172
# config: Configuration for the mapping provider module. This section will
@@ -217,7 +217,7 @@ def generate_config_section(self, config_dir_path, server_name, **kwargs):
217217
# - attribute: groups
218218
# value: "admin"
219219
#
220-
# See https://github.com/matrix-org/synapse/blob/master/docs/openid.md
220+
# See https://matrix-org.github.io/synapse/latest/openid.html
221221
# for information on how to configure these options.
222222
#
223223
# For backwards compatibility, it is also possible to configure a single OIDC

synapse/config/password_auth_providers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def generate_config_section(self, **kwargs):
5757
# ex. LDAP, external tokens, etc.
5858
#
5959
# For more information and known implementations, please see
60-
# https://github.com/matrix-org/synapse/blob/master/docs/password_auth_providers.md
60+
# https://matrix-org.github.io/synapse/latest/password_auth_providers.html
6161
#
6262
# Note: instances wishing to use SAML or CAS authentication should
6363
# instead use the `saml2_config` or `cas_config` options,

0 commit comments

Comments
 (0)