Skip to content

Commit

Permalink
style fixes in sphinx conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Sep 22, 2013
1 parent a226702 commit bfb058d
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions docs/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os

# 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.
Expand All @@ -25,6 +22,8 @@
# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'

from __future__ import unicode_literals

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
Expand All @@ -43,10 +42,10 @@
master_doc = 'index'

# General information about the project.
project = u'Nikola'
copyright = u'2013, The Nikola Contributors'
project = 'Nikola'
copyright = '2013, The Nikola Contributors'

# The version info for the project you're documenting, acts as replacement for
# The version info for the project yo're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
Expand Down Expand Up @@ -182,22 +181,22 @@
# -- Options for LaTeX output ---------------------------------------------

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',

# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',

# Additional stuff for the LaTeX preamble.
#'preamble': '',
# Additional stuff for the LaTeX preamble.
#'preamble': '',
}

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto/manual]).
latex_documents = [
('index', 'Nikola.tex', u'Nikola Documentation',
u'The Nikola Contributors', 'manual'),
('index', 'Nikola.tex', 'Nikola Documentation',
'The Nikola Contributors', 'manual'),
]

# The name of an image file (relative to this directory) to place at the top of
Expand Down Expand Up @@ -226,8 +225,8 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'nikola', u'Nikola Documentation',
[u'The Nikola Contributors'], 1)
('index', 'nikola', 'Nikola Documentation',
['The Nikola Contributors'], 1)
]

# If true, show URL addresses after external links.
Expand All @@ -240,9 +239,9 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'Nikola', u'Nikola Documentation',
u'The Nikola Contributors', 'Nikola', 'One line description of project.',
'Miscellaneous'),
('index', 'Nikola', 'Nikola Documentation',
'The Nikola Contributors', 'Nikola', 'One line description of project.',
'Miscellaneous'),
]

# Documents to append as an appendix to all manuals.
Expand Down

0 comments on commit bfb058d

Please sign in to comment.