Enable pre-commit in docs-as-code repository. We currently often fail to do 'formatting' or 'testing' before pushes. This is why it was agreed to add pre-commit as a tool to elevate these issues