def commit_docs(*, added, removed):
TRAVIS_BUILD_NUMBER = os.environ.get("<STR_LIT>", "<STR_LIT>")<EOL>TRAVIS_BRANCH = os.environ.get("<STR_LIT>", "<STR_LIT>")<EOL>TRAVIS_COMMIT = os.environ.get("<STR_LIT>", "<STR_LIT>")<EOL>TRAVIS_REPO_SLUG = os.environ.get("<STR_LIT>", "<STR_LIT>")<EOL>TRAVIS_JOB_WEB_URL = os.environ.get("<STR_LIT>", "<STR_LIT>")<EOL>TRAVIS_TAG = os.environ.get("<STR_LIT>", "<STR_LIT>")<EOL>branch = "<STR_LIT>" if TRAVIS_TAG else "<STR_LIT>"<EOL>DOCTR_COMMAND = '<STR_LIT:U+0020>'.join(map(shlex.quote, sys.argv))<EOL>if added:<EOL><INDENT>run(['<STR_LIT>', '<STR_LIT>', *added])<EOL><DEDENT>if removed:<EOL><INDENT>run(['<STR_LIT>', '<STR_LIT>', *removed])<EOL><DEDENT>commit_message =
Commit the docs to the current branch

Assumes that :func:`setup_GitHub_push`, which sets up the ``doctr_remote``
remote, has been run.

Returns True if changes were committed and False if no changes were
committed.