summaryrefslogtreecommitdiff
path: root/sphinx/directives/other.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-04-22 03:28:12 +0100
committerAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-04-22 04:21:38 +0100
commitcbe0c99181ba9398b5905a34dde7dc96dd369fd8 (patch)
tree9d7443c4641d2430da956e08bcad1c47a8cc763d /sphinx/directives/other.py
parent644a754ba12030a40c873ac8f62656c5d3d9cc82 (diff)
downloadsphinx-git-cbe0c99181ba9398b5905a34dde7dc96dd369fd8.tar.gz
`rawsource` is deprecated in `docutils.nodes.Text`
Diffstat (limited to 'sphinx/directives/other.py')
-rw-r--r--sphinx/directives/other.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py
index 83cbb6707..083fa088a 100644
--- a/sphinx/directives/other.py
+++ b/sphinx/directives/other.py
@@ -172,7 +172,7 @@ class Author(SphinxDirective):
text = _('Code author: ')
else:
text = _('Author: ')
- emph += nodes.Text(text, text)
+ emph += nodes.Text(text)
inodes, messages = self.state.inline_text(self.arguments[0], self.lineno)
emph.extend(inodes)