GeezerVison is showing github.com — Bump `sphinx` from 5.2.3 to 5.3.0 (#3300) · MSutt/python-telegram-bot@76c2fc1
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: docs/requirements-docs.txt +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -sphinx==5.2.3 |
| 1 | +sphinx==5.3.0 |
2 | 2 | sphinx-pypi-upload |
3 | 3 | furo==2022.9.29 |
4 | 4 | sphinx-paramlinks==0.5.4 |
|
Collapse file
Copy file name to clipboardExpand all lines: examples/deeplinking.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -115,7 +115,7 @@ def main() -> None: |
115 | 115 | application = Application.builder().token("TOKEN").build() |
116 | 116 |
|
117 | 117 | # More info on what deep linking actually is (read this first if it's unclear to you): |
118 | | - # https://core.telegram.org/bots#deep-linking |
| 118 | + # https://core.telegram.org/bots/features#deep-linking |
119 | 119 |
|
120 | 120 | # Register a deep-linking handler |
121 | 121 | application.add_handler( |
|
Collapse file
Copy file name to clipboardExpand all lines: telegram/ext/filters.py +4-2Lines changed: 4 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -546,7 +546,8 @@ def filter(self, message: Message) -> bool: |
546 | 546 |
|
547 | 547 | class CaptionRegex(MessageFilter): |
548 | 548 | """ |
549 | | - Filters updates by searching for an occurrence of :paramref:`pattern` in the message caption. |
| 549 | + Filters updates by searching for an occurrence of :paramref:`~CaptionRegex.pattern` in the |
| 550 | + message caption. |
550 | 551 |
|
551 | 552 | This filter works similarly to :class:`Regex`, with the only exception being that |
552 | 553 | it applies to the message caption instead of the text. |
@@ -1501,7 +1502,8 @@ def filter(self, message: Message) -> bool: |
1501 | 1502 |
|
1502 | 1503 | class Regex(MessageFilter): |
1503 | 1504 | """ |
1504 | | - Filters updates by searching for an occurrence of :paramref:`pattern` in the message text. |
| 1505 | + Filters updates by searching for an occurrence of :paramref:`~Regex.pattern` in the message |
| 1506 | + text. |
1505 | 1507 | The :func:`re.search` function is used to determine whether an update should be filtered. |
1506 | 1508 |
|
1507 | 1509 | Refer to the documentation of the :obj:`re` module for more information. |
|
Collapse file
Copy file name to clipboardExpand all lines: telegram/helpers.py +5-3Lines changed: 5 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -134,10 +134,12 @@ def effective_message_type(entity: Union["Message", "Update"]) -> Optional[str]: |
134 | 134 |
|
135 | 135 | def create_deep_linked_url(bot_username: str, payload: str = None, group: bool = False) -> str: |
136 | 136 | """ |
137 | | - Creates a deep-linked URL for this :paramref:`bot_username` with the specified |
138 | | - :paramref:`payload`. See https://core.telegram.org/bots#deep-linking to learn more. |
| 137 | + Creates a deep-linked URL for this :paramref:`~create_deep_linked_url.bot_username` with the |
| 138 | + specified :paramref:`~create_deep_linked_url.payload`. See |
| 139 | + https://core.telegram.org/bots/features#deep-linking to learn more. |
139 | 140 |
|
140 | | - The :paramref:`payload` may consist of the following characters: ``A-Z, a-z, 0-9, _, -`` |
| 141 | + The :paramref:`~create_deep_linked_url.payload` may consist of the following characters: |
| 142 | + ``A-Z, a-z, 0-9, _, -`` |
141 | 143 |
|
142 | 144 | Note: |
143 | 145 | Works well in conjunction with |
|