[1.3.x] Fixed djangodocs Sphinx extension to work with latest Sphinx
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Backport of 66fd824ee0
from master
This commit is contained in:
parent
8892b0c2c3
commit
e982cbd4a1
|
@ -140,6 +140,7 @@ class DjangoHTMLTranslator(SmartyPantsHTMLTranslator):
|
|||
def visit_desc_parameterlist(self, node):
|
||||
self.body.append('(')
|
||||
self.first_param = 1
|
||||
self.param_separator = node.child_text_separator
|
||||
|
||||
def depart_desc_parameterlist(self, node):
|
||||
self.body.append(')')
|
||||
|
|
Loading…
Reference in New Issue