Changed docs to flatdoc