From 7ddd21ea92edc338261c54082a8a6269146b2be3 Mon Sep 17 00:00:00 2001 From: lrqrun Date: Wed, 29 Aug 2012 15:24:42 +0800 Subject: Fix PEP8 issues. Fix some pep8 issues in doc/source/conf.py make the code looks pretty. Change-Id: I2727a55ba2e1c0a8a517fd1e0a51b5005d2c535f --- doc/source/conf.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'doc') 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'), ] -- cgit