diff --git a/tests/test_repo/docs/source/conf.py b/tests/test_repo/docs/source/conf.py index 2c975fd22..f6a8a16c9 100644 --- a/tests/test_repo/docs/source/conf.py +++ b/tests/test_repo/docs/source/conf.py @@ -37,8 +37,7 @@ repos = [] for repo in os.listdir(repos_home): if os.path.isdir(os.path.join(repos_home, repo)) and \ - not repo.startswith('.') and \ - 'broken' not in repo: + not repo.startswith('.') and 'broken' not in repo: repos += repo addons_paths = [] @@ -49,6 +48,7 @@ def add_path(*paths): os.path.join(*paths) ) + add_path(odoo_root, 'openerp', 'addons') add_path(odoo_root, 'addons') add_path(build_path) @@ -70,7 +70,7 @@ def add_path(*paths): addons += directory print('dirs=%s' % dirs) -## sphinxodoo.ext.autodoc variables +# sphinxodoo.ext.autodoc variables sphinxodoo_root_path = odoo_root sphinxodoo_addons = addons sphinxodoo_addons_path = ['.', @@ -79,7 +79,6 @@ def add_path(*paths): sys.path.append(build_path) sphinxodoo_addons = [] - # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. @@ -172,7 +171,6 @@ def add_path(*paths): # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True - # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for @@ -199,7 +197,8 @@ def add_path(*paths): # html_logo = None # The name of an image file (relative to this directory) to use as a favicon of -# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 +# the docs. This file should be a Windows icon file (.ico) being +# 16x16 or 32x32 # pixels large. # html_favicon = None