From 676b329f42745c64962cc33ffdb61a5cd0d48802 Mon Sep 17 00:00:00 2001 From: Pete Peterson Date: Wed, 20 Aug 2014 14:56:23 -0400 Subject: [PATCH] Re #10137. Fixing python whitespace in Code/Mantid/docs tree --- Code/Mantid/docs/conf-html.py | 2 +- Code/Mantid/docs/sphinxext/mantiddoc/autodoc.py | 2 +- Code/Mantid/docs/sphinxext/mantiddoc/directives/categories.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/Mantid/docs/conf-html.py b/Code/Mantid/docs/conf-html.py index 116aae3b898a..38bafbb6e6df 100644 --- a/Code/Mantid/docs/conf-html.py +++ b/Code/Mantid/docs/conf-html.py @@ -3,7 +3,7 @@ # serve to show the default. # # Options here are applied and assumed to be those required when the builder is set the "html". -# For common options see conf.py.in. This file is presumed to be "execfiled" by the main conf.py.in +# For common options see conf.py.in. This file is presumed to be "execfiled" by the main conf.py.in # -- Override options for non-embedded standalone HTML output -------------------------------------------- diff --git a/Code/Mantid/docs/sphinxext/mantiddoc/autodoc.py b/Code/Mantid/docs/sphinxext/mantiddoc/autodoc.py index 15d7e33fa424..7817b508f976 100644 --- a/Code/Mantid/docs/sphinxext/mantiddoc/autodoc.py +++ b/Code/Mantid/docs/sphinxext/mantiddoc/autodoc.py @@ -11,7 +11,7 @@ def skip(app, what, name, obj, skip, options): name: the fully qualified name of the object obj: the object itself skip: a boolean indicating if autodoc will skip this member if the user handler does not override the decision - options: the options given to the directive: an object with attributes inherited_members, undoc_members, + options: the options given to the directive: an object with attributes inherited_members, undoc_members, show_inheritance and noindex that are true if the flag option of same name was given to the auto directive """ if name == "__init__": diff --git a/Code/Mantid/docs/sphinxext/mantiddoc/directives/categories.py b/Code/Mantid/docs/sphinxext/mantiddoc/directives/categories.py index 50e187018671..dfb7b9f204a4 100644 --- a/Code/Mantid/docs/sphinxext/mantiddoc/directives/categories.py +++ b/Code/Mantid/docs/sphinxext/mantiddoc/directives/categories.py @@ -106,7 +106,7 @@ def __init__(self, name, docname): dirpath, filename = os.path.split(docname) html_dir = dirpath + "/" + CATEGORIES_DIR self.html_path = html_dir + "/" + name + ".html" - + super(Category, self).__init__(name, self.html_path) self.pages = set([]) self.subcategories = set([])