[TASK] Prepare for different types of documentation.

As we can also have the domain model in the doc/ directory, we need
to keep the doc/ directory and .gitignore only doc/api.