final edits to make the docs leanpub compatible