Update docs pages.

* Copy code documentation to docs pages
* Add a few undocumented options
* Configure `<code>` tag to display better

@Dylnuge @bigsley
Yep, this has come up before and we definitely want to rename it. I've added a `TODO(new-api)` to the code comment.