diff options
author | Walter Doerwald <walter@livinglogic.de> | 2021-06-14 14:02:19 +0200 |
---|---|---|
committer | Walter Doerwald <walter@livinglogic.de> | 2021-06-14 14:02:19 +0200 |
commit | 9aedeee53891bcbbba0b0adaf72a3e30f99a00f7 (patch) | |
tree | 64493dbaae5e221e50260734bc75ad7ad831d0b9 /sphinx/writers/html5.py | |
parent | 798adc4f57ef0fd3b79e90ef6176c1f554b4e53b (diff) | |
download | sphinx-git-9aedeee53891bcbbba0b0adaf72a3e30f99a00f7.tar.gz |
Remove configuration option html_signaturereturn_icon.
Diffstat (limited to 'sphinx/writers/html5.py')
-rw-r--r-- | sphinx/writers/html5.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/writers/html5.py b/sphinx/writers/html5.py index 1df9bb466..95dc92052 100644 --- a/sphinx/writers/html5.py +++ b/sphinx/writers/html5.py @@ -145,9 +145,9 @@ class HTML5Translator(SphinxTranslator, BaseTranslator): pass def visit_desc_returns(self, node: Element) -> None: - self.body.append(' <span class="sig-return"><span class="sig-return-icon">') - self.body.append(self.config.html_signaturereturn_icon) - self.body.append('</span> <span class="sig-return-typehint">') + self.body.append(' <span class="sig-return">') + self.body.append('<span class="sig-return-icon">→</span>') + self.body.append(' <span class="sig-return-typehint">') def depart_desc_returns(self, node: Element) -> None: self.body.append('</span></span>') |