Update docs

This commit is contained in:
Dan 2018-03-25 22:07:31 +02:00
parent e5c8bcfe14
commit 815a13f5ac
2 changed files with 2 additions and 1 deletions

View File

@ -277,7 +277,7 @@ def start():
docstring_args = "Attributes:\n ID: ``{}``\n\n ".format(c.id) + docstring_args docstring_args = "Attributes:\n ID: ``{}``\n\n ".format(c.id) + docstring_args
if c.section == "functions": if c.section == "functions":
docstring_args += "\n\n Raises:\n :obj:`pyrogram.Error`" docstring_args += "\n\n Raises:\n :obj:`Error <pyrogram.Error>`"
docstring_args += "\n\n Returns:\n " + get_docstring_arg_type(c.return_type) docstring_args += "\n\n Returns:\n " + get_docstring_arg_type(c.return_type)
else: else:
references = get_references(".".join(filter(None, [c.namespace, c.name]))) references = get_references(".".join(filter(None, [c.namespace, c.name])))

View File

@ -4518,6 +4518,7 @@ footer span.commit code,footer span.commit .rst-content tt,.rst-content footer s
line-height:normal line-height:normal
} }
.rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal{ .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal{
font-weight:bold;
color:#404040 color:#404040
} }
.rst-content tt.xref,a .rst-content tt,.rst-content tt.xref,.rst-content code.xref,a .rst-content tt,a .rst-content code{ .rst-content tt.xref,a .rst-content tt,.rst-content tt.xref,.rst-content code.xref,a .rst-content tt,a .rst-content code{