summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2011-05-15 23:02:36 +0000
committerTim Graham <timograham@gmail.com>2014-07-18 13:07:31 +0000
commite982cbd4a13a17e8c9246860fec8be8716519a66 (patch)
treec38fe1fcc706d5b0591a873a466678f5e69569d7
parent8892b0c2c36e67ea8470de302a51f12654df668a (diff)
[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
-rw-r--r--docs/_ext/djangodocs.py1
1 files changed, 1 insertions, 0 deletions
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(')')