Add code examples to the DetailButton API reference