summaryrefslogtreecommitdiff
path: root/sphinx/directives.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-08-04 22:45:13 +0000
committerGeorg Brandl <georg@python.org>2007-08-04 22:45:13 +0000
commit0dc5e041ad86b19cbc98166571bf386475754eab (patch)
tree3526d0082852d4e724242c6634db8aed84f24ba8 /sphinx/directives.py
parent8809f4163cb5bc712159bea68b50dd1b6792e704 (diff)
downloadsphinx-git-0dc5e041ad86b19cbc98166571bf386475754eab.tar.gz
Fix a whole load of markup glitches introduced mostly by the converter.
Many thanks to Tim Hatch for finding them, and thanks to Emacs for making it easy to fix them :)
Diffstat (limited to 'sphinx/directives.py')
-rw-r--r--sphinx/directives.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/directives.py b/sphinx/directives.py
index 98ab350ac..3c5f15329 100644
--- a/sphinx/directives.py
+++ b/sphinx/directives.py
@@ -154,7 +154,6 @@ def parse_py_signature(signode, sig, desctype, currmodule, currclass):
signode += addnodes.desc_parameterlist()
stack = [signode[-1]]
- arglist = arglist.replace('`', '').replace(r'\ ', '') # remove markup
for token in py_paramlist_re.split(arglist):
if token == '[':
opt = addnodes.desc_optional()
@@ -394,7 +393,7 @@ directives.register_directive('versionchanged', version_directive)
def seealso_directive(name, arguments, options, content, lineno,
content_offset, block_text, state, state_machine):
rv = admonitions.make_admonition(
- addnodes.seealso, name, ['See also:'], options, content,
+ addnodes.seealso, name, ['See also'], options, content,
lineno, content_offset, block_text, state, state_machine)
return rv