From e982cbd4a13a17e8c9246860fec8be8716519a66 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Sun, 15 May 2011 23:02:36 +0000 Subject: [PATCH] [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 --- docs/_ext/djangodocs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py index ee960f1a2a..003e4ab588 100644 --- a/docs/_ext/djangodocs.py +++ b/docs/_ext/djangodocs.py @@ -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(')')