docs(bike-shed-migration): convert guide <doc:...> examples to <example>...

This CL also contains style fixes as the converted scripts caused jshint to
complain.

I've verified the rendered markup and it looks okay, although not having the tab-view like the old
docs pages is a bit unpleasant.