|  | 
| 15 | 15 | import sys | 
| 16 | 16 | import os | 
| 17 | 17 | import pkg_resources | 
|  | 18 | + | 
| 18 | 19 | sys.path.append(os.path.abspath('../src')) | 
| 19 | 20 | rqmt = pkg_resources.require('zope.testing')[0] | 
| 20 | 21 | # Import and document the pure-python versions of things; they tend to have better | 
|  | 
| 47 | 48 | templates_path = ['_templates'] | 
| 48 | 49 | 
 | 
| 49 | 50 | # The suffix of source filenames. | 
| 50 |  | -source_suffix = '.rst' | 
|  | 51 | +source_suffix = {'.rst': 'restructuredtext'} | 
| 51 | 52 | 
 | 
| 52 | 53 | # The encoding of source files. | 
| 53 | 54 | #source_encoding = 'utf-8-sig' | 
|  | 
| 57 | 58 | 
 | 
| 58 | 59 | # General information about the project. | 
| 59 | 60 | project = 'zope.testing' | 
| 60 |  | -copyright = '2012-2021, Zope Foundation contributors' | 
|  | 61 | +copyright = '2012-2024, Zope Foundation contributors' | 
| 61 | 62 | 
 | 
| 62 | 63 | # The version info for the project you're documenting, acts as replacement for | 
| 63 | 64 | # |version| and |release|, also used in various other places throughout the | 
|  | 
| 102 | 103 | # A list of ignored prefixes for module index sorting. | 
| 103 | 104 | #modindex_common_prefix = [] | 
| 104 | 105 | 
 | 
| 105 |  | - | 
| 106 | 106 | # -- Options for HTML output --------------------------------------------------- | 
| 107 | 107 | 
 | 
| 108 | 108 | # The theme to use for HTML and HTML Help pages.  See the documentation for | 
|  | 
| 182 | 182 | # Output file base name for HTML help builder. | 
| 183 | 183 | htmlhelp_basename = 'zopetestingdoc' | 
| 184 | 184 | 
 | 
| 185 |  | - | 
| 186 | 185 | # -- Options for LaTeX output -------------------------------------------------- | 
| 187 | 186 | 
 | 
| 188 | 187 | latex_elements = { | 
| 189 |  | -# The paper size ('letterpaper' or 'a4paper'). | 
| 190 |  | -#'papersize': 'letterpaper', | 
|  | 188 | +    # The paper size ('letterpaper' or 'a4paper'). | 
|  | 189 | +    #'papersize': 'letterpaper', | 
| 191 | 190 | 
 | 
| 192 |  | -# The font size ('10pt', '11pt' or '12pt'). | 
| 193 |  | -#'pointsize': '10pt', | 
|  | 191 | +    # The font size ('10pt', '11pt' or '12pt'). | 
|  | 192 | +    #'pointsize': '10pt', | 
| 194 | 193 | 
 | 
| 195 |  | -# Additional stuff for the LaTeX preamble. | 
| 196 |  | -#'preamble': '', | 
|  | 194 | +    # Additional stuff for the LaTeX preamble. | 
|  | 195 | +    #'preamble': '', | 
| 197 | 196 | } | 
| 198 | 197 | 
 | 
| 199 | 198 | # pdflatex can't handle Cyrillic out of the box, but xetext/lualatex should be | 
|  | 
| 203 | 202 | # Grouping the document tree into LaTeX files. List of tuples | 
| 204 | 203 | # (source start file, target name, title, author, documentclass [howto/manual]). | 
| 205 | 204 | latex_documents = [ | 
| 206 |  | -  ('index', 'zopetesting.tex', 'zope.testing Documentation', | 
| 207 |  | -   'Zope Foundation contributors', 'manual'), | 
|  | 205 | +    ('index', 'zopetesting.tex', 'zope.testing Documentation', | 
|  | 206 | +     'Zope Foundation contributors', 'manual'), | 
| 208 | 207 | ] | 
| 209 | 208 | 
 | 
| 210 | 209 | # The name of an image file (relative to this directory) to place at the top of | 
|  | 
| 227 | 226 | # If false, no module index is generated. | 
| 228 | 227 | #latex_domain_indices = True | 
| 229 | 228 | 
 | 
| 230 |  | - | 
| 231 | 229 | # -- Options for manual page output -------------------------------------------- | 
| 232 | 230 | 
 | 
| 233 | 231 | # One entry per manual page. List of tuples | 
| 234 | 232 | # (source start file, name, description, authors, manual section). | 
| 235 |  | -man_pages = [ | 
| 236 |  | -    ('index', 'zopetesting', 'zope.testing Documentation', | 
| 237 |  | -     ['Zope Foundation contributors'], 1) | 
| 238 |  | -] | 
|  | 233 | +man_pages = [('index', 'zopetesting', 'zope.testing Documentation', | 
|  | 234 | +              ['Zope Foundation contributors'], 1)] | 
| 239 | 235 | 
 | 
| 240 | 236 | # If true, show URL addresses after external links. | 
| 241 | 237 | #man_show_urls = False | 
| 242 | 238 | 
 | 
| 243 |  | - | 
| 244 | 239 | # -- Options for Texinfo output ------------------------------------------------ | 
| 245 | 240 | 
 | 
| 246 | 241 | # Grouping the document tree into Texinfo files. List of tuples | 
| 247 | 242 | # (source start file, target name, title, author, | 
| 248 | 243 | #  dir menu entry, description, category) | 
| 249 | 244 | texinfo_documents = [ | 
| 250 |  | -  ('index', 'zopetesting', 'zope.testing Documentation', | 
| 251 |  | -   'Zope Foundation contributors', 'zopetesting', 'One line description of project.', | 
| 252 |  | -   'Miscellaneous'), | 
|  | 245 | +    ('index', 'zopetesting', 'zope.testing Documentation', | 
|  | 246 | +     'Zope Foundation contributors', 'zopetesting', | 
|  | 247 | +     'A number of testing frameworks.', 'Miscellaneous'), | 
| 253 | 248 | ] | 
| 254 | 249 | 
 | 
| 255 | 250 | # Documents to append as an appendix to all manuals. | 
|  | 
| 261 | 256 | # How to display URL addresses: 'footnote', 'no', or 'inline'. | 
| 262 | 257 | #texinfo_show_urls = 'footnote' | 
| 263 | 258 | 
 | 
| 264 |  | - | 
| 265 | 259 | # Example configuration for intersphinx: refer to the Python standard library. | 
| 266 | 260 | intersphinx_mapping = { | 
| 267 |  | -    'https://docs.python.org/': None, | 
| 268 |  | -    'https://zopetestbrowser.readthedocs.io/en/latest/': None, | 
|  | 261 | +    'python': ('https://docs.python.org/', None), | 
|  | 262 | +    'zopetestbrowser': | 
|  | 263 | +    ('https://zopetestbrowser.readthedocs.io/en/latest/', None), | 
| 269 | 264 | } | 
| 270 | 265 | 
 | 
| 271 | 266 | # Sphinx 1.8+ prefers this to `autodoc_default_flags`. It's documented that | 
|  | 
0 commit comments