summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorlrqrun <lrqrun@gmail.com>2012-08-29 15:24:42 +0800
committerlrqrun <lrqrun@gmail.com>2012-08-29 15:24:42 +0800
commit7ddd21ea92edc338261c54082a8a6269146b2be3 (patch)
tree71e58124c61ab25a60dfeb059b3f99145e62408e /doc
parent33c9880421bdb877005a9c8579d92bf7a96b66ea (diff)
downloadoslo-7ddd21ea92edc338261c54082a8a6269146b2be3.tar.gz
oslo-7ddd21ea92edc338261c54082a8a6269146b2be3.tar.xz
oslo-7ddd21ea92edc338261c54082a8a6269146b2be3.zip
Fix PEP8 issues.
Fix some pep8 issues in doc/source/conf.py make the code looks pretty. Change-Id: I2727a55ba2e1c0a8a517fd1e0a51b5005d2c535f
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 5849d98..8d3dece 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -1,14 +1,15 @@
# -*- coding: utf-8 -*-
#
-import sys, os
+import os
+import sys
project = 'openstack-common'
-# -- General configuration -----------------------------------------------------
+# -- General configuration ----------------------------------------------------
-# Add any Sphinx extension module names here, as strings. They can be extensions
-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+# Add any Sphinx extension module names here, as strings. They can be
+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
# autodoc generation is a bit aggressive and a nuisance when doing heavy
@@ -37,7 +38,7 @@ add_module_names = True
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
-# -- Options for HTML output ---------------------------------------------------
+# -- Options for HTML output --------------------------------------------------
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
@@ -48,10 +49,11 @@ htmlhelp_basename = '%sdoc' % project
# Grouping the document tree into LaTeX files. List of tuples
-# (source start file, target name, title, author, documentclass [howto/manual]).
+# (source start file, target name, title, author, documentclass [howto/manual])
+# .
latex_documents = [
- ('index',
- '%s.tex' % project,
+ ('index',
+ '%s.tex' % project,
u'%s Documentation' % project,
u'OpenStack LLC', 'manual'),
]