This reverts commit 6a3ea7eb83e2deba46667ca416b9b07141795966.
This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.