snippets docs