Remove newline in url that broke the link in the docs.

Fix syntax error in docs example.

Remove conflict marker remains from previous conflict.

Remove trailing whitespace from source example in docs

Resolve syntax errors in doc sample code.