mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Reuse master_doc string replacement
This commit is contained in:
parent
c87db7ff83
commit
7c7244979b
@ -287,7 +287,7 @@ latex_elements = {
|
|||||||
# (source start file, target name, title,
|
# (source start file, target name, title,
|
||||||
# author, documentclass [howto, manual, or own class]).
|
# author, documentclass [howto, manual, or own class]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('%(master_str)s', '%(project_fn)s.tex', u'%(project_doc_texescaped_str)s',
|
(master_doc, '%(project_fn)s.tex', u'%(project_doc_texescaped_str)s',
|
||||||
u'%(author_texescaped_str)s', 'manual'),
|
u'%(author_texescaped_str)s', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -317,7 +317,7 @@ latex_documents = [
|
|||||||
# One entry per manual page. List of tuples
|
# One entry per manual page. List of tuples
|
||||||
# (source start file, name, description, authors, manual section).
|
# (source start file, name, description, authors, manual section).
|
||||||
man_pages = [
|
man_pages = [
|
||||||
('%(master_str)s', '%(project_manpage)s', u'%(project_doc_str)s',
|
(master_doc, '%(project_manpage)s', u'%(project_doc_str)s',
|
||||||
[author], 1)
|
[author], 1)
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -331,7 +331,7 @@ man_pages = [
|
|||||||
# (source start file, target name, title, author,
|
# (source start file, target name, title, author,
|
||||||
# dir menu entry, description, category)
|
# dir menu entry, description, category)
|
||||||
texinfo_documents = [
|
texinfo_documents = [
|
||||||
('%(master_str)s', '%(project_fn)s', u'%(project_doc_str)s',
|
(master_doc, '%(project_fn)s', u'%(project_doc_str)s',
|
||||||
author, '%(project_fn)s', 'One line description of project.',
|
author, '%(project_fn)s', 'One line description of project.',
|
||||||
'Miscellaneous'),
|
'Miscellaneous'),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user