summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRay Chen <oldsharp@163.com>2012-08-29 13:40:09 +0800
committerRay Chen <oldsharp@163.com>2012-08-29 13:43:15 +0800
commit93b5997843af55f6cbf22898499dbfe0153d0d41 (patch)
tree467fc3183507285d025c7042c4f442f8a411f42c /doc
parentc94ca0e298164bec8773b2f93d5d1fa8521ea0ef (diff)
downloadpython-swiftclient-93b5997843af55f6cbf22898499dbfe0153d0d41.tar.gz
PEP8 issues fixed
1. Have a better indent in doc/source/conf.py 2. Fix an import issue Change-Id: I5811c195157706d2a85c0fd47666e67f94b2c558
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index ca149f5..a82c1ed 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -15,6 +15,9 @@
import sys
import os
+import swiftclient
+
+
# 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.
@@ -25,7 +28,6 @@ ROOT = os.path.abspath(os.path.join(BASE_DIR, "..", ".."))
sys.path.insert(0, ROOT)
-import swiftclient
# -- General configuration ----------------------------------------------------
@@ -184,8 +186,8 @@ htmlhelp_basename = 'SwiftClientwebdoc'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual])
latex_documents = [
- ('index', 'SwiftClient.tex', u'SwiftClient Documentation',
- u'OpenStack, LLC.', 'manual'),
+ ('index', 'SwiftClient.tex', u'SwiftClient Documentation',
+ u'OpenStack, LLC.', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of