mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
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
This commit is contained in:
parent
ce6072aa96
commit
66fd824ee0
@ -134,6 +134,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
Block a user