Feature/add yard doc support

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