|
73 | 73 | # General substitutions. |
74 | 74 | project = 'Python' |
75 | 75 | copyright = "2001 Python Software Foundation" |
| 76 | +doc_authors = 'Python documentation authors' |
76 | 77 |
|
77 | 78 | # We look for the Include/patchlevel.h file in the current Python source tree |
78 | 79 | # and replace the values accordingly. |
|
361 | 362 |
|
362 | 363 | # Grouping the document tree into LaTeX files. List of tuples |
363 | 364 | # (source start file, target name, title, author, document class [howto/manual]). |
364 | | -_stdauthor = 'The Python development team' |
365 | 365 | latex_documents = [ |
366 | | - ('c-api/index', 'c-api.tex', 'The Python/C API', _stdauthor, 'manual'), |
| 366 | + ('c-api/index', 'c-api.tex', 'The Python/C API', doc_authors, 'manual'), |
367 | 367 | ( |
368 | 368 | 'extending/index', |
369 | 369 | 'extending.tex', |
370 | 370 | 'Extending and Embedding Python', |
371 | | - _stdauthor, |
| 371 | + doc_authors, |
372 | 372 | 'manual', |
373 | 373 | ), |
374 | 374 | ( |
375 | 375 | 'installing/index', |
376 | 376 | 'installing.tex', |
377 | 377 | 'Installing Python Modules', |
378 | | - _stdauthor, |
| 378 | + doc_authors, |
379 | 379 | 'manual', |
380 | 380 | ), |
381 | 381 | ( |
382 | 382 | 'library/index', |
383 | 383 | 'library.tex', |
384 | 384 | 'The Python Library Reference', |
385 | | - _stdauthor, |
| 385 | + doc_authors, |
386 | 386 | 'manual', |
387 | 387 | ), |
388 | 388 | ( |
389 | 389 | 'reference/index', |
390 | 390 | 'reference.tex', |
391 | 391 | 'The Python Language Reference', |
392 | | - _stdauthor, |
| 392 | + doc_authors, |
393 | 393 | 'manual', |
394 | 394 | ), |
395 | 395 | ( |
396 | 396 | 'tutorial/index', |
397 | 397 | 'tutorial.tex', |
398 | 398 | 'Python Tutorial', |
399 | | - _stdauthor, |
| 399 | + doc_authors, |
400 | 400 | 'manual', |
401 | 401 | ), |
402 | 402 | ( |
403 | 403 | 'using/index', |
404 | 404 | 'using.tex', |
405 | 405 | 'Python Setup and Usage', |
406 | | - _stdauthor, |
| 406 | + doc_authors, |
407 | 407 | 'manual', |
408 | 408 | ), |
409 | 409 | ( |
410 | 410 | 'faq/index', |
411 | 411 | 'faq.tex', |
412 | 412 | 'Python Frequently Asked Questions', |
413 | | - _stdauthor, |
| 413 | + doc_authors, |
414 | 414 | 'manual', |
415 | 415 | ), |
416 | 416 | ( |
417 | 417 | 'whatsnew/' + version, |
418 | 418 | 'whatsnew.tex', |
419 | 419 | 'What\'s New in Python', |
420 | | - 'A. M. Kuchling', |
| 420 | + doc_authors, |
421 | 421 | 'howto', |
422 | 422 | ), |
423 | 423 | ] |
424 | 424 | # Collect all HOWTOs individually |
425 | 425 | latex_documents.extend( |
426 | | - ('howto/' + fn[:-4], 'howto-' + fn[:-4] + '.tex', '', _stdauthor, 'howto') |
| 426 | + ('howto/' + fn[:-4], 'howto-' + fn[:-4] + '.tex', '', doc_authors, 'howto') |
427 | 427 | for fn in os.listdir('howto') |
428 | 428 | if fn.endswith('.rst') and fn != 'index.rst' |
429 | 429 | ) |
|
435 | 435 | # ----------------------- |
436 | 436 |
|
437 | 437 | epub_author = 'Python Documentation Authors' |
438 | | -epub_publisher = 'Python Software Foundation' |
| 438 | +epub_publisher = doc_authors |
439 | 439 | epub_exclude_files = ( |
440 | 440 | 'index.xhtml', |
441 | 441 | 'download.xhtml', |
|
0 commit comments