forked from Github-Mirrors/canaille
doc: avoid ending sentences with ::
This commit is contained in:
parent
648567be65
commit
e576a51554
3 changed files with 28 additions and 15 deletions
|
@ -9,7 +9,9 @@ class SQLSettings(BaseModel):
|
||||||
|
|
||||||
DATABASE_URI: str
|
DATABASE_URI: str
|
||||||
"""The SQL server URI.
|
"""The SQL server URI.
|
||||||
For example::
|
For example:
|
||||||
|
|
||||||
|
..code-block:: toml
|
||||||
|
|
||||||
DATABASE_URI = "postgresql://user:password@localhost/database_name"
|
DATABASE_URI = "postgresql://user:password@localhost/database_name"
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -81,7 +81,9 @@ class ACLSettings(BaseModel):
|
||||||
|
|
||||||
PERMISSIONS: list[Permission] = [Permission.EDIT_SELF, Permission.USE_OIDC]
|
PERMISSIONS: list[Permission] = [Permission.EDIT_SELF, Permission.USE_OIDC]
|
||||||
"""A list of :class:`Permission` users in the access control will be able
|
"""A list of :class:`Permission` users in the access control will be able
|
||||||
to manage. For example::
|
to manage. For example:
|
||||||
|
|
||||||
|
..code-block:: toml
|
||||||
|
|
||||||
PERMISSIONS = [
|
PERMISSIONS = [
|
||||||
"manage_users",
|
"manage_users",
|
||||||
|
@ -89,7 +91,8 @@ class ACLSettings(BaseModel):
|
||||||
"manage_oidc",
|
"manage_oidc",
|
||||||
"delete_account",
|
"delete_account",
|
||||||
"impersonate_users",
|
"impersonate_users",
|
||||||
]"""
|
]
|
||||||
|
"""
|
||||||
|
|
||||||
READ: list[str] = [
|
READ: list[str] = [
|
||||||
"user_name",
|
"user_name",
|
||||||
|
@ -265,7 +268,9 @@ class CoreSettings(BaseModel):
|
||||||
- If this is a :class:`str`, it is expected to be a file path that will be passed
|
- If this is a :class:`str`, it is expected to be a file path that will be passed
|
||||||
to :func:`logging.config.fileConfig`.
|
to :func:`logging.config.fileConfig`.
|
||||||
|
|
||||||
For example::
|
For example:
|
||||||
|
|
||||||
|
..code-block:: toml
|
||||||
|
|
||||||
[CANAILLE.LOGGING]
|
[CANAILLE.LOGGING]
|
||||||
version = 1
|
version = 1
|
||||||
|
@ -288,7 +293,9 @@ class CoreSettings(BaseModel):
|
||||||
ACL: dict[str, ACLSettings] | None = {"DEFAULT": ACLSettings()}
|
ACL: dict[str, ACLSettings] | None = {"DEFAULT": ACLSettings()}
|
||||||
"""Mapping of permission groups. See :class:`ACLSettings` for more details.
|
"""Mapping of permission groups. See :class:`ACLSettings` for more details.
|
||||||
|
|
||||||
The ACL name can be freely chosen. For example::
|
The ACL name can be freely chosen. For example:
|
||||||
|
|
||||||
|
..code-block:: toml
|
||||||
|
|
||||||
[CANAILLE.ACL.DEFAULT]
|
[CANAILLE.ACL.DEFAULT]
|
||||||
PERMISSIONS = ["edit_self", "use_oidc"]
|
PERMISSIONS = ["edit_self", "use_oidc"]
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PROJECT VERSION\n"
|
"Project-Id-Version: PROJECT VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
"POT-Creation-Date: 2024-12-08 11:27+0100\n"
|
"POT-Creation-Date: 2024-12-08 11:32+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -806,8 +806,8 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: canaille/core/templates/invite.html:74
|
#: canaille/core/templates/invite.html:74
|
||||||
#: canaille/oidc/templates/token_view.html:123
|
#: canaille/oidc/templates/token_view.html:130
|
||||||
#: canaille/oidc/templates/token_view.html:134
|
#: canaille/oidc/templates/token_view.html:141
|
||||||
msgid "Copy"
|
msgid "Copy"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -1822,31 +1822,35 @@ msgstr ""
|
||||||
msgid "Expiration date"
|
msgid "Expiration date"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: canaille/oidc/templates/token_view.html:99
|
#: canaille/oidc/templates/token_view.html:100
|
||||||
|
msgid "This token has expired."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: canaille/oidc/templates/token_view.html:106
|
||||||
msgid "Revokation date"
|
msgid "Revokation date"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: canaille/oidc/templates/token_view.html:105
|
#: canaille/oidc/templates/token_view.html:112
|
||||||
msgid "Revoke token"
|
msgid "Revoke token"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: canaille/oidc/templates/token_view.html:108
|
#: canaille/oidc/templates/token_view.html:115
|
||||||
msgid "This token has not been revoked"
|
msgid "This token has not been revoked"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: canaille/oidc/templates/token_view.html:114
|
#: canaille/oidc/templates/token_view.html:121
|
||||||
msgid "Token type"
|
msgid "Token type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: canaille/oidc/templates/token_view.html:118
|
#: canaille/oidc/templates/token_view.html:125
|
||||||
msgid "Access token"
|
msgid "Access token"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: canaille/oidc/templates/token_view.html:129
|
#: canaille/oidc/templates/token_view.html:136
|
||||||
msgid "Refresh token"
|
msgid "Refresh token"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: canaille/oidc/templates/token_view.html:131
|
#: canaille/oidc/templates/token_view.html:138
|
||||||
msgid "No refresh token"
|
msgid "No refresh token"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue