From f68a407998382caec8db78e681b890efe78ca35c Mon Sep 17 00:00:00 2001 From: "Ivan A. Melnikov" Date: Thu, 13 Mar 2014 11:26:25 +0400 Subject: [PATCH] docs: Ingore 'taskflow.' prefix when sorting module index This makes e.g. 'taskflow.atom' appear under 'a', not under 't'. Related blueprint sphinx-docs Change-Id: I4810f25d8145ead96b022faddf9c9d69b7fa0760 --- doc/source/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/source/conf.py b/doc/source/conf.py index 8b354006e..fb380967d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -46,6 +46,10 @@ add_module_names = True # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' +# Prefixes that are ignored for sorting the Python module index +modindex_common_prefix = ['taskflow.'] + + # -- Options for HTML output -------------------------------------------------- # The theme to use for HTML and HTML Help pages. Major themes that come with