openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #07552
[Merge] lp:~raoul-snyman/openlp/documentation into lp:openlp
Raoul Snyman has proposed merging lp:~raoul-snyman/openlp/documentation into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~raoul-snyman/openlp/documentation/+merge/55023
Some magic to make Qt Help and HTML Help builds use the "compiled help" theme, and the HTML build to use the normal HTML theme.
--
https://code.launchpad.net/~raoul-snyman/openlp/documentation/+merge/55023
Your team OpenLP Core is requested to review the proposed merge of lp:~raoul-snyman/openlp/documentation into lp:openlp.
=== modified file 'documentation/manual/source/conf.py'
--- documentation/manual/source/conf.py 2011-03-23 08:45:28 +0000
+++ documentation/manual/source/conf.py 2011-03-27 21:06:34 +0000
@@ -42,7 +42,7 @@
# General information about the project.
project = u'OpenLP'
-copyright = u'2010, Raoul Snyman'
+copyright = u'2004 - 2011, 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
@@ -92,19 +92,30 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+if sys.argv[2] == 'qthelp' or sys.argv[2] == 'htmlhelp':
+ html_theme = 'openlp_qthelp'
+else:
+ html_theme = 'default'
# 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.
-#html_theme_options = {}
+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 = []
+html_theme_path = [os.path.join(os.path.abspath('..'), 'themes')]
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
-#html_title = None
+html_title = u'OpenLP 2.0 Reference Manual'
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
@@ -125,7 +136,7 @@
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
-#html_last_updated_fmt = '%b %d, %Y'
+html_last_updated_fmt = '%b %d, %Y'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
@@ -165,7 +176,7 @@
#html_file_suffix = None
# Output file base name for HTML help builder.
-htmlhelp_basename = 'OpenLPdoc'
+htmlhelp_basename = 'OpenLP'
# -- Options for LaTeX output --------------------------------------------------
@@ -179,7 +190,7 @@
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
- ('index', 'OpenLP.tex', u'OpenLP Documentation',
+ ('index', 'OpenLP.tex', u'OpenLP Reference Manual',
u'Wesley Stout', 'manual'),
]
@@ -212,6 +223,6 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
- ('index', 'openlp', u'OpenLP Documentation',
+ ('index', 'openlp', u'OpenLP Reference Manual',
[u'Wesley Stout'], 1)
]
Follow ups