Moved documentation config and build rules to `doc`.