Extract samples from source code to use documentation.