|
14 | 14 |
|
15 | 15 | import sys |
16 | 16 | import os |
| 17 | +import time |
17 | 18 |
|
18 | 19 | # If extensions (or modules to document with autodoc) are in another directory, |
19 | 20 | # add these directories to sys.path here. If the directory is relative to the |
|
57 | 58 | # built documents. |
58 | 59 | # |
59 | 60 | # The short X.Y version. |
60 | | -version = u'0.1' |
| 61 | +version = u'0.1-pre1' |
61 | 62 | # The full version, including alpha/beta/rc tags. |
62 | | -release = u'0.1' |
| 63 | +release = u'0.1-pre1-%s' % time.strftime('%Y%m%d') |
63 | 64 |
|
64 | 65 | # The language for content autogenerated by Sphinx. Refer to documentation |
65 | 66 | # for a list of supported languages. |
|
72 | 73 | # non-false value, then it is used: |
73 | 74 | #today = '' |
74 | 75 | # Else, today_fmt is used as the format for a strftime call. |
75 | | -#today_fmt = '%B %d, %Y' |
| 76 | +today_fmt = '%d %B %Y' |
76 | 77 |
|
77 | 78 | # List of patterns, relative to source directory, that match files and |
78 | 79 | # directories to ignore when looking for source files. |
|
228 | 229 | #'pointsize': '10pt', |
229 | 230 |
|
230 | 231 | # Additional stuff for the LaTeX preamble. |
231 | | - 'preamble': '\\usepackage{draftwatermark}\\SetWatermarkText{DRAFT v%s}'%release, |
| 232 | + 'preamble': '\\usepackage{draftwatermark}\\SetWatermarkScale{.45}\\SetWatermarkText{DRAFT v%s}' % release |
232 | 233 |
|
233 | 234 | # Latex figure (float) alignment |
234 | 235 | #'figure_align': 'htbp', |
|
238 | 239 | # (source start file, target name, title, |
239 | 240 | # author, documentclass [howto, manual, or own class]). |
240 | 241 | latex_documents = [ |
241 | | - (master_doc, 'DevicetreeSpecification.tex', u'Devicetree Specification Documentation', |
| 242 | + (master_doc, 'devicetree-specification.tex', u'Devicetree Specification', |
242 | 243 | u'devicetree.org', 'manual'), |
243 | 244 | ] |
244 | 245 |
|
|
268 | 269 | # One entry per manual page. List of tuples |
269 | 270 | # (source start file, name, description, authors, manual section). |
270 | 271 | man_pages = [ |
271 | | - (master_doc, 'devicetreespecification', u'Devicetree Specification Documentation', |
| 272 | + (master_doc, 'devicetree-specification', u'Devicetree Specification', |
272 | 273 | [author], 1) |
273 | 274 | ] |
274 | 275 |
|
|
282 | 283 | # (source start file, target name, title, author, |
283 | 284 | # dir menu entry, description, category) |
284 | 285 | texinfo_documents = [ |
285 | | - (master_doc, 'DevicetreeSpecification', u'Devicetree Specification Documentation', |
286 | | - author, 'DevicetreeSpecification', 'One line description of project.', |
| 286 | + (master_doc, 'devicetree-specification', u'Devicetree Specification', |
| 287 | + author, 'DevicetreeSpecification', 'Devicetree hardware description language specification.', |
287 | 288 | 'Miscellaneous'), |
288 | 289 | ] |
289 | 290 |
|
|
0 commit comments