comparison doc/conf.py @ 159:f7114e4f3938

Adjust the HTML title for the "haiku" theme
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 21 Feb 2019 22:58:44 +0100
parents e2e8d21b4122
children ff03cdf36139
comparison
equal deleted inserted replaced
158:ab6a48ff5235 159:f7114e4f3938
91 # The theme to use for HTML and HTML Help pages. See the documentation for 91 # The theme to use for HTML and HTML Help pages. See the documentation for
92 # a list of builtin themes. 92 # a list of builtin themes.
93 # 93 #
94 #html_theme = 'alabaster' 94 #html_theme = 'alabaster'
95 html_theme = 'haiku' 95 html_theme = 'haiku'
96 # for the Haiku title
97 html_short_title = u("%s %s") % (project, release)
96 98
97 # Theme options are theme-specific and customize the look and feel of a theme 99 # Theme options are theme-specific and customize the look and feel of a theme
98 # further. For a list of options available for each theme, see the 100 # further. For a list of options available for each theme, see the
99 # documentation. 101 # documentation.
100 # 102 #
137 139
138 # Additional stuff for the LaTeX preamble. 140 # Additional stuff for the LaTeX preamble.
139 # 141 #
140 # NOTE: "inconsolata" in "fontpkg" errors within pdfTeX: seems to be 142 # NOTE: "inconsolata" in "fontpkg" errors within pdfTeX: seems to be
141 # incompatible with some header package. 143 # incompatible with some header package.
142 # 144 #
143 'preamble': r''' 145 'preamble': r'''
144 \usepackage{inconsolata} 146 \usepackage{inconsolata}
145 ''', 147 ''',
146 148
147 'fontpkg': r''' 149 'fontpkg': r'''
148 \usepackage{charter} 150 \usepackage{charter}
149 \usepackage[defaultsans]{lato} 151 \usepackage[defaultsans]{lato}
150 ''', 152 ''',
151 153
152 # Latex figure (float) alignment 154 # Latex figure (float) alignment
153 # 155 #
154 # 'figure_align': 'htbp', 156 # 'figure_align': 'htbp',
155 # Use "Version" instead of "Release" on the title 157 # Use "Version" instead of "Release" on the title