From 2ba5c3c66bb68659df79c430e7d5e2cf1f89aad1 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 4 Nov 2014 18:14:30 -0500 Subject: [PATCH] added blank line before section to avoid sphinx warnings --- hacking/module_formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py index d868156ef20..73c3045479d 100755 --- a/hacking/module_formatter.py +++ b/hacking/module_formatter.py @@ -372,7 +372,7 @@ def process_category(category, categories, options, env, template, outputname): sections.sort() for section in sections: - category_file.write("%s\n%s\n\n" % (section.replace("_"," ").title(),'-' * len(section))) + category_file.write("\n%s\n%s\n\n" % (section.replace("_"," ").title(),'-' * len(section))) category_file.write(".. toctree:: :maxdepth: 1\n\n") section_modules = module_map[section].keys()