Changed pipeline doc to use code snippets.