refactoring documentation/custom build