migrate docs from cortexjs/cortex