mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #5127: quickstart: `Makefile
and
make.bat
` are not overwritten if exists
This commit is contained in:
parent
c6e0d92d10
commit
bd7c28f471
1
CHANGES
1
CHANGES
@ -9,6 +9,7 @@ Incompatible changes
|
||||
|
||||
* #5282: html theme: refer ``pygments_style`` settings of HTML themes
|
||||
preferentially
|
||||
* #5127: quickstart: ``Makefile`` and ``make.bat`` are not overwritten if exists
|
||||
|
||||
Deprecated
|
||||
----------
|
||||
|
@ -678,7 +678,7 @@ def main(argv=sys.argv[1:]):
|
||||
except ValueError:
|
||||
print(__('Invalid template variable: %s') % variable)
|
||||
|
||||
generate(d, templatedir=args.templatedir)
|
||||
generate(d, overwrite=False, templatedir=args.templatedir)
|
||||
return 0
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user