summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRay Chen <oldsharp@163.com>2012-08-21 17:48:39 +0800
committerRay Chen <oldsharp@163.com>2012-08-31 20:16:10 +0800
commitafa8b9431bf5c41d3f5d7795c58702ecb2b8e21c (patch)
tree1ca073e4cc36959a3b3862ed9ff880203c8c543a /doc
parent5cbb9d0ed8505f97c082336e7777c72893338b02 (diff)
downloadoslo-afa8b9431bf5c41d3f5d7795c58702ecb2b8e21c.tar.gz
oslo-afa8b9431bf5c41d3f5d7795c58702ecb2b8e21c.tar.xz
oslo-afa8b9431bf5c41d3f5d7795c58702ecb2b8e21c.zip
Code cleanup
Move the 'project' variable to the appropriate position. Change-Id: Ifc2f8fdd2d3887e68b4d537d30d17b8c61cfba20
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py16
1 files changed, 7 insertions, 9 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 8d3dece..4bf3b22 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -1,11 +1,8 @@
# -*- coding: utf-8 -*-
-#
import os
import sys
-project = 'openstack-common'
-
# -- General configuration ----------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
@@ -26,6 +23,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
+project = u'openstack-common'
copyright = u'OpenStack LLC'
# If true, '()' will be appended to :func: etc. cross-reference text.
@@ -49,13 +47,13 @@ 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,
- u'%s Documentation' % project,
- u'OpenStack LLC', 'manual'),
+ ('index',
+ '%s.tex' % project,
+ u'%s Documentation' % project,
+ u'OpenStack LLC', 'manual'),
]
# Example configuration for intersphinx: refer to the Python standard library.