comparison doc/conf.py @ 154:28164259aa83

FIX: Build docu with Python: remove all warnings
author Franz Glasner <hg@dom66.de>
date Sat, 14 Apr 2018 17:32:22 +0200
parents d51a18e5b0e3
children e2e8d21b4122
comparison
equal deleted inserted replaced
153:4b10bd85610b 154:28164259aa83
15 import os 15 import os
16 import sys 16 import sys
17 sys.path.insert(0, os.path.dirname(os.path.abspath('.'))) 17 sys.path.insert(0, os.path.dirname(os.path.abspath('.')))
18 18
19 import configmix 19 import configmix
20 from configmix.compat import u
20 21
21 22
22 # -- Project information ----------------------------------------------------- 23 # -- Project information -----------------------------------------------------
23 24
24 project = 'ConfigMix' 25 project = 'ConfigMix'
25 copyright = '2015–2018, Franz Glasner. All rights reserved' 26 copyright = u('2015–2018, Franz Glasner. All rights reserved')
26 author = 'Franz Glasner' 27 author = 'Franz Glasner'
27 28
28 # The short X.Y version 29 # The short X.Y version
29 version = '.'.join(configmix.__version__.split('.')[:2]) 30 version = '.'.join(configmix.__version__.split('.')[:2])
30 # The full version, including alpha/beta/rc tags 31 # The full version, including alpha/beta/rc tags
157 158
158 # Grouping the document tree into LaTeX files. List of tuples 159 # Grouping the document tree into LaTeX files. List of tuples
159 # (source start file, target name, title, 160 # (source start file, target name, title,
160 # author, documentclass [howto, manual, or own class]). 161 # author, documentclass [howto, manual, or own class]).
161 latex_documents = [ 162 latex_documents = [
162 (master_doc, 'ConfigMix.tex', '“ConfigMix” Documentation', 163 (master_doc, 'ConfigMix.tex', '"ConfigMix" Documentation',
163 'Franz Glasner', 'manual', True), 164 'Franz Glasner', 'manual', True),
164 ] 165 ]
165 166
166 latex_show_urls = 'footnote' 167 latex_show_urls = 'footnote'
167 #latex_show_pagerefs = True 168 #latex_show_pagerefs = True
181 182
182 # Grouping the document tree into Texinfo files. List of tuples 183 # Grouping the document tree into Texinfo files. List of tuples
183 # (source start file, target name, title, author, 184 # (source start file, target name, title, author,
184 # dir menu entry, description, category) 185 # dir menu entry, description, category)
185 texinfo_documents = [ 186 texinfo_documents = [
186 (master_doc, 'ConfigMix', 'ConfigMix Documentation', 187 (master_doc, 'ConfigMix', '"ConfigMix" Documentation',
187 author, 'ConfigMix', 'One line description of project.', 188 author, 'ConfigMix', 'One line description of project.',
188 'Miscellaneous'), 189 'Miscellaneous'),
189 ] 190 ]
190 191
191 192