From 815a13f5ac744dc49bc4ab220e46244425b030ef Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sun, 25 Mar 2018 22:07:31 +0200 Subject: [PATCH] Update docs --- compiler/api/compiler.py | 2 +- docs/source/_static/css/theme.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/api/compiler.py b/compiler/api/compiler.py index d4acf087..d5e26971 100644 --- a/compiler/api/compiler.py +++ b/compiler/api/compiler.py @@ -277,7 +277,7 @@ def start(): docstring_args = "Attributes:\n ID: ``{}``\n\n ".format(c.id) + docstring_args if c.section == "functions": - docstring_args += "\n\n Raises:\n :obj:`pyrogram.Error`" + docstring_args += "\n\n Raises:\n :obj:`Error `" docstring_args += "\n\n Returns:\n " + get_docstring_arg_type(c.return_type) else: references = get_references(".".join(filter(None, [c.namespace, c.name]))) diff --git a/docs/source/_static/css/theme.css b/docs/source/_static/css/theme.css index af6f4489..d6230c77 100644 --- a/docs/source/_static/css/theme.css +++ b/docs/source/_static/css/theme.css @@ -4518,6 +4518,7 @@ footer span.commit code,footer span.commit .rst-content tt,.rst-content footer s line-height:normal } .rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal{ + font-weight:bold; 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{