From 77b1d713a8d7b21ed6ad0f0a3d9f13a391b0a605 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sat, 9 Feb 2019 01:13:35 +0900 Subject: [PATCH] quickstart: Simplify generated conf.py (language) --- sphinx/templates/quickstart/conf.py_t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sphinx/templates/quickstart/conf.py_t b/sphinx/templates/quickstart/conf.py_t index 98af7febc8d..0a535a5b994 100644 --- a/sphinx/templates/quickstart/conf.py_t +++ b/sphinx/templates/quickstart/conf.py_t @@ -61,6 +61,7 @@ source_suffix = {{ suffix | repr }} master_doc = {{ master | repr }} {% endif -%} +{% if language -%} # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # @@ -68,6 +69,7 @@ master_doc = {{ master | repr }} # Usually you set "language" from the command line for these cases. language = {{ language | repr }} +{% endif -%} # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path.