Added full support of Bot API 8.1 (#1617)

* Added full support of Bot API 8.1

* Remove  artifacts from types and methods (model_* methods)
This commit is contained in:
Alex Root Junior 2024-12-14 19:30:12 +02:00 committed by GitHub
parent 6520b9fba2
commit 782796c217
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 433 additions and 51 deletions

View file

@ -69,3 +69,14 @@ texinfo_documents = [
towncrier_draft_autoversion_mode = "draft"
towncrier_draft_include_empty = False
towncrier_draft_working_directory = Path(__file__).parent.parent
def skip_model_prefixed_members(app, what, name, obj, skip, options):
# Skip any member whose name starts with "model_"
if name.startswith("model_"):
return True
return skip
def setup(app):
app.connect("autodoc-skip-member", skip_model_prefixed_members)