|
18 | 18 | # If extensions (or modules to document with autodoc) are in another directory, |
19 | 19 | # add these directories to sys.path here. If the directory is relative to the |
20 | 20 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
21 | | -#sys.path.insert(0, os.path.abspath('.')) |
22 | | -#sys.path.insert(0, os.path.abspath('../../..')) |
| 21 | +# sys.path.insert(0, os.path.abspath('.')) |
| 22 | +# sys.path.insert(0, os.path.abspath('../../..')) |
23 | 23 |
|
24 | 24 | # abbreviations |
25 | 25 | ab_authors = u'Pavol Juhás, Christopher L. Farrow, Simon J.L. Billinge group' |
26 | 26 |
|
27 | 27 | # -- General configuration ----------------------------------------------------- |
28 | 28 |
|
29 | 29 | # If your documentation needs a minimal Sphinx version, state it here. |
30 | | -#needs_sphinx = '1.0' |
| 30 | +# needs_sphinx = '1.0' |
31 | 31 |
|
32 | 32 | # Add any Sphinx extension module names here, as strings. They can be extensions |
33 | 33 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
|
40 | 40 | source_suffix = '.rst' |
41 | 41 |
|
42 | 42 | # The encoding of source files. |
43 | | -#source_encoding = 'utf-8-sig' |
| 43 | +# source_encoding = 'utf-8-sig' |
44 | 44 |
|
45 | 45 | # The master toctree document. |
46 | 46 | master_doc = 'index' |
|
55 | 55 | sys.path.insert(0, os.path.abspath('../../..')) |
56 | 56 | from setup import versiondata |
57 | 57 | fullversion = versiondata.get('DEFAULT', 'version') |
| 58 | +# sys.path.remove(os.path.abspath('../../..')) |
58 | 59 | # The short X.Y version. |
59 | 60 | version = '.'.join(fullversion.split('.')[:2]) |
60 | 61 | # The full version, including alpha/beta/rc tags. |
61 | 62 | release = fullversion |
62 | 63 |
|
63 | 64 | # The language for content autogenerated by Sphinx. Refer to documentation |
64 | 65 | # for a list of supported languages. |
65 | | -#language = None |
| 66 | +# language = None |
66 | 67 |
|
67 | 68 | # There are two options for replacing |today|: either, you set today to some |
68 | 69 | # non-false value, then it is used: |
69 | | -#today = '' |
| 70 | +# today = '' |
70 | 71 | today_seconds = versiondata.getint('DEFAULT', 'timestamp') |
71 | 72 | today = time.strftime('%B %d, %Y', time.localtime(today_seconds)) |
72 | 73 | year = today.split()[-1] |
73 | 74 | # Else, today_fmt is used as the format for a strftime call. |
74 | | -#today_fmt = '%B %d, %Y' |
| 75 | +# today_fmt = '%B %d, %Y' |
75 | 76 | # substitute YEAR in the copyright string |
76 | 77 | copyright = copyright.replace('%Y', year) |
77 | 78 |
|
|
80 | 81 | exclude_patterns = [] |
81 | 82 |
|
82 | 83 | # The reST default role (used for this markup: `text`) to use for all documents. |
83 | | -#default_role = None |
| 84 | +# default_role = None |
84 | 85 |
|
85 | 86 | # If true, '()' will be appended to :func: etc. cross-reference text. |
86 | | -#add_function_parentheses = True |
| 87 | +# add_function_parentheses = True |
87 | 88 |
|
88 | 89 | # If true, the current module name will be prepended to all description |
89 | 90 | # unit titles (such as .. function::). |
90 | | -#add_module_names = True |
| 91 | +# add_module_names = True |
91 | 92 |
|
92 | 93 | # If true, sectionauthor and moduleauthor directives will be shown in the |
93 | 94 | # output. They are ignored by default. |
94 | | -#show_authors = False |
| 95 | +# show_authors = False |
95 | 96 |
|
96 | 97 | # The name of the Pygments (syntax highlighting) style to use. |
97 | 98 | pygments_style = 'sphinx' |
|
111 | 112 | # Theme options are theme-specific and customize the look and feel of a theme |
112 | 113 | # further. For a list of options available for each theme, see the |
113 | 114 | # documentation. |
114 | | -#html_theme_options = {} |
| 115 | +# html_theme_options = {} |
115 | 116 | html_theme_options = {'collapsiblesidebar' : 'true'} |
116 | 117 |
|
117 | 118 | # Add any paths that contain custom themes here, relative to this directory. |
118 | | -#html_theme_path = [] |
| 119 | +# html_theme_path = [] |
119 | 120 |
|
120 | 121 | # The name for this set of Sphinx documents. If None, it defaults to |
121 | 122 | # "<project> v<release> documentation". |
122 | | -#html_title = None |
| 123 | +# html_title = None |
123 | 124 |
|
124 | 125 | # A shorter title for the navigation bar. Default is the same as html_title. |
125 | | -#html_short_title = None |
| 126 | +# html_short_title = None |
126 | 127 |
|
127 | 128 | # The name of an image file (relative to this directory) to place at the top |
128 | 129 | # of the sidebar. |
129 | | -#html_logo = None |
| 130 | +# html_logo = None |
130 | 131 |
|
131 | 132 | # The name of an image file (within the static path) to use as favicon of the |
132 | 133 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
133 | 134 | # pixels large. |
134 | | -#html_favicon = None |
| 135 | +# html_favicon = None |
135 | 136 |
|
136 | 137 | # Add any paths that contain custom static files (such as style sheets) here, |
137 | 138 | # relative to this directory. They are copied after the builtin static files, |
|
140 | 141 |
|
141 | 142 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
142 | 143 | # using the given strftime format. |
143 | | -#html_last_updated_fmt = '%b %d, %Y' |
| 144 | +# html_last_updated_fmt = '%b %d, %Y' |
144 | 145 |
|
145 | 146 | # If true, SmartyPants will be used to convert quotes and dashes to |
146 | 147 | # typographically correct entities. |
147 | | -#html_use_smartypants = True |
| 148 | +# html_use_smartypants = True |
148 | 149 |
|
149 | 150 | # Custom sidebar templates, maps document names to template names. |
150 | | -#html_sidebars = {} |
| 151 | +# html_sidebars = {} |
151 | 152 |
|
152 | 153 | # Additional templates that should be rendered to pages, maps page names to |
153 | 154 | # template names. |
154 | | -#html_additional_pages = {} |
| 155 | +# html_additional_pages = {} |
155 | 156 |
|
156 | 157 | # If false, no module index is generated. |
157 | | -#html_domain_indices = True |
| 158 | +# html_domain_indices = True |
158 | 159 |
|
159 | 160 | # If false, no index is generated. |
160 | | -#html_use_index = True |
| 161 | +# html_use_index = True |
161 | 162 |
|
162 | 163 | # If true, the index is split into individual pages for each letter. |
163 | | -#html_split_index = False |
| 164 | +# html_split_index = False |
164 | 165 |
|
165 | 166 | # If true, links to the reST sources are added to the pages. |
166 | | -#html_show_sourcelink = True |
| 167 | +# html_show_sourcelink = True |
167 | 168 |
|
168 | 169 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
169 | | -#html_show_sphinx = True |
| 170 | +# html_show_sphinx = True |
170 | 171 |
|
171 | 172 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
172 | | -#html_show_copyright = True |
| 173 | +# html_show_copyright = True |
173 | 174 |
|
174 | 175 | # If true, an OpenSearch description file will be output, and all pages will |
175 | 176 | # contain a <link> tag referring to it. The value of this option must be the |
176 | 177 | # base URL from which the finished HTML is served. |
177 | | -#html_use_opensearch = '' |
| 178 | +# html_use_opensearch = '' |
178 | 179 |
|
179 | 180 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
180 | | -#html_file_suffix = None |
| 181 | +# html_file_suffix = None |
181 | 182 |
|
182 | 183 | # Output file base name for HTML help builder. |
183 | 184 | htmlhelp_basename = 'SrRealdoc' |
|
187 | 188 |
|
188 | 189 | latex_elements = { |
189 | 190 | # The paper size ('letterpaper' or 'a4paper'). |
190 | | -#'papersize': 'letterpaper', |
| 191 | +# 'papersize': 'letterpaper', |
191 | 192 |
|
192 | 193 | # The font size ('10pt', '11pt' or '12pt'). |
193 | | -#'pointsize': '10pt', |
| 194 | +# 'pointsize': '10pt', |
194 | 195 |
|
195 | 196 | # Additional stuff for the LaTeX preamble. |
196 | | -#'preamble': '', |
| 197 | +# 'preamble': '', |
197 | 198 | } |
198 | 199 |
|
199 | 200 | # Grouping the document tree into LaTeX files. List of tuples |
|
205 | 206 |
|
206 | 207 | # The name of an image file (relative to this directory) to place at the top of |
207 | 208 | # the title page. |
208 | | -#latex_logo = None |
| 209 | +# latex_logo = None |
209 | 210 |
|
210 | 211 | # For "manual" documents, if this is true, then toplevel headings are parts, |
211 | 212 | # not chapters. |
212 | | -#latex_use_parts = False |
| 213 | +# latex_use_parts = False |
213 | 214 |
|
214 | 215 | # If true, show page references after internal links. |
215 | | -#latex_show_pagerefs = False |
| 216 | +# latex_show_pagerefs = False |
216 | 217 |
|
217 | 218 | # If true, show URL addresses after external links. |
218 | | -#latex_show_urls = False |
| 219 | +# latex_show_urls = False |
219 | 220 |
|
220 | 221 | # Documents to append as an appendix to all manuals. |
221 | | -#latex_appendices = [] |
| 222 | +# latex_appendices = [] |
222 | 223 |
|
223 | 224 | # If false, no module index is generated. |
224 | | -#latex_domain_indices = True |
| 225 | +# latex_domain_indices = True |
225 | 226 |
|
226 | 227 |
|
227 | 228 | # -- Options for manual page output -------------------------------------------- |
|
234 | 235 | ] |
235 | 236 |
|
236 | 237 | # If true, show URL addresses after external links. |
237 | | -#man_show_urls = False |
| 238 | +# man_show_urls = False |
238 | 239 |
|
239 | 240 |
|
240 | 241 | # -- Options for Texinfo output ------------------------------------------------ |
|
249 | 250 | ] |
250 | 251 |
|
251 | 252 | # Documents to append as an appendix to all manuals. |
252 | | -#texinfo_appendices = [] |
| 253 | +# texinfo_appendices = [] |
253 | 254 |
|
254 | 255 | # If false, no module index is generated. |
255 | | -#texinfo_domain_indices = True |
| 256 | +# texinfo_domain_indices = True |
256 | 257 |
|
257 | 258 | # How to display URL addresses: 'footnote', 'no', or 'inline'. |
258 | | -#texinfo_show_urls = 'footnote' |
| 259 | +# texinfo_show_urls = 'footnote' |
259 | 260 |
|
260 | 261 |
|
261 | 262 | # Example configuration for intersphinx: refer to the Python standard library. |
|
0 commit comments