Add API documentation pre-commit hook.

Array would be better here.

```shell
files_need_description=()
...
  files_need_description+=("${file}")
...
  for file in "${files_need_description[@]}"; do
...
```