mirror of
https://github.com/django/django.git
synced 2024-11-28 10:48:32 +01:00
A noble spirit no longer embiggens the smallest function signatures.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
471533fb93
commit
e3fad41859
@ -79,7 +79,16 @@ class DjangoHTMLTranslator(sphinx.htmlwriter.SmartyPantsHTMLTranslator):
|
||||
# Don't use border=1, which docutils does by default.
|
||||
def visit_table(self, node):
|
||||
self.body.append(self.starttag(node, 'table', CLASS='docutils'))
|
||||
|
||||
|
||||
# <big>? Really?
|
||||
def visit_desc_parameterlist(self, node):
|
||||
self.body.append('(')
|
||||
self.first_param = 1
|
||||
|
||||
def depart_desc_parameterlist(self, node):
|
||||
self.body.append(')')
|
||||
pass
|
||||
|
||||
# Give each section a unique ID -- nice for custom CSS hooks
|
||||
# This is different on docutils 0.5 vs. 0.4...
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user