Feature/add yard doc support

## motivation

We want users to be able to build the documentation locally.

## todo

- [ ] @krukow needs review