|
88 | 88 | master_doc = 'index' |
89 | 89 |
|
90 | 90 | # General information about the project. |
91 | | -project = u"PSyclone Developer Guide" |
92 | | -copyright = u'2017-2023, STFC Daresbury Laboratory' |
| 91 | +project = "PSyclone Developer Guide" |
| 92 | +project_copyright = '2017-2024, STFC Daresbury Laboratory' |
93 | 93 |
|
94 | 94 | # The version info for the project you're documenting, acts as replacement for |
95 | 95 | # |version| and |release|, also used in various other places throughout the |
96 | 96 | # built documents. |
97 | 97 | # |
98 | 98 | # We use the version module in src/psyclone. However, rather than importing |
99 | 99 | # it (which would require that PSyclone be installed first), we read it |
100 | | -# using execfile(). |
| 100 | +# using exec(). |
101 | 101 | # 'version' is the short X.Y version and 'release' is the full version, |
102 | 102 | # including any alpha/beta/rc tags. |
103 | 103 | # We are in the doc/developer_guide directory but need to read version.py from |
104 | 104 | # src/psyclone |
105 | 105 | BASE_PATH = os.path.dirname(os.path.abspath(__file__)) |
106 | 106 | BASE_PATH = os.path.dirname(os.path.dirname(BASE_PATH)) |
107 | | -with open(os.path.join(BASE_PATH, "src", "psyclone", "version.py")) as f: |
| 107 | +with open(os.path.join(BASE_PATH, "src", "psyclone", "version.py"), |
| 108 | + encoding="utf-8") as f: |
| 109 | + # pylint: disable-next=exec-used |
108 | 110 | exec(f.read()) |
| 111 | +# pylint: disable=undefined-variable |
109 | 112 | version = __SHORT_VERSION__ |
110 | 113 | release = __VERSION__ |
| 114 | +# pylint: enable=undefined-variable |
111 | 115 |
|
112 | 116 | # The language for content autogenerated by Sphinx. Refer to documentation |
113 | 117 | # for a list of supported languages. |
|
246 | 250 | # (source start file, target name, title, author, |
247 | 251 | # documentclass [howto/manual]). |
248 | 252 | latex_documents = [ |
249 | | - ('index', 'psyclone-dev.tex', u"PSyclone Developer Guide", |
250 | | - u'Oakley Brunt, Rupert Ford, Joerg Henrichs, Iva Kavcic, \\\\' |
| 253 | + ('index', 'psyclone-dev.tex', "PSyclone Developer Guide", |
| 254 | + 'Oakley Brunt, Rupert Ford, Joerg Henrichs, Iva Kavcic, \\\\' |
251 | 255 | 'Andrew Porter, Sergi Siso and Lottie Turner', 'manual'), |
252 | 256 | ] |
253 | 257 |
|
|
277 | 281 | # One entry per manual page. List of tuples |
278 | 282 | # (source start file, name, description, authors, manual section). |
279 | 283 | man_pages = [ |
280 | | - ('index', 'psyclone-dev', u"PSyclone Developer Guide", |
281 | | - [u'Oakley Brunt, Rupert Ford, Joerg Henrichs, Iva Kavcic, Andrew Porter, ' |
| 284 | + ('index', 'psyclone-dev', "PSyclone Developer Guide", |
| 285 | + ['Oakley Brunt, Rupert Ford, Joerg Henrichs, Iva Kavcic, Andrew Porter, ' |
282 | 286 | 'Sergi Siso and Lottie Turner'], 1) |
283 | 287 | ] |
284 | 288 |
|
|
292 | 296 | # (source start file, target name, title, author, |
293 | 297 | # dir menu entry, description, category) |
294 | 298 | texinfo_documents = [ |
295 | | - ('index', 'psyclone-dev', u"PSyclone Developer Guide", |
296 | | - [u'Oakley Brunt, Rupert Ford, Joerg Henrichs, Iva Kavcic, Andrew Porter, ' |
| 299 | + ('index', 'psyclone-dev', "PSyclone Developer Guide", |
| 300 | + ['Oakley Brunt, Rupert Ford, Joerg Henrichs, Iva Kavcic, Andrew Porter, ' |
297 | 301 | 'Sergi Siso and Lottie Turner'], 'psyclone', |
298 | 302 | 'A domain-specific compiler for Finite-Element/Volume/Difference models.', |
299 | 303 | 'Miscellaneous'), |
|
312 | 316 | # -- Options for Epub output ------------------------------------------------- |
313 | 317 |
|
314 | 318 | # Bibliographic Dublin Core info. |
315 | | -epub_title = u"PSyclone Developer Guide" |
316 | | -epub_author = u'Oakley Brunt, Rupert Ford, Joerg Henrichs, Iva Kavcic, ' \ |
| 319 | +epub_title = "PSyclone Developer Guide" |
| 320 | +epub_author = 'Oakley Brunt, Rupert Ford, Joerg Henrichs, Iva Kavcic, ' \ |
317 | 321 | 'Andrew Porter, Sergi Siso and Lottie Turner' |
318 | | -epub_publisher = u'Oakley Brunt, Rupert Ford, Joerg Henrichs, Iva Kavcic, ' \ |
| 322 | +epub_publisher = 'Oakley Brunt, Rupert Ford, Joerg Henrichs, Iva Kavcic, ' \ |
319 | 323 | 'Andrew Porter, Sergi Siso and Lottie Turner' |
320 | | -epub_copyright = copyright |
| 324 | +epub_copyright = project_copyright |
321 | 325 |
|
322 | 326 | # The language of the text. It defaults to the language option |
323 | 327 | # or en if the language is not set. |
|
0 commit comments