fixed regression in docs-update.py Upstream-commit: 5336f4463030798aca14d6b685068138b298d521 Component: engine