Bump sphinx from 5.2.3 to 5.3.0 (#3300)

Co-authored-by: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2022-10-23 14:59:27 +02:00 committed by GitHub
parent 6340d6652a
commit 76c2fc1776
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 7 deletions

View file

@ -1,4 +1,4 @@
sphinx==5.2.3
sphinx==5.3.0
sphinx-pypi-upload
furo==2022.9.29
sphinx-paramlinks==0.5.4

View file

@ -115,7 +115,7 @@ def main() -> None:
application = Application.builder().token("TOKEN").build()
# More info on what deep linking actually is (read this first if it's unclear to you):
# https://core.telegram.org/bots#deep-linking
# https://core.telegram.org/bots/features#deep-linking
# Register a deep-linking handler
application.add_handler(

View file

@ -546,7 +546,8 @@ class CaptionEntity(MessageFilter):
class CaptionRegex(MessageFilter):
"""
Filters updates by searching for an occurrence of :paramref:`pattern` in the message caption.
Filters updates by searching for an occurrence of :paramref:`~CaptionRegex.pattern` in the
message caption.
This filter works similarly to :class:`Regex`, with the only exception being that
it applies to the message caption instead of the text.
@ -1501,7 +1502,8 @@ POLL = _Poll(name="filters.POLL")
class Regex(MessageFilter):
"""
Filters updates by searching for an occurrence of :paramref:`pattern` in the message text.
Filters updates by searching for an occurrence of :paramref:`~Regex.pattern` in the message
text.
The :func:`re.search` function is used to determine whether an update should be filtered.
Refer to the documentation of the :obj:`re` module for more information.

View file

@ -134,10 +134,12 @@ def effective_message_type(entity: Union["Message", "Update"]) -> Optional[str]:
def create_deep_linked_url(bot_username: str, payload: str = None, group: bool = False) -> str:
"""
Creates a deep-linked URL for this :paramref:`bot_username` with the specified
:paramref:`payload`. See https://core.telegram.org/bots#deep-linking to learn more.
Creates a deep-linked URL for this :paramref:`~create_deep_linked_url.bot_username` with the
specified :paramref:`~create_deep_linked_url.payload`. See
https://core.telegram.org/bots/features#deep-linking to learn more.
The :paramref:`payload` may consist of the following characters: ``A-Z, a-z, 0-9, _, -``
The :paramref:`~create_deep_linked_url.payload` may consist of the following characters:
``A-Z, a-z, 0-9, _, -``
Note:
Works well in conjunction with