# Automatically adapt version in files. function new_version_hook { version=$1 replace_version_in_rst doc/main.rst $version }