From a34cb429ccc9fcb7ee48c5c048f5c338ce09256e Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 21 Apr 2008 16:14:16 +0000 Subject: [PATCH] Create a sensible default latex_documents setting. --- CHANGES | 2 ++ sphinx/quickstart.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 49cd9a79a..5c742a73b 100644 --- a/CHANGES +++ b/CHANGES @@ -78,6 +78,8 @@ Bugs fixed * sphinx.environment: Don't swallow TOC entries when resolving subtrees. +* sphinx.quickstart: Create a sensible default latex_documents setting. + * sphinx.builder, sphinx.environment: Gracefully handle some user error cases. diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index 7e07cde53..f160aeeef 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -141,7 +141,9 @@ htmlhelp_basename = '%(project)sdoc' # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, document class [howto/manual]). -#latex_documents = [] +latex_documents = [ + ('%(master)s', '%(project)s.tex', '%(project)s Documentation', '%(author)s', 'manual'), +] # Additional stuff for the LaTeX preamble. #latex_preamble = ''