Build index even for RST only change

Build the index.html file also when only RST files changed.

Change-Id: I50a59fad6a5ca5deda8c6aad6ad2667f9b16321a
This commit is contained in:
Andreas Jaeger 2015-02-23 15:49:14 +01:00
parent fbef0ea1c1
commit 658f29cc2e

View File

@ -1595,6 +1595,8 @@ def doctest():
# If only RST files are touched, there's nothing to do.
if (not CONF.force and only_rst_touched()):
print("Only RST files changed, nothing to do.\n")
if cfg.CONF.create_index:
generate_index_file()
return
if CONF.check_syntax or CONF.check_niceness or CONF.check_links: