Use same bullet level for functions and classes.

This commit is contained in:
Ralf Gommers
2009-10-16 11:08:34 +02:00
parent 0df02263a1
commit 04b1f3bffb
+1 -1
View File
@@ -274,7 +274,7 @@ class ApiDocWriter(object):
# must NOT exclude from index to keep cross-refs working
full_f = uri + '.' + f
ad += f + '\n'
ad += self.rst_section_levels[3] * len(f) + '\n'
ad += self.rst_section_levels[2] * len(f) + '\n'
ad += '\n.. autofunction:: ' + full_f + '\n\n'
return ad