summaryrefslogtreecommitdiff
path: root/sphinx/writers/html5.py
diff options
context:
space:
mode:
authorWalter Doerwald <walter@livinglogic.de>2021-06-14 14:02:19 +0200
committerWalter Doerwald <walter@livinglogic.de>2021-06-14 14:02:19 +0200
commit9aedeee53891bcbbba0b0adaf72a3e30f99a00f7 (patch)
tree64493dbaae5e221e50260734bc75ad7ad831d0b9 /sphinx/writers/html5.py
parent798adc4f57ef0fd3b79e90ef6176c1f554b4e53b (diff)
downloadsphinx-git-9aedeee53891bcbbba0b0adaf72a3e30f99a00f7.tar.gz
Remove configuration option html_signaturereturn_icon.
Diffstat (limited to 'sphinx/writers/html5.py')
-rw-r--r--sphinx/writers/html5.py6
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">&#x2192;</span>')
+ self.body.append(' <span class="sig-return-typehint">')
def depart_desc_returns(self, node: Element) -> None:
self.body.append('</span></span>')