diff options
author | Ian Lee <IanLee1521@gmail.com> | 2015-02-07 00:44:01 -0800 |
---|---|---|
committer | Ian Lee <IanLee1521@gmail.com> | 2015-02-07 00:44:01 -0800 |
commit | 7c7244979bdf8c0757fb4b1a0e81fbd55e8bcc89 (patch) | |
tree | e389db422a9d9aab6ec76272e3919c159efb9db0 /sphinx/quickstart.py | |
parent | c87db7ff8332da722151334228587140cedbce22 (diff) | |
download | sphinx-git-7c7244979bdf8c0757fb4b1a0e81fbd55e8bcc89.tar.gz |
Reuse master_doc string replacement
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r-- | sphinx/quickstart.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index e2678388d..a365b8fd5 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -287,7 +287,7 @@ latex_elements = { # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). 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'), ] @@ -317,7 +317,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). 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) ] @@ -331,7 +331,7 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) 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.', 'Miscellaneous'), ] |