diff --git a/Makefile b/Makefile index 9650d0d69..f3923ece4 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ venv: $(RM) $(VENV) python3 -m venv $(VENV) $(PYTHON) -m pip install -U pip wheel setuptools - $(PYTHON) -m pip install -U -e . + $(PYTHON) -m pip install -U -e .[docs] @echo "Created venv with $$($(PYTHON) --version)" clean-build: diff --git a/compiler/docs/compiler.py b/compiler/docs/compiler.py index 923c3303c..6747f108b 100644 --- a/compiler/docs/compiler.py +++ b/compiler/docs/compiler.py @@ -418,7 +418,7 @@ def get_title_list(s: str) -> list: VideoChatScheduled VideoChatStarted VideoChatEnded - VideoChatMembersInvited + VideoChatParticipantsInvited WebAppData MessageReactions ChatReactions diff --git a/docs/source/api/errors/index.rst b/docs/source/api/errors/index.rst index 40fd93d7f..9e126a073 100644 --- a/docs/source/api/errors/index.rst +++ b/docs/source/api/errors/index.rst @@ -11,10 +11,13 @@ follow the usual *PascalCase* convention. There isn't any official list of all possible RPC errors, so the list of known errors is provided on a best-effort basis. When new methods are available, the list may be lacking since we simply don't know what errors can raise from them. Pyrogram creates an `unknown_errors.txt` file in the root directory from where the `Client` is run. .. admonition :: PLEASE DO NOT DO THIS + .. tip:: + If you do not want this file to be created, set the `PYROGRAM_DONOT_LOG_UNKNOWN_ERRORS` environment variable before running the Pyrogram `Client`. .. tip:: + If you want the file to be created in a different location, set the `PYROGRAM_LOG_UNKNOWN_ERRORS_FILENAME` to a file path of your choice.