mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 03:22:29 +00:00
Don't link generic arguments on the docs
This commit is contained in:
@@ -221,9 +221,12 @@ def generate_documentation(scheme_file):
|
||||
bold=True)
|
||||
|
||||
# Type row
|
||||
docs.add_row(arg.type,
|
||||
link=get_path_for_type(arg.type, relative_to=filename),
|
||||
align='center')
|
||||
if arg.is_generic:
|
||||
docs.add_row('!' + arg.type, align='center')
|
||||
else:
|
||||
docs.add_row(arg.type,
|
||||
link=get_path_for_type(arg.type, relative_to=filename),
|
||||
align='center')
|
||||
|
||||
# Create a description for this argument
|
||||
description = ''
|
||||
|
Reference in New Issue
Block a user