From 04b1f3bffbd1ffc0f5bf12c46b8d7f0d0c31f589 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Thu, 15 Oct 2009 16:38:14 +0200 Subject: [PATCH] Use same bullet level for functions and classes. --- doc/tools/apigen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tools/apigen.py b/doc/tools/apigen.py index cf89e66a..f9392bbe 100644 --- a/doc/tools/apigen.py +++ b/doc/tools/apigen.py @@ -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