Move doc to docs. Fix doc compilation warnings.