update conf to new theme and version.

This commit is contained in:
Tomas Groth 2015-09-06 16:22:40 +01:00
parent 4eff20472c
commit 9e7624fad2
1 changed files with 16 additions and 16 deletions

View File

@ -42,16 +42,16 @@ master_doc = 'index'
# General information about the project.
project = u'OpenLP'
copyright = u'2004 - 2012, Raoul Snyman'
copyright = u'2004 - 2015, Raoul Snyman'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '2.0'
version = '2.2'
# The full version, including alpha/beta/rc tags.
release = '2.0'
release = '2.2'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@ -95,27 +95,27 @@ pygments_style = 'sphinx'
if sys.argv[2] == 'qthelp' or sys.argv[2] == 'htmlhelp':
html_theme = 'openlp_qthelp'
else:
html_theme = 'classic'
html_theme = 'sphinx_rtd_theme'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
if sys.argv[2] == 'html':
html_theme_options = {
'sidebarbgcolor': '#3a60a9',
'relbarbgcolor': '#203b6f',
'footerbgcolor': '#26437c',
'headtextcolor': '#203b6f',
'linkcolor': '#26437c',
'sidebarlinkcolor': '#ceceff'
}
#if sys.argv[2] == 'html':
# html_theme_options = {
# 'sidebarbgcolor': '#3a60a9',
# 'relbarbgcolor': '#203b6f',
# 'footerbgcolor': '#26437c',
# 'headtextcolor': '#203b6f',
# 'linkcolor': '#26437c',
# 'sidebarlinkcolor': '#ceceff'
# }
# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [os.path.abspath(os.path.join('..', '..', 'common', 'themes'))]
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
html_title = u'OpenLP 2.0 Reference Manual'
html_title = u'OpenLP 2.2 Reference Manual'
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
@ -191,7 +191,7 @@ htmlhelp_basename = 'OpenLP'
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'OpenLP.tex', u'OpenLP Reference Manual',
u'Wesley Stout', 'manual'),
u'OpenLP Developers', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@ -224,7 +224,7 @@ latex_documents = [
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'openlp', u'OpenLP Reference Manual',
[u'Wesley Stout'], 1)
[u'OpenLP Developers'], 1)
]
# -- Options for apple help output --------------------------------------------