begin porting docs from jinja
port docs to markdown
fix markup bug