Mercurial > hgrepos > Python > libs > ConfigMix
comparison doc/conf.py @ 67:9d0d9446de08
Annotate LaTeX output with page numbers and show URL targets in the footnotes.
Also change the paper size to A4.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 01 Mar 2018 12:26:37 +0100 |
| parents | e78f307f81a0 |
| children | 025005f1234f |
comparison
equal
deleted
inserted
replaced
| 66:e78f307f81a0 | 67:9d0d9446de08 |
|---|---|
| 63 # The language for content autogenerated by Sphinx. Refer to documentation | 63 # The language for content autogenerated by Sphinx. Refer to documentation |
| 64 # for a list of supported languages. | 64 # for a list of supported languages. |
| 65 # | 65 # |
| 66 # This is also used if you do content translation via gettext catalogs. | 66 # This is also used if you do content translation via gettext catalogs. |
| 67 # Usually you set "language" from the command line for these cases. | 67 # Usually you set "language" from the command line for these cases. |
| 68 language = None | 68 language = 'en' |
| 69 | 69 |
| 70 # List of patterns, relative to source directory, that match files and | 70 # List of patterns, relative to source directory, that match files and |
| 71 # directories to ignore when looking for source files. | 71 # directories to ignore when looking for source files. |
| 72 # This pattern also affects html_static_path and html_extra_path . | 72 # This pattern also affects html_static_path and html_extra_path . |
| 73 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] | 73 exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 117 # -- Options for LaTeX output ------------------------------------------------ | 117 # -- Options for LaTeX output ------------------------------------------------ |
| 118 | 118 |
| 119 latex_elements = { | 119 latex_elements = { |
| 120 # The paper size ('letterpaper' or 'a4paper'). | 120 # The paper size ('letterpaper' or 'a4paper'). |
| 121 # | 121 # |
| 122 # 'papersize': 'letterpaper', | 122 'papersize': 'a4paper', |
| 123 | 123 |
| 124 # The font size ('10pt', '11pt' or '12pt'). | 124 # The font size ('10pt', '11pt' or '12pt'). |
| 125 # | 125 # |
| 126 # 'pointsize': '10pt', | 126 # 'pointsize': '10pt', |
| 127 | 127 |
| 130 # 'preamble': '', | 130 # 'preamble': '', |
| 131 | 131 |
| 132 # Latex figure (float) alignment | 132 # Latex figure (float) alignment |
| 133 # | 133 # |
| 134 # 'figure_align': 'htbp', | 134 # 'figure_align': 'htbp', |
| 135 # Use "Version" instead of "Release" on the title | |
| 136 'releasename': 'Version', | |
| 135 } | 137 } |
| 136 | 138 |
| 137 # Grouping the document tree into LaTeX files. List of tuples | 139 # Grouping the document tree into LaTeX files. List of tuples |
| 138 # (source start file, target name, title, | 140 # (source start file, target name, title, |
| 139 # author, documentclass [howto, manual, or own class]). | 141 # author, documentclass [howto, manual, or own class]). |
| 140 latex_documents = [ | 142 latex_documents = [ |
| 141 (master_doc, 'ConfigMix.tex', 'Documentation for the “configmix” Package', | 143 (master_doc, 'ConfigMix.tex', 'Documentation for the “configmix” Package', |
| 142 'Franz Glasner', 'manual', True), | 144 'Franz Glasner', 'manual', True), |
| 143 ] | 145 ] |
| 146 | |
| 147 latex_show_urls = 'footnote' | |
| 148 latex_show_pagerefs = True | |
| 144 | 149 |
| 145 | 150 |
| 146 # -- Options for manual page output ------------------------------------------ | 151 # -- Options for manual page output ------------------------------------------ |
| 147 | 152 |
| 148 # One entry per manual page. List of tuples | 153 # One entry per manual page. List of tuples |
