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