From 83d298accce9cbc8be1449558309322941556555 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 25 Dec 2013 21:29:54 -0500 Subject: Add note about how to submit doc changes to generated module docs, limit TOC depth for module category list. --- hacking/module_formatter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hacking') diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py index a6c0cf0eaf..237486db24 100755 --- a/hacking/module_formatter.py +++ b/hacking/module_formatter.py @@ -310,9 +310,10 @@ def main(): category_list_file.write("============\n") category_list_file.write("\n\n") category_list_file.write(".. toctree::\n") + category_list_file.write(" :maxdepth: 1\n\n") for category in category_names: - category_list_file.write(" list_of_%s_modules\n" % category) + category_list_file.write(" list_of_%s_modules\n" % category) process_category(category, categories, options, env, template, outputname) category_list_file.close() -- cgit v1.2.1