From 48b4e59bd72f16f9dcc0848f87b92af391c44e7e Mon Sep 17 00:00:00 2001 From: liuxiaoyang Date: Tue, 20 Jun 2017 14:51:15 +0800 Subject: [PATCH] Move the imports to the top of the file Imports are always put at the top of the file, just after any module comments and docstrings, and before module globals and constants. Change-Id: If04b73724ab08d0d62282c36c75e54ef9cdda67f --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 1bfb27a44..520de58e9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,9 +25,10 @@ import sys -sys.path.append('..') from packstack.version import version_info +sys.path.append('..') + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here.